Pcornel
Virtualization · Proxmox VE

Migration

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

Back to the Topic

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> — offline
  • qm migrate <vmid> <target> --online --with-local-disks — live with local disks
  • pct migrate <ctid> <target> --restart — container

Commands

qm migrate 120 pve2 --online
qm migrate 120 pve2 --online --with-local-disks
qm migrate 120 pve2
qm 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

BoundaryWhat to verifyEvidence limit
Configured stateExpected Migration configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant Migration service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired 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

Confirmation

Confirm action

Continue?