How to setup Bitbucket Server as Cold standby?

I'm looking for documentation on how to set up a cold standby Bitbucket Server instance.

Any pointers?

 

1 answer

Other than the 'use data center' answer, you can attempt to use the same approach that it uses. You have to have the database accessible from both hosts and you have to synch the data directory.  Next you have to work out a scheme (dns or load balancer)  to have the traffic redirected.  Then fully test. 

Thanks Rich, I can synch the data directories, no bother. Am wondering though about connecting to Oracle. I've the active Bitbucket server up, however when attempting to migrate the database to Oracle on the standby Bitbucket box, I'm seeing the error: "The target database contains tables whose names collide with Bitbucket's tables. Please migrate to a clean, empty database." I'm missing something, certainly..

Have a look at https://www.atlassian.com/enterprise/data-center (scroll down). The high availability for the database is handled by Oracle. The active and cold standby have to be identical in every way including that they connect to the same database and access the same data directories. You can do the data directories via network storage (or synch-ing them), the database by using 'database clustering technology' the page suggests.

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

706 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