Performing a DR Switchover for the GaussDB(DWS) Cluster
Switching to the DR Cluster
- Log in to the GaussDB(DWS) console.
- In the navigation pane, choose Management > DR Tasks.
- Click Switch to DR Cluster in the Operation column of the target DR task.
- In the dialog box that is displayed, click OK.
The DR status will change to DR switching.
After the switchover is successful, the DR status will change to the original status.
- To perform a switchover when the DR cluster is running properly, click Switch to DR Cluster.
- You can perform a DR switchover when the DR task is in the Running state.
- During a switchover, the original production cluster is not available.
- The Recovery Point Object (RPO, time point to which the system and data must be recovered after a disaster occurs) in different DR switchover scenarios is described as follows:
- Production cluster in the Available state: RPO = 0
- Production cluster in the Unavailable state: A zero RPO may not be achieved, but data can at least be restored to that of the latest successful DR synchronization (Last DR Succeeded). For details, see Viewing DR Information.
Exception Switchover
Scenario
The production cluster is unavailable, the DR cluster is normal, and the DR status is Abnormal.
Procedure
- Log in to the GaussDB(DWS) console.
- In the navigation pane, choose Management > DR Tasks.
- Choose More > Exception Switchover in the Operation column of the target DR task.
- In the dialog box that is displayed, click OK.
The Status will change to Switchover in progress.
After the switchover is successful, the DR status will change to the original status. In this procedure, the DR status will change back to Abnormal.
- To perform a switchover when the DR cluster is abnormal or the production cluster is faulty, click Exception Switchover.
- DR exception switchover is supported only by clusters of version 8.1.2 or later.
- Before a switchover, check the latest synchronization time in the DR cluster. The DR cluster will serve as a production cluster after an abnormal switchover, but the data that failed to be synchronized from the original production cluster to the DR cluster will not exist in the DR cluster.
- If the DR type is Cross-region DR, the switchover can be performed only in the region where the standby cluster is located.
Performing a DR Switchback
Scenario
After abnormal switchover, if you have confirmed that the original production cluster was recovered, you can perform a switchback.
Procedure
- Log in to the GaussDB(DWS) console.
- In the navigation pane, choose Management > DR Tasks.
- Click DR Recovery in the Operation column of a DR task.
- In the displayed dialog box, set Synchronization Mode to Incremental or Full.
You are advised to set Synchronization Mode to Incremental when updating a DR creation task.
- Click OK.
The Status will change to Recovering.
After the DR recovery is successful, the Status will change to Running.
- DR is supported only by clusters of 8.1.2 or later.
- During DR recovery, data in the DR cluster will be deleted, and the DR relationship will be re-established with the new production cluster.
- If the DR type is Cross-region DR, the recovery can be performed only in the region where the standby cluster is located.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot