Updated on 2022-06-10 GMT+08:00

DR Management

Starting a DR Task

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, click DR Tasks.
  3. Click Start in the Operation column of the target DR task.
  4. In the dialog box that is displayed, click OK.

    The DR status will change to Starting. The process will take some time. After the task is started, the DR status will change to Running.

    • You can start a DR task that is in the Not started/Startup failed/Stopped state.
    • After you start the DR task, you cannot perform operations, including restoration, scale-out, upgrade, restart, and node replacement, on the production cluster and DR cluster. Backup is also not allowed on the DR cluster. Exercise caution when performing this operation.

Stopping the DR Task

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, click DR Tasks.
  3. Click Stop in the Operation column of the target DR task.
  4. In the dialog box that is displayed, click OK.

    The DR status will change to Stopping. The process will take some time. After the DR task is stopped, the status will change to Stopped.

    • Only DR tasks in the Running or Stop failed state can be stopped.
    • Data cannot be synchronized after a DR task is stopped.

Switching to the DR Cluster

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, click DR Tasks.
  3. Click Switch to DR Cluster in the Operation column of the target DR task.
  4. In the dialog box that is displayed, click OK.

    The DR status will change to DR switching.

    After the switchover is successful, the DR status will change to the original status.

    • You can perform a DR switchover when the DR task is in the Running or Abnormal state.
    • During a switchover, the original production cluster is not available.
    • RPO of DR switchover:
      • Production cluster in the Available state: RPO = 0
      • Production cluster in the Unavailable state: A zero RPO may not be achieved, but data can at least be restored to that of the latest successful DR synchronization (Last DR Succeeded). For details, see Viewing DR Information.

Updating DR Configurations

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, click DR Tasks.
  3. In the DR list, click the DR name to go to the DR information page.
  4. In the DR Configurations area, click Modify.

    • Only DR tasks in the Not started or Stopped state can be modified.
    • The new configuration takes effect after DR is restarted.

Deleting DR Tasks

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, click DR Tasks.
  3. Click Delete in the Operation column of the target DR task.
  4. In the dialog box that is displayed, click OK.

    The DR status will change to Deleting.
    • You can delete a DR task when DR Status is Creation failed, Not started, Startup failed, Stopped, Stop failed, or Abnormal.
    • Data cannot be synchronized after a DR task is deleted, and the deleted task cannot be restored.