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
On Windows
- Install your first agent with the installer
- Disable the 'Cruise Agent' service
- Click on Start -> Control Panel -> Administrative Tools -> Services
- Double click on 'Cruise Agent'
- Change the Startup type to 'Disabled'
- Copy the "C:\Program Files\Cruise Agent" folder to "C:\Program Files\Cruise Agent 2"
- Delete the file C:\Program Files\Cruise Agent 2\config\guid.txt
- Delete the file C:\Program Files\Cruise Agent 2\.agent-bootstrapper.running
- Run both "C:\Program Files\Cruise Agent\agent.cmd" and "C:\Program Files\Cruise Agent 2\agent.cmd"
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.
On Mac OSX
- Install your first agent with the installer
- Run Terminal.app
- Make an empty folder called cruise-agent-2
- In this folder, run
java -jar "/Applications/Cruise Agent.app/agent-bootstrapper.jar" 127.0.0.1 &
On Linux (and other UNIX)
- Install your first agent with the installer
- Make an empty folder called /var/lib/cruise-agent-2
- In this folder, run
java -jar /usr/share/cruise-agent/agent-bootstrapper.jar 127.0.0.1 &