Stash high availability

We would like to setup fail over server which takes traffic when main server breaks down. We will attach same NAS storage to both servers and will configure both Stash instances to use the same database so there won't be any problems with inconsistent data. In front of Stash servers there will be a load balancer which will redirect all requests to second machine when first one is down (normally all requests will be served by first server).

Only problem is with Stash itself - it seems that there shouldn't be two (or more) Stash instances running at the same time which operate on the same DB and storage. So both servers should monitor each other and Stash on second server should be started only when first server is unreachable (and stopped on second as soon as first server is back).

Does Stash have solution for this requirement? Is it possible to use Tomcat clustering (Stash uses Tomcat under the hood)?

1 answer

1 accepted

This widget could not be displayed.

There is no build in solution for redundancy in Stash at this stage. However, we would love to hear more about your requirements. Feel free to contact me directly under jens at

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,194 views 8 10
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