Hi,
I would like to run multiple jobs in parallel on the same automation server. In order to do this, do I need to install an additional local agent or an additional remote agent?
When I try to install an additional remote agent the installer picks the location of the first agent that is already installed on the automation server.
What I did was: I turned off the first agent and then run the installer for the new remote agent.
What is the correct process to install an addition agent (I do not see the option 'add local agent') So I am guessing that I need to install an additional 'remote agent'.
Regards,
Archie
Hello @Archie Sangole,
Welcome to Atlassian Community!
Choosing between a Local or Remote Agent requires some understanding of the overall Bamboo architecture. Local Agents will share the same resources (memory/CPU/disk/etc) with the Bamboo Server instance, meaning that any agent instructions that are launched by that Local Agent will compete with the main Bamboo application for those resources. Local Agents are deprecated and will be removed in a future Bamboo release.
Remote Agents are independent, they will not compete with the same resources used by the Bamboo JVM. Though they can still compete for memory, CPU and disk if they are installed on the same server that runs the Bamboo instance, likely they will reserve memory for their own JVMs and will at least not break each other in terms of memory.
To install multiple Bamboo Remote Agents on the same server, you need to specify a "-Dbamboo.home" property to the installer to indicate the Agent's home folder:
java -Dbamboo.home=/home/bamboo/bamboo-agent-2 -jar atlassian-bamboo-agent-installer-X.X.jar ...
For more information, please read the Bamboo Remote Agent installation guide and also check the Additional remote agent options page for more installation options
Sincerely,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
Hi Eduardo,
Thank you for the quick response. With the above information I was able to install a second remote agent. I configured it as a service, the same way as I did the first one.
Modified the service file permissions chmod 644
Running the following cmd gives:
systemctl installstart bamboo-agent-2.service
However the service fails to start. Perhaps I am missing a step.
Below is the output of the systemctl cmd:
-------------------------------------
systemctl status bamboo-agent-2.service
Loaded: loaded (/etc/systemd/system/bamboo-agent-2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-02-15 10:56:35 EST; 6min ago
Process: 5503 ExecStart=/home/trcauto/bamboo-agent-home-2/bin/bamboo-agent.sh start & (code=exited, status=1/FAILURE)
CPU: 113ms
--------------------------------------
Regards,
Archie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eduardo,
Please ignore the my previous comment. After running the following cmd:
systemctl enable bamboo-agent-2
and restarting the automation server, the service is now running.
Thank you for your help.
Regards,
Archie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.