You shut down vSAN and the ESXi hosts in the virtual infrastructure workload domain by preparing the vSAN cluster for shutdown, placing each ESXi host in maintenance mode to prevent any virtual machines being deployed to or starting up on the host, and shutting down the host.
In a SDDC, to provide a virtualized infrastructure layer to the SDDC components there are four ESXi hosts deployed in the workload domain cluster in the virtual infrastructure workload domain.
If you deployed additional clusters in the virtual infrastructure workload domain, repeat this procedure for all ESXi hosts in each cluster.
Shut down any additional virtual machines running on the virtual infrastructure workload domain ESXi hosts.
- Log in to the first ESXi host for the workload domain by using a Secure Shell (SSH) client using root user.
- Disable vSAN cluster member updates by running the command.
esxcfg-advcfg -s 1 /VSAN/IgnoreClusterMemberListUpdates
- Prepare the vSAN cluster for shutdown by running the command.
python /usr/lib/vmware/vsan/bin/reboot_helper.py prepare
The command returns
Cluster preparation is done.Note:
You perform this step on the first ESXi host only.
- Place the ESXi host in maintenance mode by running the command.
esxcli system maintenanceMode set -e true -m noAction
- Shut down the ESXi host.
- Login to the first ESXi host for the workload domain by using the VMware Host Client using root account https://<first_esxi_host_fqdn_in_workload_domain>/ui.
- In the navigation pane, right-click Host and, from the drop-down menu, select Shut down.
- In the confirmation dialog box, click Shut down.
- Repeat this procedure to place the remaining ESXi hosts in the virtual infrastructure workload domain in maintenance mode and shut them down.