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

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 atlassian.com

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

684 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot