Run 1 reomte agent on window and linux host

vonischuk October 10, 2018

Hello, we have one licenced remote agent, installed windows agent on one host and trying to install linux agent opn another host.

After installing linux agent we have an error:

Aug 27, 2018 2:18:20 PM Registration attempt rejected with a message: Cannot register additional remote agent. You have reached the limit for the number of remote agents you can have. Please upgrade your license.

But we not need to run windows and linux plan sequentially, we wont run deploy on linux computer and then on windows.

Here is said that we can use one remote agent consistently on windows and than on linux computer:

https://confluence.atlassian.com/bamkb/difference-between-local-agents-and-remote-agents-457703602.html
How i can to reach that?

2 answers

0 votes
vonischuk October 12, 2018

Hi Rafael!

1. I try to disable active windows remote agent and reinstal linux remote agent, but problem is stay:

lis agent second.png2. I need to deploy project on remote linux host, so that i can't use local agent of bamboo server.

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 10, 2018

Hi @vonischuk,

You can install as many remote agents as you want, however, only 1 remote agent can be up and running to satisfy the 1 Remote Agent license.

Here is said that we can use one remote agent consistently on windows and than on linux computer: https://confluence.atlassian.com/bamkb/difference-between-local-agents-and-remote-agents-457703602.html
How i can to reach that?

Do whatever you need to do in one remote agent (e.g WIndows agent), then bring this Remote Agent down and start up the other remote agent (e.g. Linux agent).

Please, notice that Bamboo Server is as agent, meaning that it can build and deploy. So you can have Bamboo server (on Windows) and Bamboo Remote Agent (on Linux) if that is what you require.

Alternatively, you can have your Bamboo instance(s) running on Windows / Linux and have builds executed in docker containers - Bamboo 6.4 Release Notes

Kind regards,

Rafael

vonischuk October 11, 2018

I have install remote agent on windows host and i want to install remote agent on linux host.

But agent on windows host took a license, so that linux remote agent can't connect to bamboo service (look at the second arrow)?

 bamboo licence.png

How can i run task on linux and windows host consistently? Now i can't run task on remote linux host, only on local linux agent or windows remote host agent.

license.png

rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2018

Hello @vonischuk,

Thank you for your update.

As per screenshot provided, you can notice the Windows Agent is online. Because of that you cannot install a new Bamboo Remote Agent because your current license only allows you to have 1 remote agent up and running.

As previously mentioned, you first need to bring the Windows Agent down before attempting on installing the Linux Agent.

How can i run task on linux and windows host consistently?

Your Bamboo Server is running on an Linux box (at least this is what the screenshot suggests based on Local Agent's name). Please, notice that Bamboo's server is also an agent capable of running builds, so you can run builds in Linux and Windows already without having to install a new Remote Agent.

Now, if you want to install a new remote agent you will have to follow the suggested, bringing 1 remote agent down in order to have the other remote agent up, becauase your current license only allows you to have 1 remote agent up.

If you need more agents, then you can also upgrade your current license so you can have more remote agents running simultaneously.

Kind regards,

Rafael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events