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

Promoting a DR Instance to Primary

Scenarios

If the region where the primary instance is located suffers a natural disaster and the primary instance 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 the region where the DR instance is located, for example, AP-Singapore.
  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. Change the database connection address on the application side and manually switch workloads over to the new primary instance.