Two servers are a given in many environments: there is no budget for more, yet nothing is allowed to fail. This is exactly where many Proxmox setups stumble over quorum. This guide shows how a QDevice turns two nodes into a stable cluster - and where the limits are. The steps follow the Proxmox VE cluster manager documentation (as of October 2026). The fundamentals for larger clusters are covered in the HA cluster setup guide.
Two-node cluster as managed hosting
WZ-IT provides servers and operations from a single source: every server size is also available as a two-node cluster with a quorum device and ZFS replication.
Why two nodes lose quorum when one fails
Corosync decides by majority: only the part of the cluster holding more than half of the votes may write changes. With two connected, active nodes, two of two votes are present: the cluster has quorum. Each node has one vote by default. If a node fails or the link between them breaks, neither side has a majority - the cluster goes read-only. No VM starts, no configuration changes, no failover. In precisely the outage the second server was bought for, the cluster blocks.
What a QDevice is
A QDevice consists of two parts: the corosync-qdevice daemon on every cluster node and the external arbitrator corosync-qnetd on a third host. Proxmox supports only the "QDevice Net" algorithm (Proxmox cluster documentation). The arbitrator connects via TCP/IP, is not subject to any corosync latency requirement and may therefore sit outside the cluster LAN. Any reachable Linux machine will do - typically a small VM at another location. The Raspberry Pi is common community practice, but not an official recommendation of the documentation.
Important for planning: Proxmox supports QDevices for clusters with an even node count and explicitly recommends them for two-node clusters. For odd node counts the documentation advises against it. There the QDevice provides N-1 votes, and if the qnetd fails, no further node may fail (Supported Setups).
Prerequisites and ports
Before you set up, make sure these points are met (Proxmox cluster documentation, QDevice Net setup):
- Even node count. Two nodes meet this; the normal corosync traffic (UDP ports 5405 to 5412) remains required between the nodes.
- All nodes online. All nodes of the cluster must be reachable during setup.
- External host with network access. It must reach the cluster via TCP/IP and be able to provide the
corosync-qnetdpackage. Proxmox provides a package for Debian-based hosts, and other Linux distributions offer it through their package manager. - TCP port 5403. This is the default port of qnetd; it must be reachable from the cluster. If
pvecm statuslater lists the QDevice as "NA" (not alive), this port is the first place to look. - Root SSH access for the setup.
pvecm qdevice setupautomatically copies the cluster's SSH key to the external server. Set up key-based access for root there, or allow root login with a password temporarily during setup. If the setup reports "Host key verification failed",pvecm updatecertscan fix it.
Step 1: provision an external QDevice host
Pick a Linux machine both nodes can reach via TCP/IP. Since there is no latency requirement, another location is actually a plus: the arbitrator then survives the outage of the very server room it is meant to protect.
Step 2: install corosync-qnetd
On the external host:
apt install corosync-qnetd
Step 3: install corosync-qdevice on both nodes
On both Proxmox nodes:
apt install corosync-qdevice
Step 4: set up the QDevice
On one of the two nodes:
pvecm qdevice setup <arbitrator-IP>
The command sets up the certificates and adds the QDevice to the corosync configuration. On success it reports "Done".
Step 5: test quorum and failover
pvecm status should now show three expected votes, including the Qdevice line. For orientation, an excerpt from the Proxmox cluster documentation (the documentation's example, not our own measurement; the IP addresses come from that example):
Votequorum information
~~~~~~~~~~~~~~~~~~~~~
Expected votes: 3
Highest expected: 3
Total votes: 3
Quorum: 2
Flags: Quorate Qdevice
Membership information
~~~~~~~~~~~~~~~~~~~~~~
Nodeid Votes Qdevice Name
0x00000001 1 A,V,NMW 192.168.22.180 (local)
0x00000002 1 A,V,NMW 192.168.22.181
0x00000000 1 Qdevice
The "Qdevice" column shows three status values (QDevice status flags): A means the connection to the external qnetd works (NA: not reachable); V means the QDevice casts a vote for this node; NMW means "master wins" is not active, which is the default.
Then shut down one node as a test: the remaining node holds two of three votes together with the QDevice and stays quorate.
Shortcuts that endanger quorum and HA
Three widespread "solutions" do not replace the QDevice:
two_node: 1: the corosync flag carries fence races and split-brain risk and is not intended as a pattern in the PVE documentation.auto_tie_breaker: incompatible with a QDevice according to the votequorum man page - do not combine.pvecm expected 1: a pure emergency command to make a single node quorate again, not a permanent configuration.
HA and storage on two nodes
The HA documentation requires "at least three cluster nodes" for reliable quorum (Proxmox HA documentation). The QDevice supplies that third vote, so HA technically works - but three real nodes remain the documented recommendation. On fencing: if a node loses quorum, it self-fences via watchdog after 60 seconds, and only then does HA restart the guests on the other node. How to size the nodes for this is covered in the guide on Proxmox hardware requirements and sizing.
For storage, Ceph is out since it needs at least three nodes. The pattern for two nodes is ZFS plus storage replication (pvesr): it works only with ZFS and replicates asynchronously at a default interval of 15 minutes (minimum 1 minute). On failover the last delta may therefore be lost - HA is allowed, but the workload has to tolerate this possible data loss. The storage options are compared in Proxmox storage: ZFS, Ceph or LVM.
Removing the QDevice or replacing it with a third node
If the QDevice was set up with the official pvecm tool, remove it on one of the nodes with:
pvecm qdevice remove
The same applies when the number of nodes changes: if a node is to be added or removed, the documentation requires removing the QDevice first. After that, nodes can be added or removed normally; once the node count is even again, the QDevice can be set up anew (Proxmox cluster documentation).
For the move to three real nodes this means: remove the QDevice, add the third node with pvecm add, then design the cluster for high availability with three nodes. The joining node must not hold any guests; the procedure and pitfalls are in the guide on high availability with three nodes. For odd node counts the documentation advises against a QDevice.
Operations and hosting
Two nodes plus a QDevice are the entry point to high availability in many environments. WZ-IT offers three routes:
- Servers and operations from a single source: managed Proxmox hosting. Every server size can be booked as a two-node cluster with a quorum device and ZFS replication, or as a three-node cluster. Clusters with operations at a glance: rent a Proxmox cluster.
- Operate your own hardware: Managed Proxmox from €179.90 net per node per month.
- Extend to three nodes: building a three-node cluster is part of the Proxmox setup.
Whether two nodes plus a QDevice are enough for your case or a third node is the better investment is something we are happy to clarify in a free initial consultation.
The separate ZFS replication guide covers storage jobs and acceptance without replacing quorum or backup.











