Install second Bamboo Remote Agent Windows Service

Is there a way to have 2 remote agents on a single pc as Window services?

1 answer

1 accepted

2 votes
Accepted answer

Hi John. Yes you can have multiple agents running as Windows Services on the same Windows PC. I have 5or 6 running on one just fine, but make sure you do not overload too many agents on one machine unless it has good hardware. I typically say 1 agent per CPU core, excluding 1 core for Windows itself.

In general the best practices I've found for installing multiple agents include the following from my own personal notes :

When installing the agents, ensure you use the command line switch -Dbamboo.home=DIR where DIR is the unique directory where you are installing the individual agents.

Additionally, if you are installing multiple agents as Windows Services you need to edit the names or the services after installing each service.

The agent configuration is mostly contained in the file <bamboo.home>/conf/wrapper.conf

In the wrapper.conf file the very bottom defines the names of the NT services that were installed.

If you have 1 windows agent installed, use the BAT files that are part of the agent to UNINSTALL the agent service, then edit the fields "wrapper.ntservice.name" and "wrapper.ntservice.displayname" to use numbers for example :

Change :

# Name of the service
wrapper.ntservice.name=bamboo

# Display name of the service
wrapper.ntservice.displayname=Bamboo

To Something like this :

# Name of the service
wrapper.ntservice.name=bambooagent01

# Display name of the service
wrapper.ntservice.displayname=Bamboo Agent 01

Then save and use the BAT file to reinstall as a service. Then follow the standard installation steps for installing a second windows agent and repeat the steps above to then uninstall the agent, rename the NT service parameters, and REINSTALL the second service (and 3rd and 4th, etc.)

Wow that was quick. Thanks Adam I will try this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

60 views 4 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you