Inaccessibility and failover of virtual machines in vSAN Stretched clusters due to simultaneous data node and witness host unavailability
search cancel

Inaccessibility and failover of virtual machines in vSAN Stretched clusters due to simultaneous data node and witness host unavailability

book

Article ID: 432291

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

 

  • A review of /var/run/log/vsansystem.log reveals evidence of a network partition or node disconnection. These logs will indicate an unexpected decrease in the cluster node count (e.g., from 5 down to 3).

 

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2102049]: [vSAN@6876 sub=VsanSystemProvider opId=d8c55af6-8cee] Complete, cluster: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, nodeCount: 5, status: (vim.vsan.host.ClusterStatus) {

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2102059]: [vSAN@6876 sub=VsanSystemProvider opId=CMMDSMembershipUpdate-8cf8] Complete, nodeCount: 3, runtime info: (vim.vsan.host.VsanRuntimeInfo) {

 

YYYY-MM-DDThh:mm:ss.ms  vsansystem[2102059]: [vSAN@6876 sub=VsanSystemProvider opId=CMMDSMembershipUpdate-8cf8] Complete, nodeCount: 3, runtime info: (vim.vsan.host.VsanRuntimeInfo) {

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->    membershipList = (vim.vsan.host.MembershipInfo) [

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->       (vim.vsan.host.MembershipInfo) {

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->          nodeUuid = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->          hostname = "DATA-NODE_1"

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->       },

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->       (vim.vsan.host.MembershipInfo) {

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->          nodeUuid = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->          hostname = "DATA-NODE_2"

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->       },

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->       (vim.vsan.host.MembershipInfo) {

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->          nodeUuid = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->          hostname = "DATA-NODE_3"

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->       }

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->    ],

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->    diskIssues = <unset>,

YYYY-MM-DDThh:mm:ss.ms In(166) vsansystem[2101931]: -->    accessGenNo = <unset>

 

  • If a data node becomes unavailable, whether due to maintenance, a reboot, or hardware failure, coincident with the witness node being in maintenance mode or upgrade process, cluster accessibility will be impacted. This state can be verified by reviewing the /var/run/log/hostd.log and /var/run/log/vobd.log from the ESXi host.

 

hostd.log:

YYYY-MM-DDThh:mm:ss.ms In(166) Hostd[2102834]: -->    eventTypeId = "esx.audit.maintenancemode.entered",

YYYY-MM-DDThh:mm:ss.ms In(166) Hostd[2102861]: [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 315968 : The host has entered maintenance mode.

YYYY-MM-DDThh:mm:ss.ms In(166) Hostd[2102863]: [Originator@6876 sub=Vimsvc.ha-eventmgr opID=140a031d sid=52ccd5f0 user=dcui:vsanmgmtd] Event 315969 : Host schesxi31 in ha-datacenter has entered maintenance mode.

 

vobd.log:

YYYY-MM-DDThh:mm:ss.ms In(14) vobd[2097861]:  [GenericCorrelator] 487616660us: [vob.user.hostd.host.poweroff.reason] Reason for power off: <Reason for reboot: The host is being powered off through hostd.>, User: <USER_ID>

 

Environment

VMware vSAN

 

Cause

This issue occurs due to a loss of voting quorum when components residing within distinct fault domains are unseated simultaneously. Stretched clusters utilizing a Site Mirroring Storage Policy Based Management rule require independent component availability across three logical fault domains (Preferred Site, Secondary Site, and the Witness Host) to validate data object voting majorities. If a data node on one site is brought offline and at the exact moment the Witness host is undergoing separate patch updates or maintenance tasks, vSAN can no longer assemble a majority percentage (>50%) of active component votes. Consequently, storage accessibility drops on the affected site, temporarily affecting accessibility of Virtual Machines.

Resolution

This is expected behavior based on the configured SPBM policy and the concurrent loss of multiple fault domains. To prevent unexpected failovers:

  • Always verify that vSAN storage meets the active policy compliance before performing maintenance.
  • Ensure the Witness appliance is online and healthy before placing any data nodes into Maintenance Mode.
  • Avoid rebooting or performing maintenance on nodes across different fault domains simultaneously.

Additional Information

For more details on how stretched clusters handle failures, refer the KB article Understanding vSAN Stretched Cluster Failure Scenarios.