...
A vSAN Witness node (Virtual or Physical) is isolated. To confirm witness node isolation run the command: esxcli vsan cluster get If the output of the command returns: Sub-Cluster Member Count: 1 Local Node State: STANDALONE Then the Witness is confirmed to be isolated from the vSAN Cluster.The vSAN Witness node cannot form a cluster with the remaining vSAN data nodes in a stretched cluster configuration.Pinging the Witness node from a vSAN ESXi host fails.Pinging an ESXi host from a Witness works, but not with a full TCP frame. You can use below vmkping command to test the connectivity : vmkping -I <witness-vmk#> <vsan-IPaddress> -s <icmp-data-size> -d Note: -d option is for 'don't fragment' bit on the IPv4 packet. -s is for size. 8972 is the size needed for 9000 MTU and 1472 is the size needed for MTU 1500.
In a vSAN stretched cluster the Witness plays an important role assuring keeping all the witness components of the vSAN objects available. To ensure proper TCP/IP communication between the data hosts and the Witness, these requirement exist: Round-Trip Time (RTT) latency between the Witness and the ESXi hosts must be <200ms (500ms in ROBO cluster, 100ms if 11-20 nodes per site).A full frame must be sent between pings. If using MTU 1500, the unfragmented payload must be at least 1472 bytes. To verify if the payload can be sent, run this command from one of the ESXi hosts: vmkping -I <VSANvmknic> <WitnessIP> -s 1472 -d -c20 If the ping fails, something on the network is not allowing the full payload to travel between the ESXi and the Witness node. Verify the unicast table in the ESXi hosts, by running the following command esxcli vsan cluster unicastagent list The Witness appears with the value 1 in the "is witness" section In case that the Witness does not appear in the unicastagent list, we can add it by running the following commands : From the Witness node, esxcli vsan cluster get, collect the local UUIDFrom the ESXi hosts, esxcli vsan cluster unicastagent add -t witness -u <local_UUID> -U true -a <vSAN IP address> -p 12321 Static routes must be created on all the ESXi hosts. Additional information on how to add static routes to ESXi hosts can be found in the Network Design for Stretched Clusters Tagging can be used instead of static route on vSAN 6.6, 6.7, or 7.x. Please see Configure Network Interface for Witness Traffic for more information. Please see TCP and UDP ports required to access VMware vSAN for more information on what ports are required between vSAN nodes and the Witness node. Verify the vSAN tags with the command esxcli vsan network list To have a better understanding about vSAN tags please refer to the following document: Understanding the vSAN Witness Host – Traffic Tagging Verify the ESXi version of the Witness is the same build as the rest of the cluster, as version mismatch will prevent the Witness node from joining the cluster. Recommendation The Management (vmk0) and WitnessPg (vmk1) VMkernel interfaces on the vSAN Witness node must not be configured to use addresses on the same subnet. This creates a Multi-Homing situation, referenced in KB 2010877. If only a single subnet is available for the vSAN Witness node, it is recommended to untag vSAN traffic on vmk1 and tag vSAN traffic on vmk0 on the vSAN Witness node.
简体中文: 对 vSAN 见证节点隔离进行故障排除vSAN 2-Node Cluster Guidehttps://core.vmware.com/resource/vsan-2-node-cluster-guidevSAN Stretched Cluster Guidehttps://core.vmware.com/resource/vsan-stretched-cluster-guide