Virtualization
Capacity Planning
Cheat sheet · https://pcornel.dk/topic.php?topic=386
Answer
CPU, memory, NUMA, overcommit and host resource evidence that affects VM performance.
Remember
- Separate guest, virtual device, hypervisor, cluster, physical network and storage boundaries
- Snapshots/checkpoints are not independent backups
- Cluster membership, quorum, ownership and shared storage determine safe recovery actions
- Capacity & Resource Pressure must be verified from intended configuration through effective state, dependency health and consumer-visible outcome.
- Record platform/version, scope, timestamp and the evidence boundary before remediation.
First checks
pvesh get /cluster/resources— usage per node/VMGet-VMHost— capacityesxtop / vCenter performance charts— contention
Verify in this order
demand + growth + reserve → capacity
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.
Capacity & Resource Pressure evidence chain
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | vmstat 1 5 | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | guest workload → virtual device/switch/disk → hypervisor process → cluster ownership/quorum → physical network/storage → application outcome | application success |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=386