vSAN shows as disabled in vCenter upon powering up the cluster after a planned cluster shutdown
search cancel

vSAN shows as disabled in vCenter upon powering up the cluster after a planned cluster shutdown

book

Article ID: 326462

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms:
vSAN cluster was shut down for planned power maintenance
Upon powering on the cluster vSAN shows as disabled in vCenter
vSAN-is-turned-off.png
vSAN may even show as disabled on the hosts via esxcli vsan cluster get

[root@esxi1:~] esxcli vsan cluster get
vSAN Clustering is not enabled on this host


Cause

The Shutdown Cluster Wizard doesn't disable vSAN. This is due to a user clicking on "Turn Off vSAN" mid-cluster shutdown due to a potential error in the "Shutdown Cluster" wizard thinking this will complete the cluster shutdown.

Resolution

Do not use "Turn Off vSAN" to try and complete the cluster shutdown. See KB "Turn Off vSAN" is not to be used to shut down a vSAN cluster. (97352) for further details.

Workaround:
To resolve the issue with vSAN being disabled in vCenter only follow the below steps:
1) Navigate to vSAN Cluster > vSAN > Services and click on "Turn On vSAN"
Note: This should not reformat the existing disk groups on the hosts. As you walk through the enable vSAN wizard vSAN should see the disks are already claimed and you can just proceed to the next step.
2) Run the below commands on all hosts in the cluster
esxcfg-advcfg -s 0 /VSAN/DOMPauseAllCCPs
esxcfg-advcfg -s 0 /VSAN/IgnoreClusterMemberListUpdates
3) Once vSAN is re-enabled vSAN > Services will show the "Shutdown Cluster" wizard is out of sync with the cluster
4) Reboot vCenter to get vCenter and ESXi back in sync with each other

To resolve this issue with vSAN being disabled in both vCenter and ESXi follow the below steps:
1) Navigate to vSAN Cluster > vSAN > Services and click on "Turn On vSAN"
Note: This should not reformat the existing disk groups on the hosts. As you walk through the enable vSAN wizard vSAN should see the disks are already claimed and you can just proceed to the next step.
2) Run the below commands on all hosts in the cluster
esxcfg-advcfg -s 0 /VSAN/DOMPauseAllCCPs
esxcfg-advcfg -s 0 /VSAN/IgnoreClusterMemberListUpdates
3) Once vSAN is re-enabled in vCenter run "esxcli vsan cluster get" to check if vSAN was enabled on the hosts.
4) Once vSAN is enabled both in vCenter and ESXi, vSAN > Services will show the "Shutdown Cluster" wizard is out of sync with the cluster
5) Reboot vCenter to get vCenter and ESXi back in sync with each other

Additional Information

Impact/Risks:
vSAN is disabled upon powering on the cluster