What Is a Proxmox Cluster? High Availability Guide for Growing VDS/Hosting Providers
A guide to combining multiple physical servers in a single Proxmox cluster, designing the Corosync network and creating fault-tolerant VDS infrastructure with High Availability (HA).
It is easy to run Proxmox on a single physical server. You install the operating system on the server, turn on the virtual machines and everything works fine. Until that server's motherboard fails, the power supply explodes, or the switch port in the data center locks up.
In a single-server setup, all 50 customers on that machine experience an outage and your hands are tied until the hardware is replaced.
As they grow, hosting providers can evaluate the Proxmox Cluster architecture against their needs. In this guide, we examine how a cluster works, the details of the Corosync protocol, and the High Availability mechanism that helps protect virtual machines against outages.
1. How Does Proxmox Cluster Architecture Work?
Proxmox Cluster is the combination of multiple independent physical servers (nodes) under a single virtual management layer. When you set up a cluster:
- You manage all servers from a single web panel. You can open Node 1's IP address and stop or start a VM on Node 5.
- You can move virtual machines between servers live (Live Migration) with one click under suitable conditions; test for brief pauses and effects on the application.
- If one of the servers goes down, the High Availability (HA) manager automatically restarts that server's machines on a healthy server.
2. Heartbeat: Corosync and Quorum Rule
A Proxmox cluster uses a cluster communication engine called Corosync. Servers send an "I'm alive" signal to each other within milliseconds.
The most critical concept here is the Quorum (Absolute Majority) rule: For the cluster to make sound decisions, more than half of the total number of servers (50% + 1) must be in communication with each other.
- In a cluster with 3 servers, the absolute majority is 2. Even if 1 server dies, the remaining 2 servers continue to work.
- A two-server cluster carries a significant risk. When one of the servers goes down, the remaining server cannot form a majority (with two votes, a majority requires both). The cluster is locked and the system protects itself so that the virtual machines cannot accidentally start on both sides (split brain).
Field Tip: If you only have 2 powerful servers, you can connect a small VPS or a mini PC in the office to the cluster as a QDevice (Quorum Device) instead of purchasing a third server. This lightweight service only contributes a vote and can help two-server clusters maintain a voting majority; qdevice availability, latency and failure scenarios should be planned separately.
3. Network Architecture: Vital Rules
One of the most serious mistakes in a Proxmox cluster is sending Corosync traffic through the same physical port as customer internet traffic.
The port becomes saturated when a DDoS attack occurs on one of the clients or when a large backup begins. Corosync packets are delayed (if latency, packet loss, and timeout conditions occur) and Proxmox thinks the other server is dead and activates emergency protocols.
In an ideal hosting cluster, the network should be divided as follows:
- Customer Traffic (Public Network): A dual-port LACP bond through which VDSs go to the Internet.
- Corosync Network (Cluster Network): If possible, a separate Gigabit port that directly connects the servers. Low latency, zero packet loss.
- Storage and Migration Network: A dedicated 10G/25G link or faster for Ceph or ZFS replication.
4. High Availability (HA) Configuration
Setting up a cluster does not mean that virtual machines will be moved automatically. You need to activate the HA mechanism:
- Storage access: The target node must be able to access guest disks. Shared storage or supported ZFS replication may be considered. ZFS replication is asynchronous; data loss may occur between the last successful synchronization and the failure.
- Adding to HA Manager: In the Proxmox panel, go to Datacenter > HA.
- Select the virtual machine you want to protect and set the Max Restart and Max Relocate values.
The HA manager can restart the service on another node under appropriate quorum, fencing and resource conditions. This process involves time and downtime; it does not guarantee a fixed recovery time of 60–120 seconds or zero data loss.
5. Planned Maintenance with Live Migration
When you need to add RAM or update the BIOS on a physical server, you don't have to tell customers "there will be an outage at 3:00 a.m."
When you right-click on the machine in the Proxmox panel and select Migrate:
- The contents of the machine's memory are transferred in the background; duration depends on the rate of memory changes and network capacity.
- In the final millisecond, the remaining small set of memory changes is transferred and the machine continues to run on the other server.
- The client's SSH connection or website moves to the other physical server, with the possibility of a short pause depending on network, storage and guest compatibility.
Conclusion
A Proxmox cluster addresses the risks of relying on individual servers and supports a more professional hosting operation. With a properly planned Corosync network and a balanced storage architecture, you can reduce the impact of hardware failure; test HA restart time and application recovery.
Resources and related guides
- Proxmox VE cluster, HA and live migration features
- Proxmox: asynchronous ZFS replication and migration conditions
- vCenter and Proxmox cluster approaches
- Creating a backup plan separate from HA
Capacity and continuity for e-commerce infrastructure
Plan the cluster design around the resources your store needs at peak hours. For workload examples, see the e-commerce VDS scaling guide.