How to setup JIRA MySQL Master Slave replication

Here is the scenenario, I want to set up a new JIRA readonly instance in different data center. So I set up a MySQL master-slave  replication. Afetr this is done, I find that all the issues of the new instance which connect to the slave DB canont be viewed. And the LDAP integration also failed.
Before setting up MySQL replication, the new instance is brand new using a trail license. So I want to know what should I do before setting up the master-slave replication and how to make it work?

1 answer

1 vote

>I find that all the issues of the new instance which connect to the slave DB canont be viewed

JIRA requires full read/write access to its database, and it requires a full re-index after any change made to the database that does not go through its API.  You can't have a slave database in write mode, and re-indexing your slave JIRA every time the master changes is a non-starter.

In short, what you're trying to do here simply will not work.

By all means, have a slave database replicated from your production, use it for DR (warm standyby), backup, reporting etc.  But you can't run a second JIRA against it.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

546 views 6 12
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