VM Health
Cheat sheet · https://pcornel.dk/topic.php?topic=3664
Answer
VM health combines heartbeat from guest tools, power state, CPU and memory metrics, disk latency, snapshot age and application checks, so you see whether the VM and its service are actually working.
Remember
- Powered on ≠ healthy.
- Heartbeat needs guest tools.
- Check the application too.
First checks
qm status <vmid> --verbose— VM statusGet-VM | ft Name,State,Status,Heartbeat— Hyper-V heartbeatvirsh domstate <vm> --reason— libvirt state
Verify in this order
VM process → guest agent → application checks
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3664