Migrating a Cluster
Cluster migration migrates data from a cluster to another one. In certain scenarios, for example, if demands cannot be met by directly changing specifications of the current cluster due to the growing business data, you can create a cluster of higher specifications and migrate all data of the current cluster to the new one. Alternatively, you can merge indices in two clusters to one cluster to satisfy your business needs. CSS enables cluster migration by using the index backup and restoration function, specifically, by restoring the snapshot of a cluster to the target cluster.
Prerequisites
- The source and target clusters are in the same region.
- The version of the target cluster is the same as or later than that of the source cluster.
- The number of nodes in the target cluster must be greater than half of the number of nodes in the source cluster.
Suggestions
- The number of nodes in the target cluster is no less than the number of replicas in the source cluster.
- The CPU, memory, and disk configurations of the target cluster are greater than or equal to those of the source cluster, minimizing service loss after migration.
In this section, assume that data of cluster Es-1 is migrated to cluster Es-2. Cluster Es-2 runs a version later than that of cluster Es-1 and the number of nodes in cluster Es-2 is greater than half of that in cluster Es-1.
Procedure
- On the Clusters page, click Es-1. On the displayed page, click Cluster Snapshots.
- Click Create Snapshot to manually create a snapshot. In the displayed dialog box, enter the snapshot name and click OK.
If you use the index backup and restoration function for the first time, you need to perform basic configurations first. For details, see Manually Creating a Snapshot.
Figure 1 Creating a snapshot
Figure 2 shows the page displayed when the snapshot is created.
- In the snapshot list, locate the row where the target snapshot resides and click Restore in the Operation column to restore data to cluster Es-2.
- In the text box next to Index, enter *, indicating to restore data of all indices in cluster Es-1.
- From the Cluster drop-down list, select Es-2.
Click OK. You can also rename the restored index. For details, see Index Backup and Restoration.
Figure 3 Restoring data
- After restoration is complete, data in cluster Es-1 is migrated to cluster Es-2.
Last Article: Restarting a Cluster
Next Article: Deleting a Cluster

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.