Check Hyper-V failover cluster and quorum state
Read node, quorum, witness, role and volume state on a Hyper-V failover cluster, and know which results mean stop.
Before you start
- Where: an elevated PowerShell on one of the cluster nodes, or on a management machine with the Failover Clustering tools. Add
-Cluster <cluster-name>to each command when you run it remotely. - Rights: local administrator on the nodes.
- For a routine check, pick a quiet time. If a host is actually down tonight, use R4 Hypervisor host down.
Steps
1. Node state
Get-ClusterNode | Format-Table Name, State
Source: Get-ClusterNode, Microsoft Learn
If the cmdlet answers and the nodes show Up, the cluster has quorum. If it cannot reach the cluster at all, the Cluster service may have stopped because quorum was lost: check the System event log for event 1177. Details in R4.
On Windows Server 2016 and later, a node can also show as Isolated (dropped out of the membership, may still be running its VMs) or Quarantined (kept out of the cluster for a while after dropping out repeatedly, its roles drained). Failover Cluster Manager and Get-ClusterNode show quarantined nodes (cluster node quarantine troubleshooting, Microsoft Learn).
2. Quorum configuration and witness
Get-ClusterQuorum | Format-List Cluster, QuorumResource, QuorumType
Get-ClusterResource | Where-Object ResourceType -like '*Witness*' | Format-Table Name, State, OwnerNode
Source: Get-ClusterQuorum and Get-ClusterResource, Microsoft Learn
Get-ClusterQuorum shows the quorum configuration, not whether the cluster has quorum right now.
Microsoft recommends always configuring a witness on Windows Server 2012 R2 and later (Deploy a quorum witness). A cloud witness needs outbound HTTPS (port 443) from every node to Azure Storage.
3. Roles (VMs) and anything not online
Get-ClusterGroup | Format-Table Name, OwnerNode, State
Get-ClusterResource | Where-Object State -ne 'Online' | Format-Table Name, ResourceType, OwnerGroup, State
Source: Get-ClusterGroup and Get-ClusterResource, Microsoft Learn
4. Cluster Shared Volumes
Get-ClusterSharedVolume | Format-Table Name, State, OwnerNode
Source: Get-ClusterSharedVolume, Microsoft Learn
5. If something is wrong, save the cluster log before anything changes
Get-ClusterLog -Destination C:\Temp\ClusterLogs -TimeSpan 120
Source: Get-ClusterLog, Microsoft Learn
-TimeSpan is in minutes. Attach the files to the ticket or the support case.
What good and bad look like
- Good: every node is
Up, the witness resource isOnline, every role you expect to run isOnline, and every CSV isOnline. - Bad, fix soon: a node is
Pausedthat nobody paused for maintenance, a node isQuarantined, or the witness isFailedorOffline. With no witness, one more node failure may cost you quorum. - Bad, act now: a node is
DownorIsolated, or roles areFailedorPartialOnline. Go to R4. Give failover at least 5 minutes before you decide a role did not move. - Bad, stop and escalate: the cluster has lost quorum and someone suggests forcing it.
Traps
- Forcing quorum.
Start-ClusterNode -ForceQuorummakes that node’s copy of the cluster configuration authoritative. Microsoft calls it “a last resort, because some cluster configuration changes could be lost” (Start-ClusterNode). Microsoft’s recovery guide says to investigate why quorum was lost first, and that bringing a node or the witness back is always preferable to forcing (Recover a failover cluster without quorum). Never on more than one side of a split. - A witness in the same room as the nodes. A file share witness on a server in the same rack fails with the rack.
- A cloud witness behind a proxy or firewall change that blocks port 443. The witness fails quietly until you need it.
- Reading one node only. A node that is cut off may report a different picture. Compare from a second node.
Undo
Steps 1 to 5 only read. If you paused a node for maintenance, resume it when done:
Resume-ClusterNode -Name <node-name> -Failback Immediate
Source: Resume-ClusterNode, Microsoft Learn
Record it
Example included. The row marked Example is made up to show the format. Delete it and add your own rows.
| Date | Cluster | Nodes up | Witness | Roles not online | CSVs | Action | Initials |
|---|---|---|---|---|---|---|---|
| Example: 2026-12-05 | HVCL01 | 2 of 2 | Cloud witness, Online | None | 2 of 2 Online | None | AB |