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

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.

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.

    Figure 1 Disabling read-only

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.