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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

251 views 3 7
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