vSAN hosts partitioned from cluster due to disabled modules
search cancel

vSAN hosts partitioned from cluster due to disabled modules

book

Article ID: 440208

calendar_today

Updated On:

Products

VMware vSAN VMware vSphere ESXi

Issue/Introduction

User accidentally disabled vSAN modules on vSAN cluster, causing services to go down. The virtual machines will show as inaccessible and the hosts will be partitioned from the cluster in skyline health.  

Environment

VMware vSAN

Cause

This issue occurs when the vSAN modules are manually or accidentally disabled on the hosts. When the modules are disabled, the host cannot participate in the vSAN cluster, which prevents it from rejoining the cluster or maintaining configuration.

When running the following command, the ESXi host shows no local UUID and the local node status displays "DISCOVERY":

esxcli vsan cluster get
Cluster Information
   Enabled: true
   Current Local Time: 2026-05-10T12:48:51Z
   Local Node UUID:
   Local Node Type: NORMAL
   Local Node State: DISCOVERY
   Local Node Health State: HEALTHY
   Sub-Cluster Master UUID:
   Sub-Cluster Backup UUID:

To obtain subcluster UUID,  get a SSH to a healthy vSAN host that's already joined to that cluster and run command below 

esxcli vsan cluster get

The subcluster UUID can be found highlighted below

esxcli vsan cluster get
Cluster Information
 Enabled: true
 Current Local Time: 2016-11-21T15:17:57
 Local Node UUID: ########-####-####-####-############
 Local Node Type: NORMAL
 Local Node State: MASTER
 Local Node Health State: HEALTHY
 Sub-Cluster Master UUID: ########-####-####-####-############
 Sub-Cluster Backup UUID:########-####-####-####-############
 Sub-Cluster UUID: ########-####-####-####-############  <<< This UUID

When trying to rejoin host back into cluster by entering sub cluster uuid, this will error out below.

esxcli vsan cluster join -u #########-####-####-####-#########
VsanSaga Failed to join the host in vSAN cluster: Unable to load module /usr/lib/vmware/vmkmod/vsan: FailureVsanSaga Failed to join the host in vSAN cluster: Unable to load module /usr/lib/vmware/vmkmod/vsan: Failure

 

To check the status of the vSAN modules, list the system modules by running the following command:

esxcli system module list | grep -E 'vsan|cmmds|lsom'

esxcli system module list
Name                            Is Loaded  Is Enabled
------------------------------  ---------  ----------
vsanapi                              true        true
vsanbase                             true        true
vsanutil                             true        true
lsomcommon                           true        true
lsom                                 true        true
cmmds_net                            true        true
cmmds                                true        true
vsan                                false       false

Broadcom does not recommend manually disabling vSAN modules. Disabling these modules causes potential cluster outages if the host is rebooted.

Resolution

To re-enable the vSAN modules, load the required modules back on the host individually by running the following commands to set the status to true. 

esxcli system module set -e true -m vsan
esxcli system module load -m vsan --force

Confirm that both Is Loaded and Is Enabled appear as true by running the following command:

esxcli system module list | grep -E 'vsan|cmmds|lsom'

esxcli system module list
Name                            Is Loaded  Is Enabled
------------------------------  ---------  ----------
vsanapi                              true        true
vsanbase                             true        true
vsanutil                             true        true
lsomcommon                           true        true
lsom                                 true        true
cmmds_net                            true        true
cmmds                                true        true
vsan                                 true        true

If the host UUID remains missing and the node is still stuck in "DISCOVERY" mode, then the host will need to be exited out of the cluster and rejoined back. Note the Sub-Cluster UUID before proceeding.

esxcli vsan cluster leave

Rejoin the host to the cluster using the previously noted Sub-Cluster UUID:

esxcli vsan cluster join -u <sub-cluster uuid>

After the host rejoins the cluster, verify that the unicast agent lists are populated on each host:

esxcli vsan cluster unicastagent list

Note: If the unicast agent entries are missing, refer to the following guide  Configuring vSAN Unicast networking from the command line