All Products
Search
Document Center

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

Last Updated:Jul 14, 2023

If Manual Host Replacement is selected for Host Troubleshooting Policy when you create a host in an ApsaraDB for MyBase dedicated cluster, you can replace the host to troubleshoot its failures.

Prerequisites

The MySQL database engine is used in an ApsaraDB for MyBase dedicated cluster. The local SSD storage type is used for the hosts in the dedicated cluster.

Background information

If a host fails, the system notifies you of the fault by using a text message and sets the status of the host to Ready for Replacement. You can view the information about this fault. For more information, see Manage scheduled events of an ApsaraDB RDS for MySQL instance.

Impacts

If a host is replaced, the following impacts occur:

  • 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.

Procedure

  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 that you want to replace, and choose More > Replace Host.

  5. Select the replacement time and click OK.

    Note
    • Switch Within Maintenance Window: The system demotes all the instances on the host to secondary, migrates the secondary instances out of the host, and then replaces the host within the maintenance window.

    • Switch Immediately After Data Migration: The system demotes all the instances on the host to secondary, migrates the secondary instances out of the host, and then immediately replaces the host.