Ran into a bit of a hairy situation regarding migrations and keeping issue-keys the same.
Context: We are planning to migrate a next-gen, team-managed project to a classic, company-managed project to enable more features for the customer.
Requirements:
1. Issue-key should remain the same.
2. Issue-key numbers should remain the same
3. Contents of issues should not be touched, including custom fields, workflow, and Developer data from Github.
Proposed solution: Bulk-update issues to move from original next-gen project (ABC) to new classic project (EFG). Then delete original project, and rename EFG issue key to ABC.
Problems:
1. If ABC-123 becomes EFG-456 and ABC-789 becomes EFG-123, then EFG is renamed to ABC, what happens to ABC-123? does it redirect to EFG-456? With the link alias be broken?
2. Confirmed with testing that bulk-moving issues does NOT retain the the issue-key numbers. Is there a way to retain the original numbers of these issue-keys? And if it's through exporting issues and importing them via CSV, what fields are required to migrate to make this work? (issue-key, issue-id, parent-id, Github?)
3. Will this break existing Github/JIRA connections that are tied by JIRA issue-keys?
Assumptions:
Sounds unnecessarily complex... your JDBC url should contain the DNS alias for the database server, such that if the database is failed over then it the same url automatically points to the DR database system. Unless you are a very small company this should be provided for you by the DBAs I would have thought.
I don't use Crowd, but the same thing applies to LDAP servers. You point to one that gets round-robinned by DNS, and any that are down get dropped automatically. So I'd suggest you just set up DR for Crowd and use F5s or whatever to automatically have the crowd url directed to the correct crowd server.
We use a clustered filesystem so in the event of failover the filesystem is automatically mounted on the DR machine. If we had to change configuration files or ensure that they had not been synced that would just increase the chance of a problem in an already panicked situation.
In short, at least for the DB thing, try to leverage whatever your DBAs recommend.
Thanks for the tick, hopefully other people will chime him with more information. One final piece of advice - test it! And then again every 6 months or so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have to say your solution is embarrassingly simple :)
I agree it'd be good to hear from other people implementations.
I'm thinking of creating static entries in the failover servers hosts files to point to LDAP and DB server. This way we can test it without bringing the prod environment up and there'll be less steps to follow in case of failover. We are thinking of doing this manually, no F5s ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On this topic: Atlassian has just released a dedicated best practice guide for High Availability. It covers a cold failover scenario and includes implementation details on reverse proxying, monitoring, replication and failover mechanisms:
https://confluence.atlassian.com/display/ATLAS/Failover+for+JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how does one access this document? We're about to start a migration/combination and this doc would really come in handy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No... I can't access it anymore -presumably as data center is available, then this document has been retired?
It would be useful for the rest of us, as I need to test our cold standby environment, and it's been a few months since I last reviewed this doc!
Can someone at Atlassian free it up from it's black hole?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, you can find the newest version of the document here: https://confluence.atlassian.com/display/ENTERPRISE/Failover+for+JIRA+Data+Center
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christine, I don't see any data other than a basic image.
Your previous doc had heartbeat and brbd information and a bit on database replication.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadly, the new link doesn't have much information at all. There are many of us who are either not using Jira Data Center yet, or choose not to for various reasons. For example, my company has datacenters in different geographical regions. Jira Data Center doesn't cluster between different geographic locations yet. So for us, the cold failover approach makes more sense.. But I can't seem to find cold failover documents for Jira *anywhere* on atlassian -- the few pages that still exist appear to be restricted. I see stuff for Confluence, Bamboo, stash... but not Jira. If I were a conspiracy theorist, it would appear that we are being heavily encouraged to use Jira Data Center. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.