When a host in an ApsaraDB MyBase for MySQL dedicated cluster fails, you can manually replace it to restore normal operation. This applies when the cluster is configured to use Manual Host Replacement as the Host Troubleshooting Policy.
Prerequisites
Before you begin, make sure that:
The dedicated cluster uses the MySQL database engine
The hosts in the cluster use the local SSD storage type
How it works
When a host fails, the system sends you a text message and sets the host status to Ready for Replacement. To review fault details, see Manage scheduled events of an ApsaraDB RDS for MySQL instance.
Replacing a host triggers the following actions:
The system no longer allocates instances to the host.
The system migrates all the instances out of the host.
The system migrates all the instances on the host to another available host.
Replace a host
Log on to the ApsaraDB for MyBase console.
In the upper-left corner of the page, select a region.
In the left-side navigation pane, click Hosts.
Find the host you want to replace, then choose More > Replace Host.
Select a replacement time and click OK.
Option Steps Switch Within Maintenance Window 1. Demote all instances on the host to secondary. 2. Migrate the secondary instances out of the host. 3. Replace the host within the scheduled maintenance window. Switch Immediately After Data Migration 1. Demote all instances on the host to secondary. 2. Migrate the secondary instances out of the host. 3. Replace the host immediately after migration completes.