Skip to content
Dorian FINKEL
ProxmoxHigh availabilityCorosyncLessons learned · 2026 · 3 min read · Updated 9 October 2026

Proxmox high availability: migrating is not failing over

A live migration takes a few seconds, with no outage. A failover after a crash takes about two minutes, with the VMs restarted. Understanding the difference means understanding quorum, self-fencing and storage.

01Two very different situations

A live migration is planned: both nodes are running, the VM’s memory is copied while it runs, then execution resumes on the other node. The pause is measured in milliseconds, hence the “under 5 seconds” measured for the whole operation.

An HA failover follows a failure: the node has vanished along with its VMs’ memory. The HA manager can only restart those VMs elsewhere, from their disks. The Proxmox documentation gives a typical delay of about two minutes between the failure and the restart.

02Why wait: self-fencing

Restarting a VM elsewhere while it is still running on a node that is merely unreachable would be catastrophic: two copies would write to the same disk. Proxmox avoids this with self-fencing: a node that loses quorum stops refreshing its watchdog, and ends up rebooted by it.

The other nodes wait for that delay to pass, certain that the lost node has stopped, before restarting its VMs. The kernel’s software watchdog (softdog) is used if no hardware watchdog is available.

03Quorum decides everything

Only the part of the cluster holding the majority of votes can restart VMs. With two nodes, neither has it alone: that is the QDevice’s job, providing the third vote. Without it, losing a node freezes the cluster instead of triggering a failover.

On two sites linked by a VPN, the link becomes critical: Corosync expects low, stable latency. An unstable link can cause quorum loss, and so reboot a healthy node through self-fencing.

04Storage, the other condition

The node taking over a VM must have access to its disk. With shared or distributed storage (Ceph, or DRBD / Linstor as here), the disk is up to date on both nodes. With Proxmox ZFS replication, the copy dates from the last sync: whatever was written since is lost, for example up to 15 minutes with the default schedule.

05Declare and test

A VM is only protected if it is declared as an HA resource. The real test is to pull a node’s power (not shut it down cleanly), time the VMs’ restart, then check that everything settles back when it reappears.

Example · Shell
ha-manager add vm:100 --state started   # protect VM 100
ha-manager status                       # resources and manager state
pvecm status                            # quorum: "Quorate: Yes"

Key takeaways

  • Live migration: planned, no outage; HA failover: about 2 minutes, with a restart.
  • A node without quorum fences itself through the watchdog.
  • Two nodes: a QDevice, or no failover.
  • Shared or distributed storage: no loss; replication: loss since the last sync.
  • Test by pulling the power, not with a clean shutdown.

Official sources