HA Manager
Cheat sheet · https://pcornel.dk/topic.php?topic=3748
Answer
Treat HA decisions as distributed state transitions: local node observations, manager decisions and actual guest runtime can differ briefly during failure/recovery.
Remember
- HA service running ≠ all resources healthy.
- Manager intent ≠ completed guest transition.
- Stale local state can mislead during partitions.
- Manual intervention can conflict with HA ownership if done without understanding current state.
First checks
ha-manager status --verbose— CRM master, LRM statesjournalctl -u pve-ha-crm -u pve-ha-lrm --since -1h— logsha-manager add vm:<vmid> --state started --max_restart 1 --max_relocate 1— add resource
Verify in this order
CRM decision → LRM action → resource state
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Proxmox VE → High Availability → HA Manager reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected HA Manager configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant HA Manager service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3748