Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fully HA Bit Bucket Data Centre

I am looking for a network diagram for a fully HA, redundant Bit Bucket Data Centre using Postgres and Haproxy.

The Atlassian documentation for HA configuration:

https://confluence.atlassian.com/bitbucketserver/clustering-with-bitbucket-data-center-776640164.html

is not fully HA since the load balancer is a single point of failure.

Any help greatly appreciated.

1 answer

0 votes
Roger Barnes Atlassian Team Jul 20, 2017

Hi John,

I don't think we have such a diagram to hand, but the general principle of clustering the load balancer for redundancy could be overlaid.
In short, instead of a single load balancer in front of the application nodes you could have multiple nodes, all doing the same job, with technologies such as keepalived to provide high availability.

Here is some information about doing this with haproxy...
https://serverfault.com/questions/238605/is-it-possible-to-make-redundancy-on-haproxy-server
https://andyleonard.com/2011/02/01/haproxy-and-keepalived-example-configuration/

Hi Roger

thanks for the info. I have since added redundancy on the load balancer using keepalived. I have added a hot standby for Postgres - failover is manual however. There is no ready made solution for automatic failover with Postgres. I looked at a solution which used 'Governor' a Python script which performs pacemaker like functionality. It also etcd and haproxy. It looked fairly complex so I elected not to use it:

https://www.compose.com/articles/high-availability-for-postgresql-batteries-not-included/

 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Data Center

August 2020 showcase: recent bug fixes and product improvements

G’day Atlassian Community ! In this post, I’ll share some of the most impactful bug fixes and product improvements we shipped over the last six months (and since this post ) to our self-man...

9,085 views 4 24
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you