Updated on 2024-10-14 GMT+08:00

Promoting a DR Instance to Primary

Scenarios

If the region where the primary instance is located encounters a natural disaster and cannot be connected, you can promote the DR instance in another region to primary. To connect to the new primary instance, you only need to change the connection address on the application side.

Precautions

After a DR instance is promoted to primary, the DR relationship between it and the original primary instance is removed.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the name of the DR instance.
  5. In the navigation pane, choose DR Management.
  6. In the DR relationship list, click Promote DR Instance to Primary in the Operation column.
  7. In the displayed dialog box, click OK.
  8. Check the task execution result on the Task Center page. If the task status is Completed, the promotion is successful.
  9. Switch your workload to the new primary instance.