Thursday, September 29, 2016

How to add a host back to a VSAN cluster after an ESXi host rebuild (2059091)

To rejoin the ESXi host to the Virtual SAN cluster:

  1. Install the host, ensuring that you preserve the Virtual SAN disk partitions.
  2. Configure the Virtual SAN VMkernel port group on the host. For more information, see Configuring Virtual SAN VMkernel networking (2058368).
  3. Reconnect the host to the Virtual SAN cluster in vCenter Server.
  4. Connect to one of the remaining Virtual SAN cluster hosts using SSH.
  5. Identify the Virtual SAN Sub Cluster ID using this command:

    # esxcli vsan cluster get

    You see output similar to:

    Cluster Information
    Enabled: true
    Current Local Time: 2013-09-06T18:50:39Z
    Local Node UUID: 521b50a1-ad57-5028-ad51-90b11c3dd59a
    Local Node State: MASTER
    Local Node Health State: HEALTHY
    Sub-Cluster Master UUID: 521b50a1-ad57-5028-ad51-90b11c3dd59a
    Sub-Cluster Backup UUID: 52270091-d4c9-b9a0-377b-90b11c3dfe18
    Sub-Cluster UUID: 5230913c-15de-dda3-045e-f4d510a93f1c
    Sub-Cluster Membership Entry Revision: 1
    Sub-Cluster Member UUIDs: 521b50a1-ad57-5028-ad51-90b11c3dd59a, 52270091-d4c9-b9a0-377b-90b11c3dfe18
    Sub-Cluster Membership UUID: f3b22752-f055-bcc5-c622-90b11c3dd59a

  6. Run this command on the newly rebuilt ESXi host using the Sub Cluster UUID identified in step 5:

    # esxcli vsan cluster join -u sub_cluster_UUID

    For example:

    # esxcli vsan cluster join -u 5230913c-15de-dda3-045e-f4d510a93f1c
  7. Verify that the host is now a part of the Virtual SAN cluster by running the command:

    # esxcli vsan cluster get

    You see output similar to:

    Cluster Information
    Enabled: true
    Current Local Time: 2013-09-06T11:51:51Z
    Local Node UUID: 522756f5-336a-8de0-791a-90b11c3e1fb9
    Local Node State: AGENT
    Local Node Health State: HEALTHY
    Sub-Cluster Master UUID: 521b50a1-ad57-5028-ad51-90b11c3dd59a
    Sub-Cluster Backup UUID: 52270091-d4c9-b9a0-377b-90b11c3dfe18
    Sub-Cluster UUID: 5230913c-15de-dda3-045e-f4d510a93f1c
    Sub-Cluster Membership Entry Revision: 1
    Sub-Cluster Member UUIDs: 521b50a1-ad57-5028-ad51-90b11c3dd59a, 52270091-d4c9-b9a0-377b-90b11c3dfe18, 522756f5-336a-8de0-791a-90b11c3e1fb9
    Sub-Cluster Membership UUID: f3b22752-f055-bcc5-c622-90b11c3dd59a

  8. In the vCenter Server, refresh the Virtual SAN status view. All hosts now report the status as Healthy.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.