vSAN ESXi host was rebuilt and vSAN disk group was created successfully.
However, the newly created disk group on the esxi host show up as Unhealthy or with a question mark.
Skyline Health not green after rebuild.
VMware vSAN 8.x (OSA and ESA)
ESXi host is not part of the vSAN cluster.
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.
For OSA:
esxcli vsan cluster join -u <Sub-cluster UUID>
For ESA:
esxcli vsan cluster join -x <Sub-cluster UUID>
Now the Disk groups will show up as healthy.