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
- Log on to the ApsaraDB for MyBase console.
- In the upper-left corner of the page, select the target region.
- In the left-side navigation pane, choose . 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 .
- 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 .
- (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.
- Click OK.
该文章对您有帮助吗?