DRS
Cheat sheet · https://pcornel.dk/topic.php?topic=3783
Answer
DRS decisions combine current resource state with VM/host compatibility, reservations/limits, affinity rules, maintenance state and migration feasibility; a recommendation is not a proof of application performance.
Remember
- DRS enabled ≠ every VM will move.
- Balanced cluster metric ≠ no workload latency.
- Host capacity ≠ eligible placement under policy/compatibility constraints.
- DRS uses vMotion for many moves but DRS decisioning ≠ vMotion transport.
First checks
Get-Cluster <c> | fl DrsEnabled,DrsAutomationLevel— DRS settingsGet-DrsRecommendation -Cluster <c>— pending recommendationsGet-DrsRule -Cluster <c>— affinity rules
Verify in this order
cluster metrics → DRS score → vMotion recommendations
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.
VMware vSphere → DRS reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Inventory/config | Expected VMware vSphere → DRS object, policy or configuration is present | Configured state does not prove effective runtime behavior |
| Runtime/control plane | Relevant vCenter/ESXi object, service or task state matches the intended condition | Management state does not prove storage/network/guest outcome |
| Dependency/data path | Required compute, storage, network, device and guest dependencies are healthy | Local success does not prove the next boundary |
| Acceptance | Original guest/application test succeeds after observation or change | Required for end-to-end closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3783