Reported problem: The problem with running the bootstrapper.jar from the agent directory is that when doing a grep on the java processes running on the machine is that you get no information regarding where each agent is running from so if you need to kill one for any reason you are never sure of which process to kill.
Solution:
1. Start the GO agent using the command:
java -DTHIS_AGENT=go-agent02 -jar /usr/share/go-agent/agent-bootstrapper.jar 127.0.0.1 &
2. Create a sym link like "ln -sf agent-bootstrapper.jar agent-bootstrapper01.jar" and then start the agent with the command:
java -jar /usr/share/go-agent/agent-bootstrapper01.jar -DTHIS_AGENT=go_agent01 127.0.0..1 &
Upon grep for the process you will notice the following output:
26661 pts/4 Sl 0:00 java -jar /usr/share/go-agent/agent-bootstrapper01.jar 127.0.0.1
Comments
1 comment
can you updated this for windows users as well?
Please sign in to leave a comment.