All Products
Search
Document Center

ApsaraDB for MyBase:Replace a host in an ApsaraDB MyBase for MySQL dedicated cluster

Last Updated:Mar 28, 2026

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:

  1. The system no longer allocates instances to the host.

  2. The system migrates all the instances out of the host.

  3. The system migrates all the instances on the host to another available host.

Replace a host

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. In the left-side navigation pane, click Hosts.

  4. Find the host you want to replace, then choose More > Replace Host.

  5. Select a replacement time and click OK.

    OptionSteps
    Switch Within Maintenance Window1. 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 Migration1. 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.