$BAMBOO_HOME over network shared

Have anyone set $BAMBOO_HOME or at least the bamboo-home directory over a network storage, like NFS?

Our Idea is to set BAMBOO in a HA environment but instead of syncing the Bamboo home directory we would like to have it mounted using a SAN or NAS, I know there is not official information about BAMBOO on HA, but at least someone have tried the bamboo-home over network ?


6 answers

1 accepted

2 votes
Accepted answer

Major part of bamboo-home/xml-data is a build directory. I think when you decide to move BAMBOO_HOME to NFS you should keep this directory separately:

  • this can be configured via $BAMBOO_HOME/bamboo.cfg.xml (property buildWorkingDir)
  • this directory holds working areas for each of your plans and thus can be safely reverted from backup or even completely cleaned before Bamboo restart - unless you're using some non-standard build configuration your source files will be simply checked out from repository from scratch
  • if you decide to hold buildWorkingDir as a local filesystem directory it will have to has the same path on all machines in your HA cluster because configuration is shared
  • buildWorkingDir is also the place where most of the IO activity happens: repository checkouts building your plans etc. leaving it on the local filesystem will give you high performance and keeping everything else on NFS will give you possibility to quickly switch server that will run the service

Hi Krystian

Thanks, this is very usefull


2 votes

If you want to use NFS for this, make sure you use NFS4.

I believe if that share will have 10000+ files it will work really slowly. It should be ok with less files. At least this was the case with other systems I tried, but I never tried Bamboo this way.

Hi Andris

Thanks, that's really a helpful info, anything that help us make a desition.

Could you please share which system and network storage did you use?


I tried email server and SVN server. Network server that I used was a simple custom Linux box (NFS share) with 1Gbps network interface. If you have better hardware it may work better for you.

Hi Andris

Thanks, that's really a helpful info, anything that help us make a desition.


0 votes
Daniel Wester Community Champion Jul 24, 2014

I wouldn't... The git operations will hurt a lot... Note that there are host specific info in the files as well.

I wrote up a blog post once for Nick Muldoon ( http://www.nicholasmuldoon.com/2013/07/bamboo-in-a-high-availability-configuration/) explaining how we had it configured at a previous work place.


I have already read that article, it is very well documented, and of course having bamboo-home localy on each instance looks like a good solution, drbd shoud do the work of replicating.

I was wondering if someone have done this before so they share their experience.

Daniel, for your multiple instances of Bamboo, did you needed a new license for each? and a different <property name="serverId">XXXX-XXXX-XXXX-XXXX</property>

Daniel Wester Community Champion Sep 19, 2014

Each active/passive cluster required a new license. (the passive one obviously shared the same one as the active instance). Does that answer your question?

kind of, Thanks

thanks all for the reply

We are actually using bamboo for our builds, and here is some information that might be relevant

[root@bamboo ]# find ./bamboo-home/artifacts/ -type f |wc -l
[root@bamboo ]# find ./bamboo-home/xml-data/ -type f |wc -l

[root@bamboo ]# du -hs ./bamboo-home/*
100G    ./bamboo-home/artifacts
4.0K    ./bamboo-home/attachments
4.0K    ./bamboo-home/backups
4.0K    ./bamboo-home/bamboo.cfg.xml
4.0K    ./bamboo-home/bamboo-mail.cfg.xml
44M     ./bamboo-home/bundled-plugins
357M    ./bamboo-home/caches
18M     ./bamboo-home/index
7.6M    ./bamboo-home/jms-store
112M    ./bamboo-home/logs
26M     ./bamboo-home/plugins
22M     ./bamboo-home/temp
4.0K    ./bamboo-home/templates
208G    ./bamboo-home/xml-data

and of course it will grow in time, it is a considerable amount of files.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

183 views 3 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you