Performing a Switchover for a Dual-AZ Task
You can set DRS Task Type to Single-AZ or Dual-AZ when creating a DRS real-time synchronization task. The dual-AZ deployment provides HA, improving the reliability of DRS tasks. After a dual-AZ task is created, DRS creates two subtasks, each running in the primary and standby AZs. If the subtask in the primary AZ fails, DRS automatically starts the subtask in the standby AZ to continue the synchronization.
You can select the DRS task type in the following scenarios:
- To the cloud
- MySQL->MySQL
- MySQL->GaussDB(for MySQL)
- MySQL->MariaDB
- GaussDB(for MySQL)->GaussDB(for MySQL)
- MariaDB->MySQL
- MariaDB->GaussDB(for MySQL)
- Oracle -> GaussDB Primary/Standby
- Oracle -> GaussDB Distributed
- Microsoft SQL Server->MySQL
- Microsoft SQL Server->GaussDB(for MySQL)
- Microsoft SQL Server->PostgreSQL
- From the cloud
- MySQL->Kafka
- MySQL->MariaDB
- GaussDB(for MySQL)->Kafka
- GaussDB(for MySQL)->CSS/ES
- GaussDB primary/standby -> Kafka
- GaussDB Distributed -> Kafka
- Self-built -> Self-built
- MySQL->Kafka
- Oracle->Kafka
- Oracle -> GaussDB Primary/Standby
- Oracle -> GaussDB Distributed
- GaussDB primary/standby -> Kafka
- GaussDB Distributed -> Kafka
Prerequisites
- You have logged in to the DRS console.
Scenarios
- On the Data Synchronization Management page, click Create Synchronization Task.
- On the Create Synchronization Instance page, configure the task name, description, and the synchronization instance details, set DRS Task Type to Dual-AZ, and click Next.
- Return to the Data Synchronization Management page, you can find that there are two subtasks displayed under the synchronization task you created.
Figure 1 Primary/Standby tasks
- After a synchronization task is configured and started, DRS will start the task in the primary AZ, and the task in the standby AZ is suspended.
Figure 2 Before the primary/standby switchover
- If the task in the primary AZ is abnormal, DRS automatically starts the task in the standby AZ to continue the synchronization.
Figure 3 After the primary/standby switchover
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