Tux Bilişim
ServicesMigrationsSLA PlansToolsGuidesTR
Free Quick Scan
Home/Blog/Architecture & Storage

TUX BİLİŞİM · Architecture & Storage

2-Node Proxmox Cluster: QDevice, ZFS Replication and HA Guide

Can you build a Proxmox VE cluster with only two servers? The quorum problem, a third vote with QDevice, HA without shared storage using ZFS replication and a realistic architecture for SMBs.

Tux Bilişim Engineering Note·Deep Technical Guide·10 min read·Updated: 2026-12-01

In This Guide

  1. Short Answer: Are Two Servers Enough?
  2. 1. Why Quorum Matters
  3. 2. What Is QDevice and Where Does It Run?
  4. 3. HA Without Shared Storage: ZFS Replication
  5. 4. Network Design
  6. 5. A Sample SMB Architecture
  7. 6. Test Before You Rely On It
  8. Frequently Asked Technical Questions (6)

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.

Quorum behaviour by node count
LayoutTotal votesWhen one node fails
2 nodes2Quorum lost, HA does not work
2 nodes + QDevice3Survivor + QDevice = 2/3, cluster runs
3 nodes3Remaining 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.

Setup outline
# 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 3

3. 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.

Ceph is not for two nodesCeph needs at least three nodes to run safely. With two servers, choose ZFS replication or an existing SAN instead.

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 →
SourcesProxmox VE Administration Guide: Cluster Manager (Corosync, QDevice) and Storage Replication chapters.

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 →

Run Readiness Check

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.

When one node fails, the survivor holds half the votes, quorum is lost and the cluster blocks new operations. HA cannot start VMs on the other node.

Very little is needed; qnetd only votes and runs no VMs. A mini PC or an existing Linux server works. It must not share power or network failure points with the cluster nodes.

Yes, with local ZFS and Proxmox storage replication on each node. Data written after the last replication can be lost, so choose the interval from your data-loss tolerance.

Not recommended. Ceph needs at least three nodes to run safely. With two servers, ZFS replication or an existing SAN is the better choice.

The default is 15 minutes and it can be more frequent. Critical VMs often use 1 to 5 minutes; more frequent replication adds network and disk load.

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.

Request Proposal

Related Technical Guides

All Guides (28) →
12 min readISO to Production: Proxmox VE Installation Guide9 min read10 Essential Configurations for Production Proxmox VE Clusters6 min readWhat Is Proxmox VE? Enterprise Open-Source Virtualization Architecture
Tux Bilişim

Enterprise Proxmox VE, KVM, Ceph HCI, and ZFS engineering. Controlled VMware migrations, 3-day Health Check audits, and monthly 24/7 SLA care.

Pendik, Istanbul (UTC+3) · Worldwide Remote · +90 546 659 34 61

Services

  • VMware → Proxmox Migration
  • Pre-Migration Readiness Checklist
  • Proxmox Installation
  • HA / DR Architecture
  • 3-Day Health Check
  • Monthly Maintenance & 24/7 SLA
  • Proxmox Support
  • Paid Proxmox Support
  • Proxmox Ceph Deployment
  • Proxmox Backup Server Setup
  • Hyper-V → Proxmox Migration
  • All Proxmox Services

Tools & Guides

  • TCO & ZFS Calculators
  • Technical Guides (28)
  • Get a Quote

Company

  • About & Global Map
  • Contact
  • Privacy / GDPR
© 2026 Tux Bilişim · Linux, KVM, Proxmox VE & Ceph Infrastructure Engineering
TR/EN
1Chat on WhatsAppInstant reply · Office hours