Cluster membership lost when adding storage

This post was originally published on this site

I have 3 ESXi 6.7.0u3 hosts and trying to make vsan cluster. After configuring networking, and start setting up cluster on first host:

esxcli vsan cluster new

 

result:

[root@srv1:~] esxcli vsan cluster get

Cluster Information

   Enabled: true

   Current Local Time: 2020-09-02T11:46:22Z

   Local Node UUID: 5f4630de-4f35-4760-fd8f-9440c92e6eb8

   Local Node Type: NORMAL

   Local Node State: MASTER

   Local Node Health State: HEALTHY

   Sub-Cluster Master UUID: 5f4630de-4f35-4760-fd8f-9440c92e6eb8

   Sub-Cluster Backup UUID:

   Sub-Cluster UUID: 52cffc95-a360-d292-7279-b6304d366ae5

   Sub-Cluster Membership Entry Revision: 0

   Sub-Cluster Member Count: 1

 

 

on the other 2 hosts:

esxcli vsan cluster join -u 52cffc95-a360-d292-7279-b6304d366ae5

 

result cluster has 3 members:

[root@srv1:~] esxcli vsan cluster get

Cluster Information

   Enabled: true

   Current Local Time: 2020-09-02T11:46:49Z

   Local Node UUID: 5f4630de-4f35-4760-fd8f-9440c92e6eb8

   Local Node Type: NORMAL

   Local Node State: MASTER

   Local Node Health State: HEALTHY

   Sub-Cluster Master UUID: 5f4630de-4f35-4760-fd8f-9440c92e6eb8

   Sub-Cluster Backup UUID: 5f44f8e2-02bd-46f4-1db0-9440c92e6e78

   Sub-Cluster UUID: 52cffc95-a360-d292-7279-b6304d366ae5

   Sub-Cluster Membership Entry Revision: 2

   Sub-Cluster Member Count: 3

   Sub-Cluster Member UUIDs: 5f4630de-4f35-4760-fd8f-9440c92e6eb8, 5f44f8e2-02bd-46f4-1db0-9440c92e6e78, 5f44fa76-a1d9-efe6-d13d-9440c931d754

 

As soon as I add storage, it doesn’t matter on which of the 3 hosts, the host is not in the cluster anymore:

[root@srv1:~] esxcli vsan storage add -s mpx.vmhba0:C0:T64:L0 -d mpx.vmhba0:C0:T66:L0 -d mpx.vmhba0:C0:T67:L0 -d mpx.vmhba0:C0:T68:L0 -d mpx.vmhba0:C0:T69:L0

[root@srv1:~] esxcli vsan cluster get

Cluster Information

   Enabled: true

   Current Local Time: 2020-09-02T11:49:22Z

   Local Node UUID: 5f4630de-4f35-4760-fd8f-9440c92e6eb8

   Local Node Type: NORMAL

   Local Node State: MASTER

   Local Node Health State: HEALTHY

   Sub-Cluster Master UUID: 5f4630de-4f35-4760-fd8f-9440c92e6eb8

   Sub-Cluster Backup UUID:

   Sub-Cluster UUID: 52cffc95-a360-d292-7279-b6304d366ae5

   Sub-Cluster Membership Entry Revision: 0

   Sub-Cluster Member Count: 1

   Sub-Cluster Member UUIDs: 5f4630de-4f35-4760-fd8f-9440c92e6eb8

   Sub-Cluster Member HostNames: srv1

   Sub-Cluster Membership UUID: bb864f5f-20eb-225c-f795-9440c92e6eb8

   Unicast Mode Enabled: true

   Maintenance Mode State: OFF

   Config Generation: None 0 0.0

 

Status of the other 2 remaining hosts:

[root@srv2:~] esxcli vsan cluster get

Cluster Information

   Enabled: true

   Current Local Time: 2020-09-02T12:01:39Z

   Local Node UUID: 5f44f8e2-02bd-46f4-1db0-9440c92e6e78

   Local Node Type: NORMAL

   Local Node State: MASTER

   Local Node Health State: HEALTHY

   Sub-Cluster Master UUID: 5f44f8e2-02bd-46f4-1db0-9440c92e6e78

   Sub-Cluster Backup UUID: 5f44fa76-a1d9-efe6-d13d-9440c931d754

   Sub-Cluster UUID: 52cffc95-a360-d292-7279-b6304d366ae5

   Sub-Cluster Membership Entry Revision: 2

   Sub-Cluster Member Count: 2

   Sub-Cluster Member UUIDs: 5f44f8e2-02bd-46f4-1db0-9440c92e6e78, 5f44fa76-a1d9-efe6-d13d-9440c931d754

   Sub-Cluster Member HostNames: srv2, srv3

   Sub-Cluster Membership UUID: 26864f5f-a0bd-8377-dbbb-9440c92e6e78

   Unicast Mode Enabled: false

   Maintenance Mode State: OFF

   Config Generation: None 0 0.0

 

Any clues what causes this, and how to solve?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.