When necessary, you can shut down the entire vSAN cluster.

If you plan to shut down the vSAN cluster, you do not need to manually disable vSAN on the cluster.

Procedure

  1. Shut down the vSAN cluster.
    1. Power off all virtual machines (VMs) running in the vSAN cluster, unless vCenter Server is running on the cluster.
      If vCenter Server is hosted in the vSAN cluster, do not power off the vCenter Server VM.
    2. Verify that all resynchronization tasks are complete.
      Click the Monitor tab, and select vSAN > Resyncing Objects.
    3. Click the Configure tab and ensure that DRS and HA are turned off so that the cluster does not register host shutdowns as failures.
    4. Disable cluster member updates from vCenter Server using the following command.
      esxcfg-advcfg -s 1 /VSAN/IgnoreClusterMemberListUpdates
      Perform this step on all the hosts.
    5. If vCenter Server is hosted in the vSAN cluster, power off the vCenter Server VM. The vSphere Client becomes unavailable.
    6. Use the following command to place the ESXi hosts in the maintenance mode with no data migration (no action).
      esxcli system maintenanceMode set -e true -m noAction
      Perform this step on all the hosts.
    7. Power off the hosts after each host has successfully entered the maintenance mode.
  2. Perform any necessary maintenance tasks.
  3. Restart the vSAN cluster.
    1. Power on the ESXi hosts.
      On the physical box where ESXi is installed, press the power button until the power-on sequence begins. The ESXi host starts, locates its VMs, and functions normally.
      After you power on the hosts, verify that the vSAN cluster is intact.
      You can ignore any misconfiguration status message if you did not make network configuration changes and the vSAN cluster was working as expected before you shut down the cluster. The message disappears after at least three hosts join the cluster.
    2. Use the following command to take the hosts out of maintenance mode.
      esxcli system maintenanceMode set -e false
    3. Verify that all the hosts are available in the cluster by running the following command on each host.
      esxcli vsan cluster get
    4. Restart the vCenter Server VM.
    5. Re-enable cluster member updates from vCenter Server with the following command.
      esxcfg-advcfg -s 0 /VSAN/IgnoreClusterMemberListUpdates
    6. Navigate to the vSAN cluster and click the Configure tab. Re-enable DRS and HA.
    7. Restart the remaining VMs through vCenter Server.
    8. Check the vSAN health service, and resolve any outstanding issues.