Multiple instances of remote agent possible on one server

Hello,

Is it possible to run more than one instance of a remote agent on one server?

The scenario is the following: we have a tool which is licensed to one machine but would be useful for multiple Bamboo servers across different projects. One idea would be to run the tool on that machine and link multiple Bamboo servers through remote agents on that machine. Different solution: link Bamboo servers, yet another solution: link multiple servers to one instance of remote agent.

 

Is any of the above solutions/ideas feasible? If yes, is it documented somewhere?

Open questions if possible: is the same version needed everywhere?

 

Thanks,

Rene

2 answers

1 accepted

3 votes

Yes, you can run as many agents as you want (I've ran a full 100 on a single machine once), but you need to specify a separate home directory for each agent via the bamboo-home property.

java -jar -Dbamboo.home=/home/bamboo/agent-1 atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar http://bamboo-server:8085/bamboo/agentServer

 java -jar -Dbamboo.home=/home/bamboo/agent-2 atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar http://bamboo-server:8085/bamboo/agentServer

Hello, 

Yes it's possible to run multiple instances you can just make another folder and install the client there.

 Bamboo Remote agents get automatically updated.

You can run for multiple bamboo servers an agent also in one server if necessary. But in this case you would probably be breaking the License agreement as it says you should just use one license per system. 

In general this is how you would do it in linux for example:

sudo su - bamboo

cp  atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar agent-1

cp  atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar agent-2

cd agent-1

java -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar http://bamboo-host-server:8085/bamboo/agentServer/

cd ../agent-2

java -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar http://bamboo-host-server:8085/bamboo/agentServer/

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,077 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot