Use this branch to distinguish migration types, prove prerequisites, reason about cutover risk and verify that a moved VM is actually healthy rather than merely reported as migrated.
VM Migration
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.
1. Migration moves compute, storage or both.
2. Live needs shared or migrated storage, compatible CPUs and a migration network.
3. Check network bandwidth.
4. Watch downtime at cut-over.
5. Test regularly.
source host → memory/disk copy → cut-over → target host
Compare before/after placement, storage/network dependencies and workload metrics; if degraded, localize the first failed post-cutover boundary.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show zero interruption, future migrations, HA/DR readiness or compatibility with a different source/destination pair.
Next check: Compare before/after placement, storage/network dependencies and workload metrics; if degraded, localize the first failed post-cutover boundary.
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
VM/config → CPU/device compatibility → memory/runtime state → storage state/path → migration network → cutover → destination resume → guest/application verification
Step 2 Verification path Verify boundary
Exercise one safe negative or boundary case implied by quorum loss, split membership, incompatible CPU/device, unsatisfied placement constraint, duplicate ownership, migration timeout or failed post-move connectivity.
Step 3 Where it fails Narrow the fault
Walk cluster membership/quorum → node capability/health → placement policy → resource ownership → migration/failover task → guest/workload continuity and stop where observed state diverges.
Common failure classes are quorum loss, split membership, incompatible CPU/device, unsatisfied placement constraint, duplicate ownership, migration timeout or failed post-move connectivity.
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.
Subtopics
Go one level deeper into this subject.
Cold Migration relocates a VM while its guest execution is stopped, so active CPU and memory state do not need to be preserved across the move.
Subtopic Live MigrationLive Migration transfers a running VM between hosts while attempting to keep guest execution available through memory/state transfer and a short controlled cutover.
Subtopic Storage MigrationStorage Migration relocates a VM's virtual disks or backing storage between storage targets while preserving the VM identity and, on supported platforms, potentially keeping the VM running.
Subtopic Shared-nothing MigrationShared-nothing Migration moves a VM between hosts without requiring both hosts to use the same shared storage, so compute/runtime and required storage state must be made available at the destination.
Subtopic Compute MigrationCompute Migration moves the VM's execution placement between compute hosts while its storage remains available through an unchanged or independently managed backing path.
Subtopic Cross-host MigrationCross-host Migration is any VM relocation that crosses from one virtualization host to another, whether performed cold or live and whether storage moves with the VM or remains shared.
Subtopic Migration NetworkMigration Network is the IP/L2/L3 transport path used to transfer VM memory, runtime metadata and, for some migration types, storage blocks between migration endpoints.
Subtopic CPU CompatibilityCPU Compatibility for migration is the requirement that the destination can execute the virtual CPU feature set exposed to a VM at the point its running state is resumed.
Subtopic Storage CompatibilityStorage Compatibility for migration means the destination can correctly access, represent or receive every VM storage object required by the selected migration method.
Subtopic Migration TroubleshootingMigration Troubleshooting isolates VM-migration failures by identifying the exact migration phase and tracing compatibility, transfer, convergence, cutover and destination dependencies before making changes.
- 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.
qm migrate <vmid> <node> --online— Proxmox live migrationvirsh migrate --live <vm> qemu+ssh://<dst>/system— libvirtMove-VM <vm> -DestinationHost <host>— Hyper-V
ReferenceWhy it matters1 section · depth on demand
In depth
VM migration moves a VM between hosts, datastores or sites. Live migration moves a running VM with only a brief pause, by copying memory iteratively while the VM keeps running and then switching over when the remaining changes are small.
| Type | What moves | Downtime |
|---|---|---|
| Live migration / vMotion | Running state between hosts | Sub-second pause |
| Storage migration / Storage vMotion | Disks between datastores | None (live) |
| Shared-nothing / combined | Compute and storage together | None, but longer |
| Cold migration | Powered-off VM | VM is off |
| Cross-cluster/site | Between clusters or vCenters | Depends on network/storage |
Requirements: compatible CPUs (or EVC/processor compatibility mode), the same networks/VLANs on the destination, access to storage, and a fast, dedicated migration network. Migrations fail most often on missing networks, CPU feature mismatches, attached ISO/USB devices, or authentication between hosts.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Migration completed ≠ zero downtime ≠ correct destination dependencies ≠ application continuity ≠ successful failover/DR.
Mechanics
The responsible chain spans cluster membership/quorum, placement policy, host compatibility and workload movement/restart.
The bounded target is expected workload placement, failover eligibility and continuity.
Follow the path in order: cluster membership/quorum → node capability/health → placement policy → resource ownership → migration/failover task → guest/workload continuity.
The operating invariants are: all expected nodes agree on membership; placement constraints are satisfiable; ownership is singular; movement preserves workload state as designed.
Important negative cases include quorum loss, split membership, incompatible CPU/device, unsatisfied placement constraint, duplicate ownership, migration timeout or failed post-move connectivity.
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 VM Migration. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.qemu.org/docs/master/devel/migration/ · 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
VM Migration reference map
Fast migration boundaries for VM Migration.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Scope | Compute, storage or both | Define what actually moves |
| Prerequisites | CPU/storage/network/platform compatibility | Reachability alone is insufficient |
| Cutover | Ownership/execution transition | May introduce interruption |
| Verification | Guest and workload retest | Management success is not enough |