Install multiple agents on the same machine
In order to fully utilize your hardware, it is often useful to install multiple agents on a single machine
Windows
On Windows, multiple Go agents can be run in two ways - as Windows service or as a Windows command
Running as Windows service
- Install your first agent with the installer to the default location
- Copy the installation folder ("C:\Program Files\Go Agent") to "C:\Program Files\Go Agent 2"
- Delete the file C:\Program Files\Go Agent 2\config\guid.txt
- Delete the file C:\Program Files\Go Agent 2\.agent-bootstrapper.running
- Run the following command
sc create GoAgent2 binPath= "\"C:\Program Files\Go Agent2\cruisewrapper.exe\" -s \"C:\Program Files\Go Agent2\config\wrapper-agent.conf\""
- Start "GoAgent2" service
Running as Windows command
- Follow the instructions to run Go without installation on Windows
- Do the same steps on a different folder to set up another agent
You should use a VNC application (such as TightVNC) to keep windows user logged in. If the user logs out or the computer restarts, the agents will shutdown.
Mac OSX
- Install your first agent with the installer
- Run Terminal.app
- Make an empty folder called go-agent-2
- In this folder, run
java -jar "/Applications/Go Agent.app/agent-bootstrapper.jar" 127.0.0.1 &
Linux (and other UNIX)
- Install your first agent with the installer
- Make an empty folder called /var/lib/go-agent-2
- In this folder, run
java -jar /usr/share/go-agent/agent-bootstrapper.jar 127.0.0.1 &