Newly created vSAN disk groups unhealthy after ESXi host rebuild.
search cancel

Newly created vSAN disk groups unhealthy after ESXi host rebuild.

book

Article ID: 424389

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

vSAN ESXi host was rebuilt and vSAN disk group getting created successfully.

However, the newly created disk group on the esxi host show up as Unhealthy.

Environment

VMware vSAN 8.x

Cause

ESXi host is not part of the vSAN cluster.

Resolution

ESXi host should be part of the vSAN cluster for the disk groups to be healthy.

 

Fetch the Sub-cluster UUID from the esxi host which is part of the vSAN cluster to which we are going to add the host in question, using the command.

esxcli vsan cluster get

[root@esxi:~] esxcli vsan cluster get
Cluster Information
   Enabled: true
   Current Local Time: 
   Local Node UUID: 
   Local Node Type: NORMAL
   Local Node State: BACKUP
   Local Node Health State: HEALTHY
   Sub-Cluster Master UUID: 
   Sub-Cluster Backup UUID: 
   Sub-Cluster UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
   Sub-Cluster Membership Entry Revision: 3
   Sub-Cluster Member Count: 4
   Sub-Cluster Member UUIDs: 
   Sub-Cluster Member HostNames: 
   Sub-Cluster Membership UUID: 
   Unicast Mode Enabled: true
   Maintenance Mode State: ON
   Config Generation: 
   Mode: REGULAR
   vSAN ESA Enabled: false

 

Use the following command to join the Host to vSAN cluster.

esxcli vsan cluster join -u <Sub-cluster UUID>

 

Now the Disk groups will show up as healthy.