In this exercise you will perform the following actions:
Use the command below to change to the directrory where the script is located.
cd /opt/appdynamics/lab-artifacts/machineagent/
Use the command below to run the install script.
./install_machineagent.sh
You should see output similar to the following image.
Obtain the configuration property values listed below from the Java Agents “controller-info.xml” file as described in the Java Agent Configuration File section and have them available for the next step.
Now you will need to navigate to the “controller-info.xml” file of the Server Agent by using the commands below.
cd /opt/appdynamics/machineagent/conf
ls -l
You should see output similar to the following image.
Edit the “controller-info.xml” file of the Server Agent and insert the values for the properties you obtained from the Java Agent configuration file, listed below.
You will need to set the “sim-enabled” property to true and then save the file which should look similar to the image below.
Use the following commands to start the Server Visibility agent and verify that it started.
cd /opt/appdynamics/machineagent/bin
nohup ./machine-agent &
ps -ef | grep machine
You should see output similar to the following image.
We’ll monitor the health of the server.