High Availability Deep Dive
Overview
Proxmox VE High Availability (HA) provides automatic VM/container failover when a node fails. Essential for production workloads requiring uptime.
HA Architecture
Components
- HA Manager: Coordinates failover
- Fencing: Power cycles failed nodes
- Resource Groups: Priority VM placement
Quorum
# Check quorum
pvecm status
# View expected
pvecm eConfigure HA
Enable HA for VM
# Enable HA
ha-manager enable vm:100
# Set priority
ha-manager crm add production --vm 100 --priority 100Configure Fencing
# Install fence agents
apt install fence-agents-all
# Configure via Web UI
# Datacenter -> HA -> FencingHA Groups
Create Group
# Create group
ha-manager group add production pve1 pve2 pve3
# Add node with priority
ha-manager group add production pve1 pve2 pve3
# Remove node
ha-manager group remove production pve3Node Priority
# Set priority
ha-manager crm modify vm:100 --priority 100HA Best Practices
- Minimum 3 nodes
- Separate power sources
- Configure fencing
- Test failover
Keywords
ha high-availability failover cluster quorum fencing