In this post i will continue to cover the troubleshooting objective and now its time for troubleshoot and Monitor vSphere Performance
The following are the objective from the blueprint:
- Monitor CPU and memory usage
- Identify and isolate CPU and memory contention issues
- Describe and differentiate common metrics, including:
- Monitor performance through esxtop
- Compare and contrast Overview and Advanced Charts
- Troubleshoot Enhanced vMotion Compatibility (EVC) issues
Monitor CPU and memory usage
You can monitor the performance for the Datacenter/Cluster or individual ESXi hosts.
Compare and contrast Overview and Advanced Charts:
you can also look at the Advanced chart and configure what will you like to monitor , this really helps when you try to isolate an issue.
Monitor performance through esxtop:
Run the command esxtop on a host, with this command you can get a LOT of information about your ESXi hosts resources.
to get more information about the command you can use the ? and then you can switch views for example click on “m” for memory usage
by clicking on “f” you can control how many columns you can see .
If you like to view only the VMs information click “V”
Describe and differentiate common metrics, including:
- %USED – CPU cycles used.
- %RUN = % of CPU time used – High %RUN means CPU is been used heavily
- %SYS = % of time used by system services – High %SYS mean heavy I/O is been used
- %VMWAIT = %WAIT-%IDLE – High %VMWAIT can indicate resource latency
- %RDY = % of time of an object that was ready to run but was block due to CPU resources , watch your reservations and shares
- %OVRLP – Time spent on behalf of a different resource pool/VM
- MEMSZ – Amount of phyiscal memory allocated to a resource pool or VM.
GRANT – Guest memory mapped.
SZTGT – Amount the VMkernel wants to allocate.
TCHD – Working set estimate.
%ACTV – % guest physical memory referenced by the guest.
%ACTVS – Slow moving version of the %ACTV
%ACTVF – Fast moving version of the %ACTV
- %ACTVN – Estimation. (This is intended for VMware use only)
MCTL – Memory balloon drive installed or not.
MCTLSZ (MB) – Amount of physical memory reclaimed by ballooning.
MCTLTGT (MB) – Attempts to reclaim by ballooning.
MCTLMAX (MB) – Maximum that can be reclaimed by ballooning.
SWCUR (MB) – Current swap used.
- PKTTX/s – packets per seconds
- MBTX/s – Megabit per second
- %DRPTX – % dropped packets transmitted
- %DRPRX – % dropped packets received
- CMDS/s – Number of commands issued per second.
- READS/s – Number of read commands issued per second.
- WRITES/s – Number of write commands issued per second.
- MBREAD/s – MB reads per second.
- MBWRTN/s – MB written per second.
- DAVG/cmd – AVG responses time between host HBA and storage device per storage command – high number insufficient storage HW
- KAVG/cmd – AVG responses time from VMkernel for storage commands – 0> mean latency due to the ESX Kernel’s command
- GAVG/cmd – sum of DAVG and KAVG
- QAVG/cmd – average queue latency – 0> mean latency
Troubleshoot Enhanced vMotion Compatibility (EVC) issues
Please refer to this KB for more infomation about EVC : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005764
Thanks for reading