Lesson 7 of 9 · 27m
Clustering, Quorum, and High Availability
What corosync, quorum, HA resources, fencing, and a qdevice really do — and when a cluster makes operations worse instead of better.
A Proxmox cluster is first a management and configuration fabric, not automatically a magical uptime machine. Corosync keeps membership and configuration synchronized. High availability is a separate decision layered on top, and it only works when fencing and quorum are honest.
Quorum is the cluster's spine
Quorum answers: which side of a network split is allowed to act? In a three-node cluster, any two nodes form a majority. In a two-node cluster, a failure can produce a tie, so a lightweight external qdevice is commonly used as a tie-breaker.
pvecm status
corosync-cfgtool -s
systemctl status corosync pve-clusterA qdevice does not run VMs and does not magically make two nodes equal to three. It votes so one surviving node can know whether it is authoritative. Put it on independent infrastructure, not inside the same failure domain as one of the nodes.
Cluster networking deserves isolation
Corosync traffic is latency-sensitive. It should not compete blindly with backup replication, Ceph recovery, or a guest doing multi-gigabit copies. Dedicated links or well-planned VLANs are not perfectionism; they are how you avoid false node isolation.
# conceptual separation
vmbr0: management + guest VLANs
vmbr1: corosync / cluster traffic
vmbr2: storage or replicationA rebooted node rejoining a cluster is routine. A node flapping in and out because corosync shares an overloaded bridge is self-inflicted chaos.
HA is a contract with fencing
When HA is enabled, the cluster manager watches resources and attempts recovery after node failure. It must know the old node is really gone before starting the same guest elsewhere. Otherwise you can get split brain: two copies of the same VM writing to shared storage.
Proxmox generally uses watchdog and node isolation behavior, but power fencing through IPMI or managed PDUs is stronger for serious deployments. Do not celebrate automatic restart until you have pulled power from a test node and observed what actually happens.
HA groups and priorities are policy
Use groups to express where guests may run. A database may prefer nodes with local NVMe; a batch worker may run anywhere. Priorities influence recovery order when capacity is constrained.
The operational question is not "can VM 101 restart elsewhere?" It is "after node loss, which services matter first, and does remaining capacity honestly support them?"
Field notes
- A cluster adds coupling. If you only need one host, do not create a one-node cluster without reason; standalone nodes are simpler.
- Never experiment with corosync configuration on production during business hours. Membership changes are disruptive by design.
- HA does not replace backups. It handles node failure, not deletion, corruption, bad updates, or application logic errors.
- Quorum loss can make configuration write operations fail even though guests continue running. Know that distinction before panic-editing files.
- Test fencing with power removal, not just a clean shutdown. Clean shutdown is the easy case and often the one that hides broken assumptions.
Was this lesson helpful?