This includes:
- Pre-requisites for Connectivity Agent
- Download Connectivity Agent
- Install Connectivity Agent
- Start/Stop Connectivity Agent.
- Log files of Connectivity Agent
Pre-requisites for Connectivity Agent:
Download Connectivity Agent:
Step 1:
Go to the OIC Agents ⇾ Create Agent group ⇾ Provide Agent Group Name ⇾ create
Step2:
Next click the Download button ⇾ Connectivity agent and it will download oic_connectivity-agent.zip
Connectivity Agent Installation:
Here showing the installation in Linux system.
Step1: Java jdk 8 version should be installed.
export JAVA_HOME=/home/opc/java/jdk1.8.0_251
export path=$JAVA_HOME/bin:$PATH
java -version
java version "1.8.0_251"
Java (TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot (TM) 64-bit Server VM (build 25.251-b08, mixed mode)
Step2: unzip zip file
unzip oic_connectivity_agent.zip
ls -ltr
InstallerProfile.cfg
cpi_upgradeutility.jar
coonectivityagent.jar
agenthome
Step3: Provide OIC url and agent group name in InstallerProfile.cfg
vi InstallerProfile.cfg
Put the following details:
oic_URL:https://host:port
agent_Group_Identifier: AGENT_GROUP
Step4:
java -jar connectivityagent.jar
proceeding to install a new agent
Enter your OIC username:
Enter password for user:
...
Done with Agent installation & Configurations... Starting Agent for message processing.
Agent started successfully...Now available for new message.
Now go to the OIC agents and see 1 connectivity agent is created under Agent_GROUP. If you go to the Monitoring agents, you will see the agent is active in green.
No go the linux page and ctrl +c to shutdown it. and you will see the agent in red monitoring agent.
To run the connectivity in background.
nohup java -jar connectivityagent.jar &
and also add the oic_user and oic_password in the InstallerProfile.cfg file.
oic_user=oicuser
oic password=welcome
Start/Stop Connectivity Agent:
Start:
nohup java -jar connectivityagent.jar &
Stop:
Go to agenthome
cat pid
5160
kill -9 5160
Log files of Connectivity Agent:
cd agenthome/logs
ls -ltr
No comments:
Post a Comment