vSAN cluster shut down. Unable to restart due to error "vSAN Clustering is not enabled on this host"
search cancel

vSAN cluster shut down. Unable to restart due to error "vSAN Clustering is not enabled on this host"

book

Article ID: 396326

calendar_today

Updated On:

Products

VMware vSAN 8.x

Issue/Introduction

vSAN Cluster will not come back after a cluster shutdown
All hosts in the cluster return "vSAN Clustering is not enabled on this host" when "esxcli vsan cluster get" is run

Example 

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

Environment

VMware vSAN (All Versions)

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

Follow workaround form KB vSAN shows as disabled in vCenter upon powering up the cluster after a planned cluster shutdown

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

Reference KBs 

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

"Turn Off vSAN" is not to be used to shut down a vSAN cluster.