This guide explains how to remove a vSAN node from a healthy cluster so it can be repurposed for new VMware Cloud Foundation (vCF) deployments. To reuse the host for vCF vSAN deployments, it’s essential to remove the old partitions; otherwise, the host cannot be repurposed.
Ensure the cluster has enough space for one host removed by running pre-check.
Place the host into maintenance mode
Choose Full data migration from the drop-down list as we’re going to decommission this host. Tick the box to move the powered-off and suspended VMs out from the host as well.
Monitor the progress of evacuation in the task pane. This operation could take a while depending on the amount of data to be removed from the host.
Monitor the status of Resyncing Objects
For vSAN 8 ESA remove the disks that reside on the host you want to decommission. Select the vSAN cluster>Configure>Disk Management>Select the host to be decommissioned>View Disks>Select the capacity disks>Remove Disk
Select the capacity disk and click Remove Disk. Repeat this step if you have more than one disk that should be removed from the vSAN cluster.
Monitor the status of the removal
We should see that all the disks we just removed are now marked Unclaimed. The cache disk will automatically be removed once the last capacity disk is removed.
Remove the host out of the cluster
Reboot the host, log in via SSH, and run the following command. The output should be null.
esxcli vsan storage list | grep -i "vSAN Disk Group UUID"
To display all partitions and disks on the ESXi host, you can run the following command:
esxcli storage core device list
This command lists all storage devices along with their details.
If there are vSAN partitions present, the disk will have a partition ID appended to the suffix, indicating the presence of a partition.
If there are no vSAN partitions on the disk, you’ll see the disk listed without any partition ID.