When a host in an ApsaraDB for MyBase dedicated cluster fails, replace it to restore normal cluster operations. Host replacement is available only when Host Troubleshooting Policy is set to Manual Host Replacement when you create a host in an ApsaraDB for MyBase dedicated cluster.
Prerequisites
Before you begin, ensure that:
The dedicated cluster uses the MySQL database engine
The hosts in the dedicated cluster use the local SSD storage type
What happens during host replacement
When a host fails, ApsaraDB for MyBase sends you a text message and sets the host status to Ready for Replacement. To view details about the fault and related scheduled events, see Manage scheduled events of an ApsaraDB RDS for MySQL instance.
Replacing a host triggers the following actions:
The system stops allocating new instances to the host.
The system migrates all the instances out of the host.
The system migrates all instances to another available host.
Replace a host
Log on to the ApsaraDB for MyBase console.
In the upper-left corner, select a region.
In the left-side navigation pane, click Hosts.
Find the host to replace, and choose More > Replace Host.

Select a replacement method and click OK.
Replacement methods
Choose a method based on how quickly you need the replacement to complete:
| Method | What happens | When to use |
|---|---|---|
| Switch Within Maintenance Window | Demotes all instances to secondary, migrates them out of the host, and replaces the host within the maintenance window | Minimize disruption during off-peak hours |
| Switch Immediately After Data Migration | Demotes all instances to secondary, migrates them out of the host, and immediately replaces the host | Restore the cluster as quickly as possible |