Migrating a vSAN node from one vSAN cluster to another vSAN cluster
book
Article ID: 326896
calendar_today
Updated On:
Products
VMware vSAN
Show More
Show Less
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.6.x VMware vSAN 7.0.x VMware vSAN 6.5.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
Local Node Type: NORMAL
Local Node State: MASTER
Local Node Health State: HEALTHY
Sub-Cluster Master UUID: ########-####-####-####-########23ab
Sub-Cluster Backup UUID:
Sub-Cluster UUID: ########-####-####-####-########0664
Sub-Cluster Membership Entry Revision: 0
Sub-Cluster Member Count: 1
Sub-Cluster Member UUIDs: ########-####-####-####-########23ab
Sub-Cluster Membership UUID: ########-####-####-####-########adc0
Unicast Mode Enabled: true
Maintenance Mode State: ON
Open an SSH session to the newly added host and run the below command to add the host to the new vSAN cluster :esxcli vsan cluster join -u "<sub-cluster uuid>"
Here, <sub-cluster uuid>
is the Sub Cluster UUID obtained from Step 8.Note : Now, the ESXi host is part of the new cluster.
Recreate the Disk groups on the newly added host.
If required to migrate other hosts, follow Steps 2 through 9 on the remaining hosts.
Feedback
thumb_up
Yes
thumb_down
No