Help Center/
Relational Database Service/
Best Practices/
RDS for MySQL/
Configuring Remote Single-Active DR for an RDS for MySQL Instance Using DRS/
Configuring Remote Disaster Recovery/
Performing a Primary/Standby Switchover
Updated on 2024-09-30 GMT+08:00
Performing a Primary/Standby Switchover
If the source database in the production center is faulty, manually switch the DR instance to the read/write state. Then, data is written to the DR instance and synchronized to the source database.
Procedure
- Find that the source database in the production center is faulty. For example, the source database cannot be connected, the source database execution is slow, or the CPU usage is high.
- Receive an SMN email notification.
- Check the delay of the DR task.
- Check that the services of the source database have been stopped. For details, see How Do I Ensure that All Services on the Database Are Stopped?
- Select the task, click the Batch Operations drop-down box in the upper left corner and select Primary/Standby Switchover.
Figure 1 Primary/standby switchover
- Change the database IP address on your application and use it to connect to the database. Then data is properly read from and written to the database.
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot