Re-directing JIRA URL for Disaster Recovery Server

We're setting up a Disaster Recovery (DR) Server for JIRA Standalone. We use JIRA internally and our Base URL is something like http://<ip_address>:8080. In case our LIVE Server goes down, users need to be able to log in to the DR server using the same URL.

Would any changes need to to be to JIRA or Apache, or is this totally dependent on our DNS? How exactly would I be able to implement this?

Thanks,

Saneth

4 answers

1 accepted

Accepted Answer
1 vote

The most easy solution is the DNS change.

You could do this with Apache rewrites, but it would be a pain, and not fully functional because Jira will still think it's running on the old URL and it'll tell people about it.

The important thing for Jira is that it has a single "base url" which it refers to in emails and gadget configs and so-on. It can only have one of these, so it's best to stick with it as much as you can. Although you can change it, it's a pain in the neck, especially for external stuff that people have bookmarked/documented etc. A DNS switch on failover really is the most simple way to handle this!

Thank you Nic,

From your answer I understand that the best (and simplest) method would be to use the same "Base URL" on both the JIRA servers and perform a DNS switch when a failover takes place.

Am I right?

Saneth

Correct. That's what we've got here, and it works fine.

Thanks Nic!

When you set this up, how did you sync your databases?

Thanks,

Saneth

The solution should be defined by the cluster software being used on what happens on failures. Nic is correct that the DNS change would be solution in an active-passive cluster. With an active-active cluster no change would be necessary.

Thank you Norman :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
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