Migrating a vSAN node from one vSAN cluster to another vSAN cluster
book
Article ID: 326896
calendar_today
Updated On:
Products
VMware vSAN
Issue/Introduction
Symptoms:
This content provides steps to migrate a vSAN Node from one vSAN cluster to another vSAN cluster with the virtual machines residing on the node going to migrate.
Environment
VMware vSAN 6.x VMware vSAN 7.x VMware vSAN 8.x
Resolution
Perform the following steps to migrate a vSAN Node from one vSAN cluster to another vSAN cluster:
Put the Host in maintenance mode with Full Data Migration.
Once the host is in maintenance mode, delete the disk groups on that host.
Through SSH or ESXi shell, run the below command to leave the host from the existing cluster:
esxcli vsan cluster leave
Right click on the ESXi Host > Connection > Disconnect.
Drag and drop the disconnected host into the new cluster.
Right click on the ESXi Host Connection > Connect.
Note: This step connects the ESXi host back to vCenter.
Open an SSH session to any existing host in the new cluster. Run the below command to get the Sub-Cluster UUID:
esxcli vsan cluster get
In the output make a note of the Sub-Cluster UUID.
Example:
[root@IS-EVO-02:~] esxcli vsan cluster get
Cluster Information
Enabled: true
Current Local Time: 2017-05-12T07:58:40Z
Local Node UUID: ########-####-####-####-########23ab