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 pending events.

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 top navigation bar, select the region where you want to create a dedicated cluster.
    Select a region
  3. In the left-side navigation pane, click Clusters. Find the dedicated cluster that you want to manage and click Details in the Actions column.
  4. In the left-side navigation pane, click Hosts.
  5. Find the host that you want to replace, and choose More > Replace Host.
    Replace a host
  6. Select a replacement method 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.