Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Multiple instances of remote agent possible on one server

Rene Wittmann March 8, 2016

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

6 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 8, 2016

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

0 votes
Kalle Sirkesalo March 8, 2016

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/

Siddharth Rai March 25, 2019

That's a good information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events