High availability
Since 1.7.3A virtual machine marked for HA is restarted on another node when its own is lost — after a second node confirms it cannot reach the first, so a console that merely lost its own network does not fail everything over. When the lost node returns, the copy there is stopped and taken off autostart before it can write to the same disks. That obligation is written to the database with the failover itself, so it survives the console restarting.
LimitsOnly virtual machines whose disks are on shared storage, and fencing goes through the returning node's own agent — a node whose agent is dead but whose guests are running cannot be fenced.
How to use high availability in the console
Backups and recovery points
Since 1.5Recovery points on a schedule, kept next to the disks for a fast way back, and backups copied off the node into a deduplicated repository that is checked after every run. Restores of both are done from the same page.
- Recovery points are taken while the VM runs. With the QEMU guest agent answering they are application-consistent — the guest flushes and freezes its filesystems first; without it they are crash-consistent, and each one is labelled as such.
- Retention per policy: the newest N are kept and older ones are removed.
- Export (in the VM's tools) writes a whole VM to a single file you can copy off the node.
- Off-node backups (1.9.8): a backup plan copies VMs into a repository on an NFS storage container, off every node, in 4 MiB chunks stored once — so each run writes only what changed, and VMs installed from the same image share their data. Running VMs are copied as they run.
- Every new backup is read back and each chunk checked against its hash; a damaged backup is a critical alert. Restore makes a new VM, with its UEFI variables and TPM, on any node that reaches the repository.
- High availability (1.9.8): a node cut off from the cluster stops its own HA VMs before they are started elsewhere, so a disk is never written by two nodes at once; libvirt disk locking is a second guard.
LimitsRecovery points die with their node; backups are what survives it. Verifying a backup checks every chunk, not that the restored guest boots. The repository is one copy on one NFS server, not encrypted at rest. Fencing and backups were tested against simulated hosts, not yet on real servers.
How to use backups and recovery points in the console
Storage
Since 1.0Where a virtual machine's disk lives on each node: the node's own disk, another mounted directory, an NFS export, or an LVM volume group. A VM picks its container when it is created.
- Defined once for the cluster (1.9.8): a container is created on every node it should be on, all or nothing, and each node shows whether it has it, is missing it, or has one of the same name pointing elsewhere. Missing and differing copies raise alerts; Sync, or automatic sync, puts it where it is missing — including on a node added later.
- Every node writes and reads back a few kilobytes on each container once a minute (1.9.8). Storage that does not answer, is not mounted or went read-only is a critical alert, and high availability will not restart a VM onto storage that does not answer from that node.
LimitsNo distributed storage. Shared storage is an NFS export you provide; high availability and off-node backups need one. Live migration no longer does (1.9.8).
How to use storage in the console