Datacenter
Cheat sheet · https://pcornel.dk/topic.php?topic=3770
Answer
In vSphere, a datacenter is a top-level container in vCenter's inventory that groups hosts, clusters, datastores and networks. It is an organisational unit, not a physical site or failure domain; distributed switches and networks are defined per datacenter.
Remember
- vSphere Datacenter ≠ physical datacenter/site.
- Objects in the same Datacenter ≠ same Layer-2, storage or fault domain.
- Inventory placement ≠ workload placement.
- Moving inventory objects ≠ migrating VM compute/storage state.
First checks
Get-Datacenter— datacentersGet-Datacenter <dc> | Get-Cluster— clusters insideGet-Folder -Location <dc>— folders
Verify in this order
vCenter → datacenter → clusters/hosts → objects
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 → Datacenter reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Inventory/config | Expected VMware vSphere → Datacenter 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=3770