Help Center> Data Replication Service> FAQs> Real-Time Synchronization> Does DRS Support Bidirectional Real-time Synchronization?
Updated on 2024-06-07 GMT+08:00

Does DRS Support Bidirectional Real-time Synchronization?

DRS supports only one-way synchronization.

If bidirectional data disaster recovery is required, you can use dual-active DR of DRS. Dual-active DR involves forward and backward DR tasks, and primary/standby switchover is not required. Currently, only dual-active DR tasks from MySQL to MySQL and from GaussDB(for MySQL) to GaussDB(for MySQL) are supported. Only whitelisted users can use dual-active DR. To use this function, submit a service ticket. In the upper right corner of the management console, choose Service Tickets > Create Service Ticket to submit a service ticket.

  • The dual-active DR architecture has high requirements on the environment. Before deploying the dual-active DR solution, view Before You Start.
  • The dual-active DR deployment poses strict requirements on the procedure. Perform the following steps to ensure that the dual-active DR task can be successfully deployed.
    1. Create a DR task. For details, see Create a DR Task. After the creation is complete, two subtasks are generated, that is, the forward DR task and reverse DR task. In this case, the reverse DR task is in the configuration state.
    2. When the forward DR task is in the DR state (the reverse task is displayed in the Operation column), configure and start the reverse task.

      On the Disaster Recovery Management page, select the backward DR task and click Edit in the Operation column. The Create Disaster Recovery Task page is displayed. Continue to create the backward task.

      You are advised to perform the verification on the active database 2 and start the backward task after the expected result is met.
      Figure 1 Forward and backward DR task

Real-Time Synchronization FAQs

more