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.

Prerequisites

Shut down any additional virtual machines running on the virtual infrastructure workload domain ESXi hosts.

Procedure

  1. Log in to the first ESXi host for the workload domain by using a Secure Shell (SSH) client using root user.
  2. Disable vSAN cluster member updates by running the command.
    esxcfg-advcfg -s 1 /VSAN/IgnoreClusterMemberListUpdates
  3. 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.

  4. Place the ESXi host in maintenance mode by running the command.
    esxcli system maintenanceMode set -e true -m noAction
  5. Shut down the ESXi host.
    1. 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.
    2. In the navigation pane, right-click Host and, from the drop-down menu, select Shut down.
    3. In the confirmation dialog box, click Shut down.
  6. Repeat this procedure to place the remaining ESXi hosts in the virtual infrastructure workload domain in maintenance mode and shut them down.