If the zone where your Elasticsearch cluster resides has insufficient Elastic Compute Service (ECS) instances for a configuration upgrade, you can migrate the nodes in the zone to another zone before the upgrade.

Prerequisites

  • A zone with sufficient resources exists under the current account.

    We recommend that you select new zones from bottom to top in alphabetical order because these zones may have sufficient resources. For example, if both cn-hangzhou-e and cn-hangzhou-h are available, select cn-hangzhou-h. After you migrate nodes to another zone, you must manually update the configuration of your Elasticsearch cluster. For more information, see Upgrade the configuration of a cluster.

  • The cluster is in the Active state.

    You can run the GET _cat/health? v command to check the status of your Elasticsearch cluster.

Procedure

  1. Log on to the Alibaba Cloud Elasticsearch console.
  2. In the top navigation bar, select the region where your Alibaba Cloud Elasticsearch cluster resides.
  3. Find the target cluster and click its ID.
  4. On the Basic Information page, click the Node Visualization tab. Then, move your pointer to the zone and click Migrate.
    Migrate nodes to another zone
  5. In the Node Migration dialog box, set Target Zone and VSwitch.
    Node Migration dialog box
    Parameter Description
    Target Zone The target zone may also have insufficient ECS instances. We recommend that you select new zones from bottom to top in alphabetical order. For example, if both cn-hangzhou-e and cn-hangzhou-h are available, select cn-hangzhou-h.
    VSwitch If your Elasticsearch cluster is deployed in one zone, you must specify a new VSwitch. If your Elasticsearch cluster is deployed across zones or is an Alibaba Finance Cloud cluster, you do not need to specify a new VSwitch.
    Notice
    • After migration, the IP addresses of the nodes in the cluster change. If you specified the IP addresses in the cluster configuration, update them after the migration.
    • Node migration triggers a cluster restart, but the cluster can still provide services during the restart. However, this may cause service instability. We recommend that you perform this operation during off-peak hours.
  6. Read and agree the terms of data migration, and click OK.
    The system then restarts the cluster. After the cluster is restarted, its nodes are migrated to the target zone.
    After the migration is complete, the zone specified by Target Zone is used.