Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

6 votes
Answer accepted

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/

That's a good information.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

64 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you