[root@esxi:~] esxcli vsan cluster getvSAN Clustering is not enabled on this host
VMware vSAN (All Versions)
As per KB "Turn Off vSAN" is to disable vSAN Services on the cluster not to shut down the vSAN cluster. and should NOT be used to shutdown a vSAN cluster for planned maintenance. To shut down a vSAN cluster for planned maintenance use "Shutdown Cluster" NOT "Turn Off vSAN"
Identify the Sub-Cluster UUID of the cluster before vSAN was disabled
Use the command grep nodeCount -m1 /var/run/log/vsansystem.log to locate the Sub-Cluster UUID to re-enable vSAN.
Example:"grep nodeCount -m1 /var/run/log/vsansystem.log"2025-11-29T15:33:40.236Z -INFO vsansystem 1000344235 [esx@4413 sub="VsanSystemProvider" opId="8269faa1-4f9b"] Complete, cluster: 3ab1725c-cc36-11f0-93b4-############, nodeCount: 6, status: (vim.vsan.host.ClusterStatus) {
grep -m1 "Load vSAN config" /var/run/log/vsansystem.log" and this output identifies whether encryption was in use or not.grep -m1 "Load vSAN config" /var/run/log/vsansystem.log2025-11-29T15:17:20.988Z -INFO vsansystem 1000344238 [esx@4413 sub="Libs" opId="4424de8a"] VsanInfoImpl: Load vSAN config enabled=1 uuid=3ab1725c-cc36-11f0-93b4-############ clusterConfig count=1 netConfig count=1 kmsConfig count=0, kekId=, vsanMode=Mode_None, instance=B736573050esxcli vsan cluster join -u (Sub-Cluster UUID)
Note: If the below error appears, it means the cluster was previously configured as ESA and not OSA
esxcli vsan cluster join -u (Sub-Cluster UUID) -xRebuild the Unicast Agent List as per KB Configuring vSAN Unicast networking from the command line:
esxcli vsan cluster getesxcfg-advcfg -g /VSAN/DOMPauseAllCCPsesxcfg-advcfg -g /VSAN/IgnoreClusterMemberListUpdatesesxcfg-advcfg -d /VSAN/DOMPauseAllCCPsesxcfg-advcfg -d /VSAN/IgnoreClusterMemberListUpdates
For any further questions or issues while re-enabling vSAN please open a case with vSAN Support for further assistance.
To Re-install ESXi on all hosts in the cluster see KB Rebuilding a vSAN cluster after reinstalling ESXi on all hosts without vCenter while preserving production data