m4nifest0-tech

Search the site

Proxmox VE cluster

Proxmox VE cluster

Virtualization cluster based on Proxmox VE, with quorum, a dedicated network for cluster services, and storage replicated between nodes.
ActiveUpdated on

Objective

Run virtual machines and containers reliably, with the ability to do maintenance on nodes and to recover services after a failure.

Architecture

The cluster consists of three Proxmox VE nodes connected to a managed switch and to a network dedicated to cluster services. Each node has local ZFS storage replicated to the other nodes; the HA manager restarts protected resources on a surviving node after a failure.

Three-node Proxmox VE clusterA managed switch and a network dedicated to cluster services connect three Proxmox VE nodes. The nodes use local ZFS storage replicated between them and host virtual machines and containers, which the HA manager restarts on another node in case of failure. The dashed links represent the cluster network, used by Corosync and replication.NetworkCluster nodesResourcesManaged switchmanagement and VM trafficCluster networkCorosync and replicationNode 1Node 2Node 3Replicated ZFS storageasynchronous replicationVMs and containersautomatic restart with HA
Three-node Proxmox VE cluster. A managed switch and a network dedicated to cluster services connect three Proxmox VE nodes. The nodes use local ZFS storage replicated between them and host virtual machines and containers, which the HA manager restarts on another node in case of failure. The dashed links represent the cluster network, used by Corosync and replication.Solid line: direct connection. Dashed line: logical or secondary connection.

Details

Details

The cluster groups several Proxmox VE nodes into a single management entity: configurations, virtual machines, and containers are visible from any node. The diagram shows the typical three-node setup, the minimum needed to keep quorum even after one node fails.

  • Network: management and VM traffic go through a managed switch; a dedicated network carries the cluster services (Corosync) and replication.
  • Storage: local ZFS pools on the nodes, with asynchronous replication of the protected machines.
  • High availability: the HA manager restarts protected resources on a surviving node; watchdog-based fencing prevents double activation.
  • Maintenance: updates are done on a rotating basis, moving workloads first with live migration.

Current setup

  • Nodes: three, the minimum that lets quorum survive the failure of a single node. They are mismatched machines (not an identical kit): the characteristics of each are in Physical nodes and hardware.
  • Version: Proxmox VE 9, updated regularly (packages and kernel), reading the release notes before every minor version upgrade.
  • Storage: each node has one or more local ZFS pools (size and number vary from node to node, depending on the available disks) that host the operating system and the VM disks; machines protected by the HA manager are replicated asynchronously to a second node every few minutes, so recovery after a failure starts from a recent state rather than from the last backup.

Further reading

Creating the cluster and how quorum works are described in Three-node Proxmox VE cluster: setup, quorum, and first checks.