Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,625
Community Members
 
Community Events
168
Community Groups

Bamboo Agent installation in AIX

Hi All,

I am looking for a document on installing bamboo agents in IBM Aix server's.  So, do we have anyone who installed the agents in Past on Aix servers.

1 answer

We have running 3 agents on AIX 7.2. As the user needs special permissions when building our jobs, we use a custom startup script. I did not create this setup but AFAIK if you want to register the agent as subsystem (mkssys, startsrc, stopsrc) you might need a process that doesn't go to background. Our start script launches the bamboo-agent-bootstrap.jar using java and waits for it to exit. You can register the agent as subsystem using this script. Hint: Replace {{ bamboo_agent_home }} with the installation directory path.

Our start script:

#!/bin/sh
set -e
trap 'kill $(jobs -p)' EXIT
export LIBPATH=/opt/freeware/lib:$LIBPATH
export LD_LIBRARY_PATH=/opt/freeware/lib:$LD_LIBRARY_PATH
export PATH=/opt/freeware/bin:$PATH

# Working diretory needs to be the path where bamboo-capabilities.properties file is located.
# see https://confluence.atlassian.com/bamboo/configuring-remote-agent-capabilities-using-bamboo-capabilities-properties-289276849.html
cd {{ bamboo_agent_home }}/bin

/usr/java8_64/jre/bin/java -Dcom.ibm.jsse2.overrideDefaultTLS=true -Dcom.ibm.jsse2.overrideDefaultProtocol=TLSv12 \
  -Dbamboo.home={{ bamboo_agent_home }} -Dbamboo.agent.ignoreServerCertName=true \
  -Dlog4j.configuration={{ bamboo_agent_home }}/log4j.properties \
  -jar {{ bamboo_agent_home }}/lib/bamboo-agent-bootstrap.jar {{ agent_server_url }} &
wait

And register this script as subsystem:

mkssys -s bamboo-agent -p {{ bamboo_agent_home }}/start-bamboo-agent.sh -u bamboo -S -n15 -f9

CAUTION: This way the agent doesn't use the conf/wrapper.conf. That's why I want to create another solution. But actually this is working for us.

Bamboo Server v6.10

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

316 views 0 7
Read article

Atlassian Community Events