Re-directing JIRA URL for Disaster Recovery Server

Saneth Kumar May 24, 2012

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

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2012

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!

Saneth Kumar May 24, 2012

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2012

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

Saneth Kumar May 24, 2012

Thanks Nic!

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

Thanks,

Saneth

0 votes
Saneth Kumar May 24, 2012

Thank you Norman :)

0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2012
0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2012

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.

Suggest an answer

Log in or Sign up to answer