Pcornel
Virtualization · VMware vSphere

vSphere Virtual Machine

Cheat sheet · https://pcornel.dk/topic.php?topic=3772

Back to the Topic

Answer

Separate persistent VM configuration, registered inventory identity, powered runtime/world, backing files/devices, guest OS state and application state.

Remember

  • VM registered ≠ powered on.
  • Powered On ≠ guest booted or application healthy.
  • Virtual device connected ≠ backend resource reachable.
  • VM files present ≠ configuration/runtime consistency.

First checks

  • Get-VM <vm> | fl PowerState,NumCpu,MemoryGB,HardwareVersion,GuestId — VM summary
  • Get-VM <vm> | Get-HardDisk | ft Filename,CapacityGB,StorageFormat — disks
  • vim-cmd vmsvc/getallvms (ESXi shell) — registered VMs

Verify in this order

.vmx → VMX process → VMkernel → guest

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 → Virtual Machine reference map

BoundaryWhat to verifyEvidence limit
Inventory/configExpected VMware vSphere → Virtual Machine object, policy or configuration is presentConfigured state does not prove effective runtime behavior
Runtime/control planeRelevant vCenter/ESXi object, service or task state matches the intended conditionManagement state does not prove storage/network/guest outcome
Dependency/data pathRequired compute, storage, network, device and guest dependencies are healthyLocal success does not prove the next boundary
AcceptanceOriginal guest/application test succeeds after observation or changeRequired 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=3772

Confirmation

Confirm action

Continue?