Permanently Decommissioning a node from a vSAN Cluster
book
Article ID: 326861
calendar_today
Updated On:
Products
VMware vSAN
Issue/Introduction
Procedure to decommission a vSAN node.
Environment
VMware vSAN 6.x VMware vSAN 7.x
VMware vSAN 8.x
Resolution
Following the correct procedure is crucial when permanently decommissioning a vSAN node. If the disk groups are left behind or the node is not disassociated with the cluster, residual components can be left behind which can have an impact on cluster stability.
Ensure that there is no resync running on the vSAN cluster before starting the activity.
Ensure there is sufficient capacity in the vSAN disk groups to decommission a node.
Right click on the host which is to be decommissioned > Maintenance mode > Enter Maintenance mode > Pre-check.
This pre-check simulates what the cluster would look like if it is not contributing to the vSAN cluster. From the pre-check results:
Verify that none of the vSAN objects go the reduced availability or inaccessible state.
Verify that there is enough space in the cluster.
Once verified that all is green, put the host into maintenance mode with full data migration selected. This will evacuate all disk groups on the host.
Wait for resync traffic to complete and the host to enter maintenance mode.
For vSAN OSA and below delete the disk group(s) 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 disk group >Remove the Disk group For vSAN 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 disks > Remove Disk
Move the ESXi host out of the cluster to disassociate it from vSAN Note: The command esxcli vsan cluster leavecan also be run from the command line of the host to leave the cluster
Shutdown the ESXi host.
To fully disable a vSAN cluster, see Disable vSAN.
Note: To decommission a vSAN node that has failed in a vSAN cluster engage vSAN support for further assistance.