Pcornel
Automation · Virtualization Automation

Migration Automation

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

Back to the Topic

Answer

Migration Automation coordinates VM relocation across hosts, clusters, networks or storage while preserving compatibility, placement, transport, convergence and post-migration workload verification as separate proof boundaries.

Remember

  • Migration task started ≠ migration completed.
  • Migration completed ≠ VM uses intended destination network and storage.
  • VM running at destination ≠ application sessions remained healthy.
  • Control-plane success ≠ performance or latency stayed within acceptance limits.

First checks

  • Migration jobs (Move-VM, qm migrate, Move-VM PowerCLI) — automation
  • Pre-checks (CPU compatibility, storage) — safety
  • Maintenance mode workflows — host evacuation

Verify in this order

maintenance → evacuate VMs → patch → return

Where it usually breaks

Migration completion proves a management transition, not application continuity, storage/network correctness or acceptable post-move performance.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Migration Automation virtualization automation proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Scope / identityExact platform and VM/resource IDs plus source revision are explicitNames, selectors or inventory paths resolve to the wrong or changing object
Management operationTask/job response and asynchronous completion are traceableRequest acknowledgement or partial batch success is treated as completion
Effective virtual stateRuntime inventory, attachments and placement are read backDesired/requested configuration substitutes for actual hypervisor state
Guest / workload proofGuest readiness and original service test passHypervisor success substitutes for guest or application health

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

Confirmation

Confirm action

Continue?