Homelab · The Build Series

Proxmox clusters: quorum, QDevice, and what HA really does

A Proxmox cluster is three features wearing one coat: one management view, guest migration, and — if you add HA — automatic restart after a node dies. The price of admission is quorum, and quorum is where two-node labs go wrong. Here is the arithmetic and the $35 fix.

Published Nov 20, 2026

Quorum: the majority rule that runs everything

Cluster nodes vote. Configuration changes, guest starts and migrations are allowed only when a strict majority of votes is present (quorate) — this is what stops two halves of a broken cluster from both thinking they are in charge (split-brain) and corrupting shared state. Now the arithmetic that bites: a 2-node cluster needs 2 of 2 votes. Lose either node and the survivor is non-quorate — its guests keep running, but nothing can be started, migrated or reconfigured until the other node returns. Four nodes tolerate exactly one failure, same as three (majority of 4 is 3). Even counts buy nothing; odd counts rule.

The escape hatch people find online — pvecm expected 1 — is an emergency override for recovery, typed by a human who can see the whole situation. As a design ("the cluster will just run on one node") it deletes the protection quorum exists for.

QDevice: the third vote that is not a node

Proxmox's documented answer for two nodes is a QDevice: a tiny external voter running corosync-qnetd on any always-on Linux box — the canonical homelab choice is a Raspberry Pi, and the NAS or the firewall appliance work too, as long as it is not a VM on one of the nodes it arbitrates (a voter that dies with its node votes for no one). Setup is one command (pvecm qdevice setup <IP>); it talks over TCP 5403 and — unlike corosync itself — has no tight latency requirement, so it may live anywhere reachable. Two nodes + QDevice = 3 votes, quorum 2: either node can now fail and the survivor stays in charge. On a split where both nodes live but cannot see each other, the QDevice votes for exactly one side (by default the lowest node ID), so precisely one partition keeps quorum. Proxmox recommends it for even-count clusters and advises against it on odd counts, where it adds a failure mode and no tolerance.

Corosync: the heartbeat has opinions

Nodes talk over corosync, which uses little bandwidth but is fussy about latency: Proxmox documents under 5ms between all nodes as the target, with a warning that ~10ms makes larger clusters unreliable. Practical rules: give corosync a dedicated NIC (gigabit is plenty) or at least keep backup/replication floods off its link — saturation bursts, not steady load, are what drop nodes; configure two corosync links on separate networks if you can (knet supports up to eight); set hostnames and IPs before joining, because neither can change afterwards; and a node must hold no guests when it joins. The dedicated-NIC rule is the one homelabs skip ("it's all one switch") and the one that matters most during a backup storm at 2 a.m.

HA: what failover actually is

With quorum solved, Proxmox HA watches designated guests and restarts them on a surviving node after a failure. Be precise about the mechanism, because expectations break here: fencing is by watchdog self-fencing — a node that loses quorum cannot reset its watchdog and reboots itself after about 60 seconds; only then does the cluster restart its guests elsewhere, as a cold restart from disk (RAM state is gone), typically completing in about two minutes total. Guests need shared storage, or ZFS replication with its data-loss window (the storage deep dive), for the restart to have current disks. PVE 9 replaced HA groups with HA rules (node and resource affinity), and 9.2's Dynamic Load Balancer rebalances HA guests across the cluster automatically.

What HA is not: it does nothing for a hung guest OS, a corrupt disk, or a deleted VM — node failure only. A switch reboot longer than ~60 seconds can fence every node behind it. And it is not a backup: HA restarts the guest you have, including the broken one, faithfully. Backups are the next guide.

Official documentation and references

Frequently asked questions

Can I run a two-node cluster without a QDevice?

You can form it, and it will work — until a node goes down for maintenance and the survivor refuses to manage anything because it is non-quorate. People do run this way and vote manually during maintenance. The QDevice costs almost nothing and removes the whole category of problem; there is no good reason to skip it.

Where should the QDevice live?

Any always-on Linux machine that is not one of the two nodes and not a VM on them: a Raspberry Pi, the NAS (in a container or VM it hosts independently), or a small appliance. It needs to be reachable by both nodes and up when they are — put it on the UPS too.

Does HA need shared storage?

The guest’s disks must be available to the surviving node: truly shared storage (Ceph, NFS, iSCSI), or local ZFS with replication configured and its accepted data-loss window. A guest on one node’s local LVM-thin cannot fail over — there is nothing for the other node to start.

The Homelab Build Series · Stage 4 · Platform

This guide is step 14 of 20 in a single build sequence: plan, hardware, network, platform, integration, operation. Each step assumes the ones before it and sets up the ones after.

Related guides