Migration
Cheat sheet · https://pcornel.dk/topic.php?topic=3742
Answer
Migration is a coordinated ownership and state-transfer operation; local resources or passthrough devices can constrain destination eligibility even when both nodes are healthy.
Remember
- Destination online ≠ migration compatible.
- Shared storage simplifies disk transfer but does not remove CPU/network constraints.
- Offline and online migration have different interruption semantics.
- Task success ≠ application continuity.
First checks
qm migrate <vmid> <target>— offlineqm migrate <vmid> <target> --online --with-local-disks— live with local diskspct migrate <ctid> <target> --restart— container
Commands
qm migrate 120 pve2 --onlineqm migrate 120 pve2 --online --with-local-disksqm migrate 120 pve2qm remote-migrate
Verify in this order
source → transfer config/disks/memory → target
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.
Proxmox VE → Migration reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected Migration configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant Migration service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3742