Step 1: Log into Applicare console, navigate to the Download Agents screen, and download the JBoss Package. Then, transfer the agent_JBoss.zip file to the machine where agent will be deployed.
Step 2: Create the ApplicareJBoss directory, copy the agent_JBoss.zip file into it, and then Unzip the file within the ApplicareJBoss directory.
After extraction is complete, grant execute permissions by running the following command from the parent directory of ApplicareSingleAgent. For instance, if ApplicareSingleAgent was extracted to /home/ApplicareSingleAgent, you would execute the command from that directory.
chmod -R 777 /home/ApplicareSingleAgent
Step 3: Navigate to the <ApplicareSingleAgentHomePath>\agent\JBoss directory, copy the applicare_agent.war file, and paste it into the <JBoss_home_path>\standalone\deployments directory.
If JBoss is started using the standalone.conf.sh file, Proceed to Step 4.
Step 4: Navigate to <JBoss_home_path>\bin directory and add the following line to the standalone.conf file.
export SERVER_NAME=ServerName
. /<ApplicareSingleAgentHomePath>/scripts/setJBossAgentEnv.sh
Replace ServerName with the desired name for the agent. This name will be used to register agent with the controller.
Replace ApplicareSingleAgentHomePath with the actual ApplicareSingleAgent Home directory.
e.g.
Comments
0 comments
Article is closed for comments.