Pcornel
Virtualization

VM Migration

Cheat sheet · https://pcornel.dk/topic.php?topic=3576

Back to the Topic

Answer

VM Migration is the controlled relocation of a VM across hosts, storage locations or both. The exact transfer can be offline or online, but every migration depends on compatible source/destination capabilities, reachable storage and networks, transferable VM state, a controlled cutover and post-migration workload verification.

Remember

  • Migration success in the management plane does not by itself prove guest, storage, network or application continuity.
  • Compute state, memory state, device state, storage state and network identity are separate migration boundaries.
  • Live migration minimizes downtime; it does not mean zero interruption or zero application impact.
  • A destination host being reachable does not prove CPU, storage, network or policy compatibility.

First checks

  • qm migrate <vmid> <node> --online — Proxmox live migration
  • virsh migrate --live <vm> qemu+ssh://<dst>/system — libvirt
  • Move-VM <vm> -DestinationHost <host> — Hyper-V

Verify in this order

source host → memory/disk copy → cut-over → target host

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 reference map

BoundaryMeaningEvidence limit
ScopeCompute, storage or bothDefine what actually moves
PrerequisitesCPU/storage/network/platform compatibilityReachability alone is insufficient
CutoverOwnership/execution transitionMay introduce interruption
VerificationGuest and workload retestManagement success is not enough

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3576

Confirmation

Confirm action

Continue?