Rebuild a standby instance

更新时间:
复制 MD 格式

You can rebuild a standby instance if it becomes unavailable or if you want to migrate it to a different host within ApsaraDB for MyBase.

Usage notes

  • Minimize read and write operations on the primary instance while the standby instance is being rebuilt. High I/O activity can cause data synchronization to fail, causing the rebuild operation to fail.
  • The time required to rebuild the standby instance depends on the data volume and service workload. The operation may take some time to complete.

Procedure

  1. Log on to the ApsaraDB for MyBase console.
  2. In the upper-left corner of the page, select the target region.
  3. In the left-side navigation pane, choose instance list > Redis. The procedure varies depending on the architecture of your instance.
    • For a master-slave (non-cluster) instance: In the actions column of the target instance, click More > Rebuild Standby Instance.
    • For a cluster instance: In the host column of the target instance, click host details. Then, find the target shard and in its actions column, click More > Rebuild Standby Instance.
  4. (Optional) Turn on the enable specify host switch. Then, next to specify host, click Select to choose a target host for the standby instance.
    Note If you do not turn on the enable specify host switch, the rebuild process works as follows:
    • The system first attempts to rebuild the standby instance on its original host.
    • If the rebuild on the original host fails, the system selects another available host, excluding the host of the primary instance.
    • If no suitable host can be found or if there is not enough space, the operation fails. You must add a new host or scale up your resources before you can retry the operation.
  5. Click OK.