Pcornel
Virtualization · VMware vSphere

vSphere Troubleshooting

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

Back to the Topic

Answer

vSphere troubleshooting starts from the exact symptom and time, then reads vCenter tasks and events, host logs (vmkernel.log, hostd.log) and the state of storage and networking dependencies before making the smallest change.

Remember

  • Alarm/event ≠ root cause.
  • vCenter error ≠ vCenter root cause when host/storage/network dependencies failed first.
  • VM Powered On ≠ guest/application healthy.
  • Temporary recovery after restart ≠ durable fix.

First checks

  • Get-VIEvent -Start (Get-Date).AddHours(-2) -Types Error,Warning | select CreatedTime,FullFormattedMessage — recent events
  • tail -100 /var/log/hostd.log; tail -100 /var/log/vmkernel.log (ESXi) — host logs
  • Get-Task | ? State -eq Error — failed tasks

Commands

esxcli network nic list
Operational command for Inspect ESXi physical NIC state. Focus fields: vmnic name, PCI device, driver, link, speed, dup…
esxcli system version get
esxcli network ip interface list
esxcli system coredump

Verify in this order

symptom → events/tasks → host/VM logs → fix

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 → vSphere Troubleshooting reference map

BoundaryWhat to verifyEvidence limit
Inventory/configExpected VMware vSphere → vSphere Troubleshooting 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=3788

Confirmation

Confirm action

Continue?