Learn about NativeHA first: https://community.ibm.com/community/user/integration/blogs/david-ware1/2021/03/23/native-ha-cloud-native-high-availability
NativeHA Cross-Region Replication builds on NativeHA with the addition of another queue manager group hosted at a different location. Using this configuration, your original NativeHA queue manager is referred to as the Live group, and the new one is referred to as the Recovery group. The recovery group receives all replicated data from the live via an asynchronous connection. Therefore, in the event of an outage of the live group’s cluster, the recovery group can pick up the work with minimal downtime and data loss.
Depending on your scenario, there are two ways to switch to your recovery group:
Planned Switchover
Suppose that the datacentre hosting your live group is scheduled to undergo maintenance, or you need to carry out a migration. Simply switch the roles of your groups and, once all the live group’s log data has been replicated to the recovery group, it will take over as live and queue manager operations will resume there. Through this process, the queue manager downtime is minimal, and no transactions are lost.
Unplanned Failover
Sometimes, things don’t go to plan, and your live group may go down due to external factors. Should this happen, simply alter your recovery group role to live and inform it that the previously live group is down; any new work will be picked up by the newly live group. Naturally, an unexpected outage will incur data loss as whatever was not replicated to the recovery group via the asynchronous link will be lost, but it sure beats losing everything.
Want to know more? Check out this short video which explains NativeHA CRR and demonstrates all the above on OpenShift: