Connect second readonly JIRA instance to MySQL replicated slave database?

Here is the scenario.  We currently have a high availability infrastructure with our internal JIRA instance.  It includes a MySQL master DB and slave DB and one Production JIRA instance.   We want to stand up a second internet facing read-only JIRA instance.  We want to use the slave DB as master and chain another slave DB from that to which our internet facing JIRA instance will access with a read-only user.  I am proposing to have MySQL slave DB (C) with MySQL DB (B) as master which is slave to MySQL DB (A).  Production JIRA connects to (A).  New read-only internet-facing JIRA would connect to (C).   Is this possible or will internet-facing read-only JIRA still need to or attempt to make updates to DB (C)?

1 answer

1 accepted

2 votes

Nope.

JIRA requires full read/write access to its database.  It won't even start without it (for safety).  So you'd have to have the slave enabled for write access.  Then your second JIRA would stomp all sorts of damage over your production data.

It's fine to replicate the data, report off it, read it, use it to create the backups and have it as a warm (but not hot) standby.  But you can't run two JIRAs against a single data set.

Right, now I've jumped all over that idea...  Have a look at JIRA Data Centre.

Thanks Nic.  I will look at Data Center.  Quick question.  Will Data Center allow me to have one node internal and another internet external  node hitting the same data.  Can I administer the external node separately with permissions and issue security thereby limiting access?

Not quite. It's the same data you are hitting, so the permissions and issue security are identical on all nodes. Note that your plan to have internal and external facing systems won't work properly either - JIRA needs to be run on one single url, it can't have two.

Thanks for the quick response! --Craig

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
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
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