nav-img
Advanced

Disabling or Enabling Read-Only

For a paused DR task, DRS allows you to disable read-only of the destination database.

Constraints

  • You can disable or enable read-only of the destination database only for paused single-active DR tasks from MySQL to MySQL, MySQL to GaussDB(for MySQL), and GaussDB(for MySQL) to GaussDB(for MySQL).
  • After read-only of the destination database is disabled, the destination database can be set to read-only again.
  • Disabling read-only on the destination database may cause data inconsistencies. Exercise caution when performing this operation.
  • After read-only is disabled and the DR task is resumed, the DR database automatically changes to read-only. The read-only settings of the DR DB instance are also affected by the access settings of the DB instance itself. Therefore, you are advised not to set the access settings of the DB instance on the RDS console.

Disabling Read-Only

  1. In the task list on the Disaster Recovery Management page, locate the target task and click its name.
  2. In the Task Information area on the Basic Information page, click Disable Read-only next to Destination DB Instance Access.
  3. In the displayed dialog box, click Yes.

Enabling Read-Only

  1. In the task list on the Disaster Recovery Management page, locate the target task and click its name.
  2. In the Task Information area on the Basic Information page, click Enable Read-only next to Destination DB Instance Access.
  3. In the displayed dialog box, click Yes.