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

This widget could not be displayed.

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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

47 views 0 1
Join discussion

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