Menu: runbooks, process, how-to, NIS2, wireless

How-to H6

Status
Published
Last reviewed
Written

Check Proxmox cluster and HA state

Read quorum, node and HA state on a Proxmox VE cluster, know what quorate and not quorate mean, and what not to do about it.

Before you start

  • Where: a shell as root on one of the cluster nodes (the web UI shell or SSH).
  • Know your cluster: how many nodes, and whether it uses an external vote (QDevice). Write it at the top of your record.
  • If a host is actually down tonight, use R4 Hypervisor host down.

Steps

1. Quorum

pvecm status

Source: pvecm manual, Proxmox VE

Read the line Quorate: and the vote counts (expected votes, total votes).

2. Which nodes are members

pvecm nodes

Source: pvecm manual, Proxmox VE

3. HA manager and resource state

ha-manager status

Source: ha-manager manual, Proxmox VE

The first line shows quorum as the HA stack sees it, then the master node and each node’s local resource manager (lrm), then each HA resource with its node and state.

4. If something looks wrong, read the cluster logs

journalctl -u corosync -u pve-cluster --since "2 hours ago"

Source: journalctl(1), Linux manual pages

Look for links going down and nodes leaving or joining.

What good and bad look like

  • Good: Quorate: Yes, total votes equal expected votes, every node listed, ha-manager status shows quorum OK, one active master, every lrm active, and each HA resource started (or stopped if you meant it to be).
  • Bad, fix soon: one node missing from pvecm nodes but the cluster still quorate. You are one failure away from losing quorum.
  • Bad, act now: HA resources in fence, recovery or error. The Proxmox docs describe fence as waiting for a node outside the quorate partition to be fenced, and recovery as the HA manager looking for a new node. Go to R4.
  • Bad, stop and escalate: Quorate: No. The pvecm manual: “The cluster switches to read-only mode if it loses quorum.” A node that runs HA resources and loses quorum fences itself: it reboots after about 60 seconds, when its watchdog runs out (see Fencing in the ha-manager manual). In a 2-node cluster without a QDevice, that can be the survivor.

Traps

  • pvecm expected 1. It tells corosync to expect one vote, which makes that node quorate. The pvecm manual documents it only for node removal and for editing the configuration on a node without quorum, never for running VMs. Using it to “get things running” on two halves of a split cluster can start the same VM twice on shared storage.
  • Two nodes without an external vote. When one node goes down, the other has half the votes and no quorum. The pvecm manual says HA needs “at least three nodes for reliable quorum”, and that a QDevice can provide a third vote for a two-node cluster.
  • Corosync on a busy network. Corosync needs consistent low latency. The pvecm manual recommends a dedicated physical NIC for cluster traffic and supports redundant links. Sharing a link with storage or backup traffic can make nodes drop out under load.
  • Turning HA off to stop fencing. Find out why the node lost quorum first.

Undo

Steps 1 to 4 only read. There is nothing to undo.

Record it

Example included. The row marked Example is made up to show the format. Delete it and add your own rows.

Date Cluster Quorate Votes (total of expected) HA resources not started Action Initials
Example: 2026-12-05 pve-cl01 Yes 3 of 3 None None AB

Sources

Was this useful?

Esc
↑ ↓ moveEnter openEsc close