Can I setup a farm of multiple Bamboo Servers out of the box?

We are setting up a Bamboo system in AWS with a Bamboo Server, and remote & elastic agents. (no local agents) The Bamboo server uses an external database, which is a Multi-AZ Postgres Server in AWS RDS.

Currently we have just one instance of the Bamboo Server hidden under an AWS ELB.

And everything is working great, including remote agents and elastic agents.

 

We would like to setup a farm of Bamboo Servers (at least 2) for availability purposes.

  1. Is web farm, a valid scenario for Bamboo servers?
  2. Is it as simple as just spinning up another Bamboo server(s) and connecting it to the same external database? And everything will work seamlessly? OR
  3. Do we need to do custom configurations to support a web farm of Bamboo Servers?

1 answer

1 accepted

This widget could not be displayed.

You can't have two servers running against the same database. Your only option is cold standby.

alright. so it looks like automatic fail-over is not possible. in that case, does the following setup does the closest to it?

  1. prepare a standby bamboo instance as a complete replica of the primary server, but the bamboo service is not started on it.
  2. keep the file systems of both servers in sync. (bamboo home, rsync or so)
  3. have the consumers hit a VIP, which internally points to the primary bamboo IP.

when the primary bamboo system goes down for some reason, we do the following things manually:

  1. start the bamboo service on the standby server. importantly start it with the jms uri from the command line, since the config file might be pointing to the synced primary server's config.
  2. modify the VIP to point to this now-active-previously-standby bamboo server.

and everything works normal within minutes.

though the 2 instances eventually use the same external database, they don't do it simultaneously. and hopefully can take turns.

will the above mechanism work without any glaring issues?

 

 

 

Yes, it will work. BTW - you could use VIP as the broker client uri IP, couldn't you?

absolutely. thanks @Przemyslaw Bruski

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

142 views 1 3
Join discussion

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