3 Replies Latest reply on Oct 7, 2015 9:18 AM by gopanaboena

    Force delete node from vSAN cluster.

    lohikalm Lurker

      Good day.

      Maybe this question asked before, but I didn't find anything related.

       

      We have 4-node vSAN cluster. We entered one node to maintenance mode(with full data migration), and removed it from rack. Node broken while maintenance, we can't return it to the cluster.

      After node disconnect there is an error appeared "Host cannot communicate with all other nodes in the Virtual SAN enabled cluster".

       

      The question is:

      How to remove node from vSAN cluster if node is totally dead?

        • 2. Re: Force delete node from vSAN cluster.
          jmadpalw Enthusiast

          To resolve this issue, you must prepare disabling on the VSAN cluster.

           

          To prepare disabling on the VSAN cluster:

           

          1. Log in to each ESXi host's console, see Using ESXi Shell in ESXi 5.x and 6.0 (2004746).
          2. Place the host in maintenance mode and select the full data migration option.
          3. To obtain information about the VSAN storage, run this command:

            # esxcli vsan storage list


          4. To disable automated mode, run this command:

            # esxcli vsan storage automode set --enabled false


          5. To remove the specific SSD disk used in VSAN configuration, run this command:

            # esxcli vsan storage remove -s [SSD-DEVICE-ID]


          6. To obtain information about the VSAN cluster for the ESXi host, run this command:

            # esxcli vsan cluster get

            Cluster Information
            Enabled: true
            Current Local Time: 2014-02-11T17:44:23Z
            Local Node UUID: 52b1c2e5-d99e-3c5e-1f5c-0025b5010a01
            Local Node State: MASTER
            Local Node Health State: HEALTHY
            Sub-Cluster Master UUID: 52b1c2e5-d99e-3c5e-1f5c-0025b5010a01
            Sub-Cluster Backup UUID:
            Sub-Cluster UUID: 523d154a-3198-d9bb-2829-bf1e4b8cf1b0
            Sub-Cluster Membership Entry Revision: 0
            Sub-Cluster Member UUIDs: 52b1c2e5-d99e-3c5e-1f5c-0025b5010a01
            Sub-Cluster Membership UUID: 7d41fa52-dcbd-06b8-6b99-0025b5010a01


          7. To disconnect the host from the VSAN cluster, run this command:

            # esxcli vsan cluster leave


          8. To find any left-over configuration, run this command:

            # esxcli vsan cluster get


            Note: The command should not return anything if VSAN cluster information gets removed. You can also verify that the vsanDatastore will disappear from the Configuration > Storage option, too.


          9. From the Hosts tab of the cluster, ensure no ESXi host is part of the VSAN cluster. After confirmation, right-click on the cluster and then click Remove.
          • 3. Re: Force delete node from vSAN cluster.
            gopanaboena Enthusiast

            Hi

             

            Refer HOL-SDC-1408 document, to remove host from vSAN, only thing is "Add disks to storage should be "automatic", So that when you remove the ESXi from VSAN, immediately related devices will remove from VSAN.