Migration Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5703
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
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / identity | Exact platform and VM/resource IDs plus source revision are explicit | Names, selectors or inventory paths resolve to the wrong or changing object |
| Management operation | Task/job response and asynchronous completion are traceable | Request acknowledgement or partial batch success is treated as completion |
| Effective virtual state | Runtime inventory, attachments and placement are read back | Desired/requested configuration substitutes for actual hypervisor state |
| Guest / workload proof | Guest readiness and original service test pass | Hypervisor 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