Use this topic when HA recognized a failure but the VM was not restarted, restarted repeatedly, started too slowly or reached powered-on state without restoring the workload.
Automatic Restart
Automatic restart is usually a cold recovery action: the VM execution state lost with the failed host is not preserved unless another technology provides it. HA selects a destination, acquires ownership of required resources, starts the VM and then depends on guest boot and service startup to restore availability.
1. Automatic restart covers host boot and HA recovery.
2. Set start order and delays.
3. Avoid boot storms.
4. Dependencies (DCs/DBs first).
5. Test after host reboot.
host/HA event → ordered restart
Check application recovery semantics and repeat under realistic concurrent restart load if that scenario matters.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show live continuity, preservation of in-memory state, application transaction integrity or sufficient capacity for multiple concurrent failures.
Next check: Check application recovery semantics and repeat under realistic concurrent restart load if that scenario matters.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
HA trigger → restart queue/policy → placement → storage/network attach → VM start → guest boot → application
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Automatic restart ≠ live migration.
- Power-on success ≠ guest OS ready.
- Guest OS ready ≠ application healthy.
- Repeated restart attempts can be a symptom of an unresolved dependency, not a recovery strategy.
ha-manager config— restart policiesGet-VM <vm> | fl AutomaticStartAction,AutomaticStartDelay— Hyper-V auto startqm config <vmid> | grep onboot— Proxmox start at boot
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Restart requested ≠ started; VM started ≠ guest ready; guest ready ≠ service restored.
In depth
Automatic restart brings HA-protected VMs up on surviving hosts. Restart order follows priority groups; within a group, VMs start in parallel subject to host capacity.
Also configure what happens after a host or VM start: guest services set to automatic, applications that recover on their own after a crash, and startup delays for dependencies. For non-clustered single hosts, autostart settings (qm set 120 --onboot 1 --startup order=1,up=60, VMware VM autostart, Hyper-V Automatic Start Action) cover host reboots.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in High Availability → Automatic Restart. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
High Availability → Automatic Restart reference map
Fast HA boundaries for High Availability → Automatic Restart.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Trigger | Failure qualifies under HA policy | May be suppressed/excluded |
| Placement | Eligible destination chosen | Requires dependencies/capacity |
| Start | VM execution begins | Not guest readiness |
| Service | Application becomes usable | Independent proof |