Key Verification Checks
- Accept that two nodes alone cannot keep quorum; plan a third vote
- Use a small machine outside the cluster, with separate power and network path, for QDevice
- Give Corosync a dedicated (ideally redundant) network link
- Without shared storage, choose the ZFS replication interval from your data-loss tolerance
- Test a failure (power off a node) before going to production
Short Answer: Are Two Servers Enough?
Yes, you can build a Proxmox VE cluster with two servers, but two nodes alone are not a safe cluster. A Proxmox cluster allows writes only while it holds more than half of the Corosync votes (quorum). With two nodes, if one fails the survivor holds only half the votes, quorum is lost and the cluster becomes read-only; HA cannot act.
The fix is QDevice, which provides a third vote from a small machine outside the cluster. Combined with ZFS replication when there is no shared storage, two servers and a small helper machine give SMBs affordable high availability that really works.
1. Why Quorum Matters
Quorum prevents both halves of a split network from running the same VM at once (split-brain). Each node carries one vote by default and only the side with the majority acts. In a three-node cluster, losing one node leaves 2 of 3 votes and the cluster keeps running. Two nodes cannot reach that majority with one node.
Workarounds such as lowering expected votes to 1 help in an emergency, but as a permanent setting they bring back the split-brain risk. For production, the right answer is a third vote.
| Layout | Total votes | When one node fails |
|---|---|---|
| 2 nodes | 2 | Quorum lost, HA does not work |
| 2 nodes + QDevice | 3 | Survivor + QDevice = 2/3, cluster runs |
| 3 nodes | 3 | Remaining 2 nodes = 2/3, cluster runs |
2. What Is QDevice and Where Does It Run?
QDevice consists of the corosync-qdevice service on the cluster nodes and the corosync-qnetd service on a machine outside the cluster. The qnetd host runs no VMs; it only votes, so a mini PC, an existing Linux server or a light VM at another site is enough.
What matters is that QDevice does not share a failure point with the two nodes: separate power and, ideally, a separate network path. A QDevice running as a VM on one of the cluster nodes is pointless, because the vote disappears with that node.
# On the QDevice host (Debian based)
apt install corosync-qnetd
# On both cluster nodes
apt install corosync-qdevice
# On one cluster node
pvecm qdevice setup <QDEVICE-IP>
pvecm status # total votes should show 33. HA Without Shared Storage: ZFS Replication
If the two servers have no shared SAN, use a local ZFS pool on each node with Proxmox’s built-in storage replication. Replication sends ZFS snapshots of VM disks to the other node on a schedule; the default is every 15 minutes and it can be more frequent. When a node fails, HA starts the VM on the other node from the latest replica.
Be clear about the trade-off: data written after the last replication is lost. With a 15-minute interval the worst case is roughly 15 minutes of data. Systems that need zero data loss, such as databases, need shared storage or application-level replication. Replication requires ZFS pools with the same name on both nodes.
4. Network Design
Corosync is latency sensitive; sharing a link with heavy storage or backup traffic can make nodes lose each other and trigger needless HA failovers. Best practice with two nodes is a dedicated Corosync link plus a second redundant Corosync link. A direct cable between the two servers is also a cheap, fast path for replication and live migration.
5. A Sample SMB Architecture
A layout we often deploy: two Proxmox VE servers with local mirrored ZFS disks, two dedicated Corosync links, a direct link for replication and live migration, QDevice on a separate small machine and a separate Proxmox Backup Server. Critical VMs run under HA with 1 to 15-minute replication and every VM is backed up to PBS nightly.
With less hardware than a full three-server cluster, this lets critical services restart on the other server within minutes if one server fails completely.
6. Test Before You Rely On It
Before production, run a real failure test: cut power to one node and watch cluster quorum, how long HA takes to start VMs on the other node and the data state after replication. Then power the node back on and confirm replication returns to normal. HA that was never tested can surprise you at the first real failure.
To build a two-node cluster from scratch or turn your existing two servers into a safe cluster, see our Proxmox Installation Services and HA/DR Architecture pages.
- Proxmox Installation Services →
- Proxmox HA / DR Architecture →
- Proxmox Backup Server Deployment →
- Paid Proxmox Support →
Interactive Tool · 30-Second Risk Check
Test Your Cluster’s HA & Production Readiness
Answer 4 quick architecture questions on quorum, storage, network isolation, and backups to flag single points of failure before making changes. HA / DR Architecture →
Frequently Asked Technical Questions
Yes, but it needs a third vote to be safe. QDevice on a small machine outside the cluster provides it, so the surviving server keeps quorum when the other fails.
Hands-On Engineering & Consulting
Let’s review this topic against your live cluster
Share your host and VM count; we will define the safest scope in a free 15-minute discovery call.
