Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Automatic Restart

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

host/HA event → ordered restart

Evidence · next step

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
Common mistakes
Common traps

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.

Platform / version applicability
virtualization-cluster
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-cluster
Scope / prerequisiteUse this topic when HA recognized a failure but the VM was not restarted, restarted repeatedly, started too slowly or r…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • ha-manager config — restart policies
  • Get-VM <vm> | fl AutomaticStartAction,AutomaticStartDelay — Hyper-V auto start
  • qm 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-cluster current

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%
Terminology layer

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.

Aliases that resolve here
automatic vm restartha restartvm auto restart
Embedded reference data

Quick lookup tables

High Availability → Automatic Restart reference map

Fast HA boundaries for High Availability → Automatic Restart.

BoundaryMeaningEvidence limit
TriggerFailure qualifies under HA policyMay be suppressed/excluded
PlacementEligible destination chosenRequires dependencies/capacity
StartVM execution beginsNot guest readiness
ServiceApplication becomes usableIndependent proof
Confirmation

Confirm action

Continue?