Updated on 2024-09-06 GMT+08:00

Configuring the Disaster Recovery Task

Configure the disaster recovery task, including setting the source and destination databases.

Procedure

  1. On the Disaster Recovery Management page, locate the created disaster recovery task and click Edit in the Operation column.
  2. Add the EIP of the DRS instance to the inbound rule of the security group associated with the RDS for MySQL instance in the production center, select TCP, and set the port number to that of the RDS for MySQL instance of the production center.

    Figure 1 Adding a security group rule

    In the Source Database area, set IP Address or Domain Name and Port to the EIP and port of the RDS for MySQL instance in the production center. When the connection test is successful, click Next.

    Figure 2 Editing a disaster recovery task

  3. Configure the flow control and click Next.

    Figure 3 Configuring flow control

  4. Check the disaster recovery task. When the check success rate reaches 100%, click Next.
  5. Configure parameters and click Next.

    Figure 4 Configuring parameters

  6. Configure Start Time and click Submit.

    Figure 5 Starting the task

  7. On the Disaster Recovery Management page, check the task status. The status is Disaster recovery in progress.

    For a task that is in the Disaster recovery in progress state, you can use data comparison to check whether data is consistent before and after the disaster recovery.