Virtualization Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5698
Answer
Virtualization Automation coordinates repeatable VM, template, snapshot, migration, backup, network and storage operations while keeping orchestration results, hypervisor control-plane state and guest/workload acceptance as separate proof boundaries.
Remember
- Automation task success ≠ guest or application healthy.
- Hypervisor inventory state ≠ guest operating-system readiness.
- Requested configuration ≠ effective runtime configuration until read back.
- One VM success ≠ batch or cluster-wide convergence.
First checks
- Provisioning automation (Terraform/Ansible/PowerCLI) — tools
- Template catalogue — sources
- Post-provision registration (DNS, monitoring, backup, CMDB) — completeness
Commands
pveshvirsh
Verify in this order
request → IaC/API → hypervisor → VM → registration
Where it usually breaks
Virtualization automation proves only the observed management and read-back path; it does not by itself prove guest correctness, application health, backup recoverability or external network/storage dependencies.
Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.
Virtualization 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=5698