Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 08, 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

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
AUG Leaders

Atlassian Community Events