VMware vSAN 6.0.x
VMware vSAN 7.x
VMware vSAN 8.x
To troubleshoot and resolve configuration errors:
To view the list of ESXi hosts, run the esxcli vsan cluster get command. If you run the command on the witness host, the local node type appears as WITNESS.
For example:
[root@:~] esxcli vsan cluster get
Cluster Information
Enabled: true
Current Local Time: 2015-06-25T23:52:26Z
Local Node UUID: ########-e92f-c784-8b00-############
Local Node Type: WITNESS
Local Node State: AGENT
Local Node Health State: HEALTHY
Sub-Cluster Master UUID: ########-0439-2d57-8994-############
Sub-Cluster Backup UUID: ########-1a32-1527-2847-############
Sub-Cluster UUID: ########-9d60-5893-d523-c3cbeb61e1bb
Sub-Cluster Membership Entry Revision: 2
Sub-Cluster Member Count: 3
Sub-Cluster Member UUIDs: ########-0439-2d57-8994-############, ########-e92f-c784-8b00-############, ########-1a32-1527-2847-############
Sub-Cluster Membership UUID: ########-1ba1-5615-44ac-############
You can collect the list of node information and preferred fault domain by querying CMMDS from a host.
For example:
[root@:~] cmmds-tool find -t NODE
owner=00000000-0000-0000-0000-000000000000(Health: Healthy) uuid=########-1a32-1527-2847-############ type=NODE rev=0 minHostVer=0 [content = (i2 i1 i0 i1 i0)], errorStr=(null)
owner=00000000-0000-0000-0000-000000000000(Health: Healthy) uuid=########-0439-2d57-8994-############ type=NODE rev=0 minHostVer=0 [content = (i2 i1 i0 i1 i0)], errorStr=(null)
owner=00000000-0000-0000-0000-000000000000(Health: Healthy) uuid=########-e92f-c784-8b00-############ type=NODE rev=0 minHostVer=0 [content = (i2 i1 i3 i1 i0)], errorStr=(null)