During physical network maintenance or an upstream switch upgrade (e.g., Cisco Core), VMware Cloud Foundation (VCF) or vSAN clusters experience unexpected virtual machine restarts and vSphere HA triggers.
Symptoms:
vCenter events: vim.event.NotEnoughResourcesToStartVmEvent. (Reason: The host(s) cannot access virtual machine components).
Log Evidence: In /var/run/log/vsansystem.log, rapid membership fluctuations are seen as the node count drops despite physical links remaining "Up":2026-04-17T00:31:57.449Z ... nodeCount: 17 2026-04-17T00:32:48.046Z ... nodeCount: 3 (Partition detected)
Example:
2026-05-09T19:16:59.011Z: [netCorrelator] 33953414822407us: [vob.net.vmnic.linkstate.up] vmnic vmnic0 linkstate up - vSAN communication stopped when we see the flap
2026-05-09T19:17:06.557Z cpu92:2099188)CMMDS: CMMDSAgentlikeCheckNode:3118: 52f32996-2fc9-c8d3-7ac2-#####: Lost contact with leader
2026-05-09T19:21:38.260Z: [netCorrelator] 33953694048827us: [vob.net.vmnic.linkstate.down] vmnic vmnic2 linkstate down
VMware Cloud Foundation (VCF) 9.0.x
VMware vSAN 8.0.x/9.0.x (OSA and ESA)
Cisco Core / Dell TOR Switching environment.
The ESXi hosts are configured with Link Status Only failure detection. This mechanism only detects failures at the immediate physical point-to-point connection (ESXi to the Access/TOR switch). If a failure occurs upstream (e.g., between the TOR and the Core switch), the ESXi host perceives the local link as "Up" and continues to send traffic into a "black-hole". This leads to vSAN heartbeat loss, cluster partitioning, and HA isolation events.
To prevent "black-hole" failures, implement hardware-based link state synchronization on the physical switch infrastructure:
To prevent a "premature failback" where ESXi moves traffic back to a primary uplink before the switch's control plane (STP/VLANs) has fully converged, the following teaming policy is recommended for all vSAN-tagged VMkernel ports:
Load Balancing Policy: Use "Route based on originating virtual port" or "Route based on physical NIC load" (depending on your vDS configuration).
Network Failure Detection: Link status only.
Failback: No (Crucial for maintenance windows).
Failover Order: Ensure you have a clear Active/Standby or Active/Active priority.
Technical Justification: Setting Failback: No ensures that once a failover to a healthy secondary switch occurs, the traffic remains on that stable path even if the primary link reports a physical "Link Up" state during its boot sequence. This prevents a "race condition" where the ESXi host's sub-second link detection outpaces the physical switch's multi-second port initialization, effectively avoiding a cluster partition and subsequent HA VM restarts.
Configure Link State Tracking:
Cisco Switches: Implement link-state track. Bind the state of the Core-facing (upstream) ports to the Host-facing (downstream) ports.
Dell Switches: Implement Link Dependency.
Verify ESXi Failover:
Once the switch disables the port, the ESXi Link Status Only mechanism will trigger a failover to a surviving redundant uplink.
Enable PortFast: Ensure PortFast or Edge Port is enabled on all host-facing ports so that the link returns to a forwarding state immediately upon recovery, avoiding 30-second Spanning Tree (STP) delays.
Note: Beacon Probing is discouraged for vSAN due to risks of MAC flapping and "VM freezing" during component re-evaluation. Hardware-based Link State Tracking is the preferred enterprise solution.
Related KBs: