Cold Migration
Cheat sheet · https://pcornel.dk/topic.php?topic=3577
Answer
Cold Migration moves a powered-off or otherwise non-running VM configuration and required storage to a compatible destination. Because the guest is not executing, consistency is simpler than live migration, but service downtime lasts for shutdown, transfer, registration and restart.
Remember
- Cold migration trades workload availability for a simpler state-transfer model.
- Powered off does not remove storage, network, firmware or device compatibility requirements.
- Copy completion does not prove the destination VM configuration references the intended disks and networks.
- Downtime includes more than file-transfer time: shutdown, registration, boot and service recovery matter.
First checks
qm migrate <vmid> <node>— offline migration (VM stopped)Move-VM <vm> -DestinationHost <h> -IncludeStorage— Hyper-V (VM off)virsh dumpxml + copy disks— manual cold move
Verify in this order
shutdown → copy config/disks → start on target
Where it usually breaks
First mismatch in cluster membership/quorum → node capability/health → placement policy → resource ownership → migration/failover task → guest/workload continuity; preserve identity/native error/pre-state before mutation.
VM Migration → Cold Migration reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Runtime | Stopped | No active memory-state transfer |
| Consistency | Stable after shutdown | Still verify app shutdown |
| Downtime | Longer | Includes transfer and restart |
| Risk | Simpler state model | Storage/config mapping can still fail |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3577