Updated on 2024-07-11 GMT+08:00

Exchanging the DR Direction

In dual-active DR, only forward tasks support DDL execution to prevent DDL loopback. DRS allows you to exchange the direction of a DR task. You can use this function to change the task role to enable DDL execution on backward tasks.

Constraints

  • This function is available only for dual-active DR tasks.
  • The direction can be exchanged only when both the forward and backward tasks are paused.
  • You need to resume the task to apply the change.

Procedure

  1. On the Disaster Recovery Management page, locate the paused dual-active DR task.

    Subtask 1 is a forward task.
    Figure 1 Before direction exchange

    View the DR monitoring of subtask 1. The DDL execution is disabled on active node 2.
    Figure 2 DR monitoring before direction exchange

  2. Click Exchange Direction in the Operation column of the task.
  3. In the displayed dialog box, click Yes.
  4. After the direction exchange, view that the DR relationship of subtask 1 changes and subtask 1 becomes a backward task.

    Figure 3 After direction exchange

    View the DR monitoring of subtask 1. The DDL execution is disabled on active node 1.

    Figure 4 DR monitoring after direction exchange

  5. Click Resume in the Operation column of the subtask.