January 3, 2020

OIC Connectivity Agent Installation Steps


Knowledge :  πŸ‘€ 

Basics About OIC Connectivity Agent ?: 

The on-premises connectivity agent enables you to create integrations and exchange messages between on-premises applications and Oracle Integration Cloud Service. 
For example, sending requests from a cloud application to a on-premise database.

One case scenario describe through below diagram :


Example

OIC Connectivity Agent High-Level Installation Steps :

  1. Create an Agent Group in the OIC Console
  2. Download the Connectivity Agent zip file from the OIC Console
  3. Unzip the contents of the zip file on the on-premise agent machine
  4. Update the InstallerProfile.cfg with the details of the OIC environment and on-premise network
  5. Run the agent using java -jar connectivityagent.jar




Lets see the steps in detail :

STEP 1 : 
Login to your OIC instance and navigate to Agent by clicking on Integrations and then click Agents.





STEP 2 : Click Create Agent Group


 Enter below details and click Ok.

*Agent Group Name : write 'Test_Agent' (you can give any other meaningful name)
 Description : write meaningful description.

Note : Save the Identifier name as highlighted in above screenshot. We need this later in this blog.


STEP 3 : Agent group creation is completed.




STEP 4 : Download the Connectivity_Agent and save it on desktop of your system.


STEP 5 :Unzip the downloaded file & open InstallerProfile.cfg

Enter the below details :

oic_URL = enter your OIC instance URL in format of https://hostname:sslport 
                      (as shown in below image )

agent_GROUP_IDENTIFIER= enter the agent group identifier name which we have saved above  
(For my agent group it is TEST_AGENT)


  • Save the file and close it

STEP 7 :Set the JAVA_HOME property to the location of the JDK installation and PATH property.You can easily find on Internet the steps to set JAVA_HOME.


STEP 8 : 

  • Open CMD and open the directory where  connectivityagent.jar file is present.
  • Now run the connectivityagent.jar file by entering below command java -jar connectivityagent.jar and then press enter

  • Enter OIC username & Password and then press enter

 [*Note: Make sure your system is connected with open network(not 
    behind any firewall, you can use mobile data).

   You must have to provide proxy details of network inside

   InstallerProfile.cfg if you want agent to work inside company 
   network(behind firewall ]

  • Agent configuration is completed and your agent is UP and Running and ready to use.
           
Note : You can cross check Agent status in OIC instance by navigating to Monitoring tab and then click to Agents.



Access the next blog to develop  integration using the Agent .....


#Some Important Points about OIC Connectivity Agent :
  • Only one connectivity agent can be associated with an agent group. For a single Oracle Integration instance, you can create up to five agent groups

  • Restart the Agent  
 You can restart the on-premises connectivity agent if required by running the command java –jar connectivityagent.jar 

  • Stop the agent in either of the following ways:
  1. Enter ctrl+c on the host on which the agent is running. 
  2. Search for the connectivity agent process and kill it
Note:-
When you shut down the agent server, several minutes pass before the agent is displayed as down on the Agent Monitoring page (as indicated by a red thunderbolt)
Access the next blog to create integration using this Agent ...

No comments:

If you have any doubts, Please let me know.