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

This widget could not be displayed.

>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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 6 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

13 views 0 0
Join discussion

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