All Products
Search
Document Center

ApsaraDB for MyBase:Recreate a secondary ApsaraDB MyBase for MySQL instance

Last Updated:Jul 14, 2023

If a secondary instance on a host becomes faulty or you want to migrate a secondary instance to another host, you can recreate the secondary instance.

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 Clusters. On the page that appears, find the dedicated cluster that you want to manage and click Details in the Actions column.

  4. In the left-side navigation tree, click Instances.

  5. Find the instance for which you want to recreate a secondary instance and click Recreate Secondary Instance in the Actions column.

  6. Turn on the Enable Host switch. Click the Click to Select icon next to Specified Host, select a host on which you want to recreate a secondary instance, and then click OK.

    Recreate a secondary instance - specify a host
    Note

    The Enable Host parameter is optional. If you do not turn on the Enable Host switch, the system recreates a secondary instance on the host on which the existing secondary instance is deployed after you click OK. If the host on which the existing secondary instance is deployed cannot provide sufficient storage capacity, the system selects a host on which the primary instance is not deployed. If no host can provide sufficient storage capacity, a message appears to indicate that you must add a host.

Related API operations

API

Description

Rebuild instance

Recreates a secondary instance on a host in an ApsaraDB for MyBase dedicated cluster.