SlideShare a Scribd company logo
1 of 69
vSphere Performance Monitoring and Troubleshooting Overview What? CPU, Memory, Disk, Network How? Use available tools and a systematic methodology Why? Need to build confidence in virtualizing critical and high demand applications
vSphere Performance Monitoring and Troubleshooting Top Issues Top Issues: Storage "performance capacity" oversubscription Memory oversubscription SMP overuse Firmware & driver issues
vSphere Performance Monitoring and Troubleshooting What tools do we have at our disposal? Top tools for information collection: vCenter - Performance charts and alarms Guest OS* - Task Manager/Resource Monitor and PerfMon ESX Host - esxtop and vscsiStats vSpherePowerCLI *Guest based monitoring is subject to inaccuracy
vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings Prepare custom vCenter alerts: Host Console Swap In Rate  512KBps Warning, 1024 KBps Alert Host Console Swap Out Rate  512KBps Warning, 1024 KBps Alert VM CPU Ready  1000ms Warning, 2000ms Alert VM Disk Latency  20ms Warning, 50ms Alert
vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
vSphere Performance Monitoring and Troubleshooting Prepare esxtop ESXTOP realtime monitoring: esxtop(run command from SSH or tech-support mode) s 2 (refresh view every 2 seconds) V (View VMs only) h(for quick in-tool command reference) Batch Mode for a 5 minute capture of all stats: esxtop-b -a -d 2 -n 150 > esxtop_capture.csv
vSphere Performance Monitoring and Troubleshooting Prepare PowerCLI Run PowerCLI: Tip: Run as Administrator Set-ExecutionPolicyremotesigned Connect-VIServer -Server <host> -Protocol https -User <user> -Password <pass> 	<host> can be IP address or name of ESX server or vCenter Get-VM Get-Stat -common -realtime
vSphere Performance Monitoring and Troubleshooting Where do we get started?
vSphere Performance Monitoring and Troubleshooting Network Overview
vSphere Performance Monitoring and Troubleshooting Network Troubleshooting Guidance: 1.	Physical Issues - A bad cable, a failing switch port or NIC, or an incompatible/flawed firmware or device driver (use VMXNET3 whenever possible) 2.	Configuration Issues - Inconsistent configuration of vSwitches, Port Groups, or upstream VLAN trunks 3.	Capacity Issues - Too many VMs on a single NIC; inadequate switch backplane or uplink capacity; sharing “unmanaged” network infrastructure for storage and data 4.	Thresholds – Bandwidth saturation, dropped packets
vSphere Performance Monitoring and Troubleshooting Network – What can we see?
vSphere Performance Monitoring and Troubleshooting Network vCenter Metrics:  Receive packets dropped Transmit packets dropped
vSphere Performance Monitoring and Troubleshooting Network ESXTOP Metrics:
vSphere Performance Monitoring and Troubleshooting Network ESXTOP Commands: esxtop s 2 n f
vSphere Performance Monitoring and Troubleshooting Network ESXTOP Example:
vSphere Performance Monitoring and Troubleshooting Network PowerCLI Commands: Get-Stat -net -realtime Get-Stat -Entity <Host> -stat net.droppedRx.summation Get-Stat -Entity <Host> -stat net.droppedTx.summation
vSphere Performance Monitoring and Troubleshooting Network – What can’t we see?
vSphere Performance Monitoring and Troubleshooting Network Possible resources for external monitoring: Native Telnet/SSH/HTTP-based interface counters and stats Third-party SNMP, NetFlow and ICMP tools
vSphere Performance Monitoring and Troubleshooting CPU Overview
vSphere Performance Monitoring and Troubleshooting CPU Troubleshooting Guidance: 1.	Physical Issues - Rare and always catastrophic (e.g. obvious) 2.	Configuration Issues - Too many / too few vCPUs per VM; SMP/HAL mismatch; incorrect CPU affinity settings 3.	Capacity Issues - CPU saturation at the guest or host level; CPU starvation due to high IO or other system level ops 4.	Thresholds – Waiting for CPU cycles (due to co-scheduling, swapping, high IO)
vSphere Performance Monitoring and Troubleshooting CPU – What can we see?
vSphere Performance Monitoring and Troubleshooting CPU vCenter Metrics:  Host/Guest Saturation Stacked Graph (per VM) Usage
vSphere Performance Monitoring and Troubleshooting CPU vCenter Metrics: Guest Ready (value/20=n%) Swap Wait
vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Metrics:
vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Commands: esxtop s 2 V c e GID (expand/contract a VM world)
vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Example: Excessive vCPUs
vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Example:  Now with fewer vCPUs
vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Example: SMP impacting multiple VMs
vSphere Performance Monitoring and Troubleshooting CPU PowerCLI Example Get-Stat -cpu Get-Stat -Entity <VM> -stat cpu.ready.summation -realtime Very cool script code at: http://www.peetersonline.nl/index.php/vmware/examine-vmware-cpu-ready-times-with-powershell/
vSphere Performance Monitoring and Troubleshooting CPU – Not much else to see…
vSphere Performance Monitoring and Troubleshooting CPU Possible resources for external monitoring: Vendor specific systems management tools, MS System Center, etc. http://www.peetersonline.nl/index.php/vmware/examine-vmware-cpu-ready-times-with-powershell/
vSphere Performance Monitoring and Troubleshooting Memory Overview
vSphere Performance Monitoring and Troubleshooting Memory Troubleshooting Guidance: 1.	Physical Issues - Rare and usually catastrophic 2.	Configuration Issues - Memory overcommit; incorrect configuration of shares, reservations or limits 3.	Capacity Issues - Physical memory exhaustion 4.	Thresholds – Active memory swapping
vSphere Performance Monitoring and Troubleshooting Memory – What can we see?
vSphere Performance Monitoring and Troubleshooting Memory vCenter Metrics Swap in rate Swap out rate Swap used
vSphere Performance Monitoring and Troubleshooting Memory ESXTOP Metrics:
vSphere Performance Monitoring and Troubleshooting Memory ESXTOP Commands: esxtop s 2 V m f
vSphere Performance Monitoring and Troubleshooting Memory ESXTOP Example: m – Heavy swapping and ballooning
vSphere Performance Monitoring and Troubleshooting Memory PowerCLI Commands: Get-Stat -mem Get-Stat -Entity <VM> -stat mem.swapoutRate.average -realtime Get-Stat -Entity <VM> -stat mem.swapinRate.average -realtime Get-Stat -Entity <VM> -stat mem.vmmemctl.average -realtime Get-Stat -Entity <Host> -stat mem.swapused.average -realtime
vSphere Performance Monitoring and Troubleshooting Memory – The occasional DIMM failure…
vSphere Performance Monitoring and Troubleshooting Memory Possible external monitoring options: Vendor specific systems management tools, MS System Center, etc. Don’t forget vCenter ‘Hardware Status’ reporting
vSphere Performance Monitoring and Troubleshooting Storage Overview
vSphere Performance Monitoring and Troubleshooting Storage Troubleshooting Guidance: 1.	Physical Issues - A bad cable, a failing switch port or HBA/NIC, or an incompatible/flawed firmware or device driver (use LSI Logic Parallel/SAS as appropriate) 2.	Configuration Issues - Inconsistent or incorrect configuration of LUN masking, zoning, or multi-pathing; inappropriate resource provisioning; aligning queue depth with storage type 3.	Capacity Issues - Too many VMs or VMDKs on a LUN; too much IO load for an array or RAID group 4.	Thresholds – Latency and queuing
vSphere Performance Monitoring and Troubleshooting Storage – What can we see?
vSphere Performance Monitoring and Troubleshooting Storage vCenter Metrics: Datastore Read latency Write latency
vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Metrics:
vSphere Performance Monitoring and Troubleshooting Storage
vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Commands (HBA/LUN): esxtop s 2 V d f e vmhba#
vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Commands(LUN/Datastore): esxtop s 2 V u L 38 f e <devname>
vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Commands (VM/VMDK): esxtop s 2 V v f e GID
vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Examples:  d - Multipathing / Expand adapter to view targets
vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Examples:  u - Queuing, Disk or Kernel?
vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Examples: v - Identify the IO consumer
vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsCommand: [root@host ~]# cd /usr/lib/vmware/bin ./vscsiStats -l ./vscsiStats -s -w <worldid> ./vscsiStats -w <worldid> -p all -c > /path/vscsistats.csv ./vscsiStats -x
vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsExample:
vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsExample:
vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsExample: http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/
vSphere Performance Monitoring and Troubleshooting Storage vscsiStatshistograms:
vSphere Performance Monitoring and Troubleshooting Storage PowerCLI Commands: Get-Stat -disk Get-Stat -stat disk.totalLatency.average -realtime Get-Stat -stat disk.deviceLatency.average -realtime Get-Stat -stat disk.kernelLatency.average -realtime
vSphere Performance Monitoring and Troubleshooting Storage – What can’t we see?
vSphere Performance Monitoring and Troubleshooting Storage – More of what we can’t see
vSphere Performance Monitoring and Troubleshooting Storage Possible external monitoring solutions: Vendor specific SAN and fabric/network tools, native Telnet/SSH/HTTP-based tools for most networks, third-party SNMP-based tools
vSphere Performance Monitoring and Troubleshooting Working with PowerCLI PowerCLI Tips: For a complete list of stat objects: Get-StatType -Entity <Host/VM> Pipe the outputs to a file: Get-Stat -stat <stat> -realtime | ft -autosize > c:emplt;filename>.csv Import the CSV file data to a spreadsheet with fixed width parameters Build pretty graphs
vSphere Performance Monitoring and Troubleshooting Working with PowerCLI
vSphere Performance Monitoring and Troubleshooting Way More Information ESXTOP / vscsiStats / PowerCLI: http://www.yellow-bricks.com/esxtop/     Special thanks to Duncan Epping! http://communities.vmware.com/docs/DOC-3930 http://communities.vmware.com/docs/DOC-9279 http://communities.vmware.com/docs/DOC-10095 http://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Get-Stat.html http://www.lucd.info/2009/12/30/powercli-vsphere-statistics-part-1-the-basics/ http://simongreaves.co.uk/blog/esxtop-guide http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/
vSphere Performance Monitoring and Troubleshooting Easy button? What is the problem with these tools? Limited alerting mechanisms, no collection automation or historical data for comparison, and no correlation of events! vCenter Operations Standard / Enterprise

More Related Content

What's hot

VMware vSphere Networking deep dive
VMware vSphere Networking deep diveVMware vSphere Networking deep dive
VMware vSphere Networking deep diveSanjeev Kumar
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2Vepsun Technologies
 
VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1Sanjeev Kumar
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentationvirtualsouthwest
 
Openstack live migration
Openstack live migrationOpenstack live migration
Openstack live migrationymtech
 
Presentation v mware virtual san 6.0
Presentation   v mware virtual san 6.0Presentation   v mware virtual san 6.0
Presentation v mware virtual san 6.0solarisyougood
 
VMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project PresentationVMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project PresentationRabbah Adel Ammar
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Seung-Hoon Baek
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM ShapeBlue
 
Virtualization Architecture & KVM
Virtualization Architecture & KVMVirtualization Architecture & KVM
Virtualization Architecture & KVMPradeep Kumar
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology OverviewOpenCity Community
 
MySQL operator for_kubernetes
MySQL operator for_kubernetesMySQL operator for_kubernetes
MySQL operator for_kubernetesrockplace
 
High Availability Storage (susecon2016)
High Availability Storage (susecon2016)High Availability Storage (susecon2016)
High Availability Storage (susecon2016)Roger Zhou 周志强
 
VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4Sanjeev Kumar
 
VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design Cormac Hogan
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...ShapeBlue
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Novell
 
Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0Tim Carman
 
VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2Sanjeev Kumar
 

What's hot (20)

VMware vSphere Networking deep dive
VMware vSphere Networking deep diveVMware vSphere Networking deep dive
VMware vSphere Networking deep dive
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2
 
VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentation
 
Openstack live migration
Openstack live migrationOpenstack live migration
Openstack live migration
 
Presentation v mware virtual san 6.0
Presentation   v mware virtual san 6.0Presentation   v mware virtual san 6.0
Presentation v mware virtual san 6.0
 
VMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project PresentationVMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project Presentation
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM
 
Virtualization Architecture & KVM
Virtualization Architecture & KVMVirtualization Architecture & KVM
Virtualization Architecture & KVM
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology Overview
 
MySQL operator for_kubernetes
MySQL operator for_kubernetesMySQL operator for_kubernetes
MySQL operator for_kubernetes
 
VMware vSphere
VMware vSphereVMware vSphere
VMware vSphere
 
High Availability Storage (susecon2016)
High Availability Storage (susecon2016)High Availability Storage (susecon2016)
High Availability Storage (susecon2016)
 
VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4
 
VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)
 
Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0
 
VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2
 

Viewers also liked

VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5Vepsun Technologies
 
VMware Advance Troubleshooting Workshop - Day 6
VMware Advance Troubleshooting Workshop - Day 6VMware Advance Troubleshooting Workshop - Day 6
VMware Advance Troubleshooting Workshop - Day 6Vepsun Technologies
 
VMware Performance for Gurus - A Tutorial
VMware Performance for Gurus - A TutorialVMware Performance for Gurus - A Tutorial
VMware Performance for Gurus - A TutorialRichard McDougall
 
Denver VMUG nov 2011
Denver VMUG nov 2011Denver VMUG nov 2011
Denver VMUG nov 2011Dan Brinkmann
 
Citrix Remote Access Solution Soup
Citrix Remote Access Solution SoupCitrix Remote Access Solution Soup
Citrix Remote Access Solution SoupDan Brinkmann
 
VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3Vepsun Technologies
 
Inside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworldInside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworldRichard McDougall
 
Is your cloud ready for Big Data? Strata NY 2013
Is your cloud ready for Big Data? Strata NY 2013Is your cloud ready for Big Data? Strata NY 2013
Is your cloud ready for Big Data? Strata NY 2013Richard McDougall
 
Architecting Virtualized Infrastructure for Big Data
Architecting Virtualized Infrastructure for Big DataArchitecting Virtualized Infrastructure for Big Data
Architecting Virtualized Infrastructure for Big DataRichard McDougall
 
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on DemandApachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on DemandRichard McDougall
 
Big Data/Hadoop Infrastructure Considerations
Big Data/Hadoop Infrastructure ConsiderationsBig Data/Hadoop Infrastructure Considerations
Big Data/Hadoop Infrastructure ConsiderationsRichard McDougall
 
Virtualization Primer for Java Developers
Virtualization Primer for Java DevelopersVirtualization Primer for Java Developers
Virtualization Primer for Java DevelopersRichard McDougall
 
Solaris Internals Preso circa 2009
Solaris Internals Preso circa 2009Solaris Internals Preso circa 2009
Solaris Internals Preso circa 2009Richard McDougall
 
VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...
VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...
VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...VMworld
 
Building Big Data Applications
Building Big Data ApplicationsBuilding Big Data Applications
Building Big Data ApplicationsRichard McDougall
 
Virtualizing Oracle Databases with VMware
Virtualizing Oracle Databases with VMwareVirtualizing Oracle Databases with VMware
Virtualizing Oracle Databases with VMwareRichard McDougall
 

Viewers also liked (20)

VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5
 
VMware Advance Troubleshooting Workshop - Day 6
VMware Advance Troubleshooting Workshop - Day 6VMware Advance Troubleshooting Workshop - Day 6
VMware Advance Troubleshooting Workshop - Day 6
 
VMware Performance for Gurus - A Tutorial
VMware Performance for Gurus - A TutorialVMware Performance for Gurus - A Tutorial
VMware Performance for Gurus - A Tutorial
 
Denver VMUG nov 2011
Denver VMUG nov 2011Denver VMUG nov 2011
Denver VMUG nov 2011
 
Citrix Remote Access Solution Soup
Citrix Remote Access Solution SoupCitrix Remote Access Solution Soup
Citrix Remote Access Solution Soup
 
VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3
 
IdP, SAML, OAuth
IdP, SAML, OAuthIdP, SAML, OAuth
IdP, SAML, OAuth
 
Inside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworldInside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworld
 
Is your cloud ready for Big Data? Strata NY 2013
Is your cloud ready for Big Data? Strata NY 2013Is your cloud ready for Big Data? Strata NY 2013
Is your cloud ready for Big Data? Strata NY 2013
 
Architecting Virtualized Infrastructure for Big Data
Architecting Virtualized Infrastructure for Big DataArchitecting Virtualized Infrastructure for Big Data
Architecting Virtualized Infrastructure for Big Data
 
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on DemandApachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
 
Hadoop on VMware
Hadoop on VMwareHadoop on VMware
Hadoop on VMware
 
Making of the Burner Board
Making of the Burner BoardMaking of the Burner Board
Making of the Burner Board
 
Hadoop on Virtual Machines
Hadoop on Virtual MachinesHadoop on Virtual Machines
Hadoop on Virtual Machines
 
Big Data/Hadoop Infrastructure Considerations
Big Data/Hadoop Infrastructure ConsiderationsBig Data/Hadoop Infrastructure Considerations
Big Data/Hadoop Infrastructure Considerations
 
Virtualization Primer for Java Developers
Virtualization Primer for Java DevelopersVirtualization Primer for Java Developers
Virtualization Primer for Java Developers
 
Solaris Internals Preso circa 2009
Solaris Internals Preso circa 2009Solaris Internals Preso circa 2009
Solaris Internals Preso circa 2009
 
VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...
VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...
VMworld 2013: Storage DRS: Deep Dive and Best Practices to Suit Your Storage ...
 
Building Big Data Applications
Building Big Data ApplicationsBuilding Big Data Applications
Building Big Data Applications
 
Virtualizing Oracle Databases with VMware
Virtualizing Oracle Databases with VMwareVirtualizing Oracle Databases with VMware
Virtualizing Oracle Databases with VMware
 

Similar to VMware vSphere Performance Troubleshooting

VMworld 2011 Review: Preparing for vSphere 5 with Virtualization Manager
VMworld 2011 Review: Preparing for vSphere 5 with Virtualization ManagerVMworld 2011 Review: Preparing for vSphere 5 with Virtualization Manager
VMworld 2011 Review: Preparing for vSphere 5 with Virtualization ManagerSolarWinds
 
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms VMworld
 
VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...
VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...
VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...VMworld
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld
 
RHT Upgrading to vSphere 5
RHT Upgrading to vSphere 5RHT Upgrading to vSphere 5
RHT Upgrading to vSphere 5virtualsouthwest
 
Caching and tuning fun for high scalability
Caching and tuning fun for high scalabilityCaching and tuning fun for high scalability
Caching and tuning fun for high scalabilityWim Godden
 
VMworld 2013: vSphere Flash Read Cache Technical Overview
VMworld 2013: vSphere Flash Read Cache Technical Overview VMworld 2013: vSphere Flash Read Cache Technical Overview
VMworld 2013: vSphere Flash Read Cache Technical Overview VMworld
 
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: MonitoringvBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: MonitoringDan Barr
 
VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers VMworld
 
Caching and tuning fun for high scalability @ FOSDEM 2012
Caching and tuning fun for high scalability @ FOSDEM 2012Caching and tuning fun for high scalability @ FOSDEM 2012
Caching and tuning fun for high scalability @ FOSDEM 2012Wim Godden
 
VMworld - sto7650 -Software defined storage @VMmware primer
VMworld - sto7650 -Software defined storage  @VMmware primerVMworld - sto7650 -Software defined storage  @VMmware primer
VMworld - sto7650 -Software defined storage @VMmware primerDuncan Epping
 
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark TestingVMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark TestingSymantec
 
Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015VMUG IT
 
Network performance test plan_v0.3
Network performance test plan_v0.3Network performance test plan_v0.3
Network performance test plan_v0.3David Pasek
 
Simplifying Hyper-V Management for VMware Administrators
Simplifying Hyper-V Management for VMware AdministratorsSimplifying Hyper-V Management for VMware Administrators
Simplifying Hyper-V Management for VMware Administrators5nine
 
V sphere virtual volumes technical overview
V sphere virtual volumes technical overviewV sphere virtual volumes technical overview
V sphere virtual volumes technical overviewsolarisyougood
 
VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld
 

Similar to VMware vSphere Performance Troubleshooting (20)

VMworld 2011 Review: Preparing for vSphere 5 with Virtualization Manager
VMworld 2011 Review: Preparing for vSphere 5 with Virtualization ManagerVMworld 2011 Review: Preparing for vSphere 5 with Virtualization Manager
VMworld 2011 Review: Preparing for vSphere 5 with Virtualization Manager
 
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
 
Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)
Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)
Troubleshooting Storage Devices Using vRealize Operations (formerly vC Ops)
 
VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...
VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...
VMworld 2013: Tech Preview: Accelerating Data Operations Using VMware VVols a...
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
 
RHT Upgrading to vSphere 5
RHT Upgrading to vSphere 5RHT Upgrading to vSphere 5
RHT Upgrading to vSphere 5
 
Caching and tuning fun for high scalability
Caching and tuning fun for high scalabilityCaching and tuning fun for high scalability
Caching and tuning fun for high scalability
 
VMworld 2013: vSphere Flash Read Cache Technical Overview
VMworld 2013: vSphere Flash Read Cache Technical Overview VMworld 2013: vSphere Flash Read Cache Technical Overview
VMworld 2013: vSphere Flash Read Cache Technical Overview
 
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: MonitoringvBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
 
Rht upgrade v5-v2
Rht upgrade v5-v2Rht upgrade v5-v2
Rht upgrade v5-v2
 
aravind_SAN_TCS
aravind_SAN_TCSaravind_SAN_TCS
aravind_SAN_TCS
 
VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers
 
Caching and tuning fun for high scalability @ FOSDEM 2012
Caching and tuning fun for high scalability @ FOSDEM 2012Caching and tuning fun for high scalability @ FOSDEM 2012
Caching and tuning fun for high scalability @ FOSDEM 2012
 
VMworld - sto7650 -Software defined storage @VMmware primer
VMworld - sto7650 -Software defined storage  @VMmware primerVMworld - sto7650 -Software defined storage  @VMmware primer
VMworld - sto7650 -Software defined storage @VMmware primer
 
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark TestingVMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
 
Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015
 
Network performance test plan_v0.3
Network performance test plan_v0.3Network performance test plan_v0.3
Network performance test plan_v0.3
 
Simplifying Hyper-V Management for VMware Administrators
Simplifying Hyper-V Management for VMware AdministratorsSimplifying Hyper-V Management for VMware Administrators
Simplifying Hyper-V Management for VMware Administrators
 
V sphere virtual volumes technical overview
V sphere virtual volumes technical overviewV sphere virtual volumes technical overview
V sphere virtual volumes technical overview
 
VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

VMware vSphere Performance Troubleshooting

  • 1. vSphere Performance Monitoring and Troubleshooting Overview What? CPU, Memory, Disk, Network How? Use available tools and a systematic methodology Why? Need to build confidence in virtualizing critical and high demand applications
  • 2. vSphere Performance Monitoring and Troubleshooting Top Issues Top Issues: Storage "performance capacity" oversubscription Memory oversubscription SMP overuse Firmware & driver issues
  • 3. vSphere Performance Monitoring and Troubleshooting What tools do we have at our disposal? Top tools for information collection: vCenter - Performance charts and alarms Guest OS* - Task Manager/Resource Monitor and PerfMon ESX Host - esxtop and vscsiStats vSpherePowerCLI *Guest based monitoring is subject to inaccuracy
  • 4. vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
  • 5. vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
  • 6. vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings Prepare custom vCenter alerts: Host Console Swap In Rate  512KBps Warning, 1024 KBps Alert Host Console Swap Out Rate  512KBps Warning, 1024 KBps Alert VM CPU Ready  1000ms Warning, 2000ms Alert VM Disk Latency  20ms Warning, 50ms Alert
  • 7. vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
  • 8. vSphere Performance Monitoring and Troubleshooting Prepare vCenter Settings
  • 9. vSphere Performance Monitoring and Troubleshooting Prepare esxtop ESXTOP realtime monitoring: esxtop(run command from SSH or tech-support mode) s 2 (refresh view every 2 seconds) V (View VMs only) h(for quick in-tool command reference) Batch Mode for a 5 minute capture of all stats: esxtop-b -a -d 2 -n 150 > esxtop_capture.csv
  • 10. vSphere Performance Monitoring and Troubleshooting Prepare PowerCLI Run PowerCLI: Tip: Run as Administrator Set-ExecutionPolicyremotesigned Connect-VIServer -Server <host> -Protocol https -User <user> -Password <pass> <host> can be IP address or name of ESX server or vCenter Get-VM Get-Stat -common -realtime
  • 11. vSphere Performance Monitoring and Troubleshooting Where do we get started?
  • 12. vSphere Performance Monitoring and Troubleshooting Network Overview
  • 13. vSphere Performance Monitoring and Troubleshooting Network Troubleshooting Guidance: 1. Physical Issues - A bad cable, a failing switch port or NIC, or an incompatible/flawed firmware or device driver (use VMXNET3 whenever possible) 2. Configuration Issues - Inconsistent configuration of vSwitches, Port Groups, or upstream VLAN trunks 3. Capacity Issues - Too many VMs on a single NIC; inadequate switch backplane or uplink capacity; sharing “unmanaged” network infrastructure for storage and data 4. Thresholds – Bandwidth saturation, dropped packets
  • 14. vSphere Performance Monitoring and Troubleshooting Network – What can we see?
  • 15. vSphere Performance Monitoring and Troubleshooting Network vCenter Metrics: Receive packets dropped Transmit packets dropped
  • 16. vSphere Performance Monitoring and Troubleshooting Network ESXTOP Metrics:
  • 17. vSphere Performance Monitoring and Troubleshooting Network ESXTOP Commands: esxtop s 2 n f
  • 18. vSphere Performance Monitoring and Troubleshooting Network ESXTOP Example:
  • 19. vSphere Performance Monitoring and Troubleshooting Network PowerCLI Commands: Get-Stat -net -realtime Get-Stat -Entity <Host> -stat net.droppedRx.summation Get-Stat -Entity <Host> -stat net.droppedTx.summation
  • 20. vSphere Performance Monitoring and Troubleshooting Network – What can’t we see?
  • 21. vSphere Performance Monitoring and Troubleshooting Network Possible resources for external monitoring: Native Telnet/SSH/HTTP-based interface counters and stats Third-party SNMP, NetFlow and ICMP tools
  • 22. vSphere Performance Monitoring and Troubleshooting CPU Overview
  • 23. vSphere Performance Monitoring and Troubleshooting CPU Troubleshooting Guidance: 1. Physical Issues - Rare and always catastrophic (e.g. obvious) 2. Configuration Issues - Too many / too few vCPUs per VM; SMP/HAL mismatch; incorrect CPU affinity settings 3. Capacity Issues - CPU saturation at the guest or host level; CPU starvation due to high IO or other system level ops 4. Thresholds – Waiting for CPU cycles (due to co-scheduling, swapping, high IO)
  • 24. vSphere Performance Monitoring and Troubleshooting CPU – What can we see?
  • 25. vSphere Performance Monitoring and Troubleshooting CPU vCenter Metrics: Host/Guest Saturation Stacked Graph (per VM) Usage
  • 26. vSphere Performance Monitoring and Troubleshooting CPU vCenter Metrics: Guest Ready (value/20=n%) Swap Wait
  • 27. vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Metrics:
  • 28. vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Commands: esxtop s 2 V c e GID (expand/contract a VM world)
  • 29. vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Example: Excessive vCPUs
  • 30. vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Example: Now with fewer vCPUs
  • 31. vSphere Performance Monitoring and Troubleshooting CPU ESXTOP Example: SMP impacting multiple VMs
  • 32. vSphere Performance Monitoring and Troubleshooting CPU PowerCLI Example Get-Stat -cpu Get-Stat -Entity <VM> -stat cpu.ready.summation -realtime Very cool script code at: http://www.peetersonline.nl/index.php/vmware/examine-vmware-cpu-ready-times-with-powershell/
  • 33. vSphere Performance Monitoring and Troubleshooting CPU – Not much else to see…
  • 34. vSphere Performance Monitoring and Troubleshooting CPU Possible resources for external monitoring: Vendor specific systems management tools, MS System Center, etc. http://www.peetersonline.nl/index.php/vmware/examine-vmware-cpu-ready-times-with-powershell/
  • 35. vSphere Performance Monitoring and Troubleshooting Memory Overview
  • 36. vSphere Performance Monitoring and Troubleshooting Memory Troubleshooting Guidance: 1. Physical Issues - Rare and usually catastrophic 2. Configuration Issues - Memory overcommit; incorrect configuration of shares, reservations or limits 3. Capacity Issues - Physical memory exhaustion 4. Thresholds – Active memory swapping
  • 37. vSphere Performance Monitoring and Troubleshooting Memory – What can we see?
  • 38. vSphere Performance Monitoring and Troubleshooting Memory vCenter Metrics Swap in rate Swap out rate Swap used
  • 39. vSphere Performance Monitoring and Troubleshooting Memory ESXTOP Metrics:
  • 40. vSphere Performance Monitoring and Troubleshooting Memory ESXTOP Commands: esxtop s 2 V m f
  • 41. vSphere Performance Monitoring and Troubleshooting Memory ESXTOP Example: m – Heavy swapping and ballooning
  • 42. vSphere Performance Monitoring and Troubleshooting Memory PowerCLI Commands: Get-Stat -mem Get-Stat -Entity <VM> -stat mem.swapoutRate.average -realtime Get-Stat -Entity <VM> -stat mem.swapinRate.average -realtime Get-Stat -Entity <VM> -stat mem.vmmemctl.average -realtime Get-Stat -Entity <Host> -stat mem.swapused.average -realtime
  • 43. vSphere Performance Monitoring and Troubleshooting Memory – The occasional DIMM failure…
  • 44. vSphere Performance Monitoring and Troubleshooting Memory Possible external monitoring options: Vendor specific systems management tools, MS System Center, etc. Don’t forget vCenter ‘Hardware Status’ reporting
  • 45. vSphere Performance Monitoring and Troubleshooting Storage Overview
  • 46. vSphere Performance Monitoring and Troubleshooting Storage Troubleshooting Guidance: 1. Physical Issues - A bad cable, a failing switch port or HBA/NIC, or an incompatible/flawed firmware or device driver (use LSI Logic Parallel/SAS as appropriate) 2. Configuration Issues - Inconsistent or incorrect configuration of LUN masking, zoning, or multi-pathing; inappropriate resource provisioning; aligning queue depth with storage type 3. Capacity Issues - Too many VMs or VMDKs on a LUN; too much IO load for an array or RAID group 4. Thresholds – Latency and queuing
  • 47. vSphere Performance Monitoring and Troubleshooting Storage – What can we see?
  • 48. vSphere Performance Monitoring and Troubleshooting Storage vCenter Metrics: Datastore Read latency Write latency
  • 49. vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Metrics:
  • 50. vSphere Performance Monitoring and Troubleshooting Storage
  • 51. vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Commands (HBA/LUN): esxtop s 2 V d f e vmhba#
  • 52. vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Commands(LUN/Datastore): esxtop s 2 V u L 38 f e <devname>
  • 53. vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Commands (VM/VMDK): esxtop s 2 V v f e GID
  • 54. vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Examples: d - Multipathing / Expand adapter to view targets
  • 55. vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Examples: u - Queuing, Disk or Kernel?
  • 56. vSphere Performance Monitoring and Troubleshooting Storage ESXTOP Examples: v - Identify the IO consumer
  • 57. vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsCommand: [root@host ~]# cd /usr/lib/vmware/bin ./vscsiStats -l ./vscsiStats -s -w <worldid> ./vscsiStats -w <worldid> -p all -c > /path/vscsistats.csv ./vscsiStats -x
  • 58. vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsExample:
  • 59. vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsExample:
  • 60. vSphere Performance Monitoring and Troubleshooting Storage vscsiStatsExample: http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/
  • 61. vSphere Performance Monitoring and Troubleshooting Storage vscsiStatshistograms:
  • 62. vSphere Performance Monitoring and Troubleshooting Storage PowerCLI Commands: Get-Stat -disk Get-Stat -stat disk.totalLatency.average -realtime Get-Stat -stat disk.deviceLatency.average -realtime Get-Stat -stat disk.kernelLatency.average -realtime
  • 63. vSphere Performance Monitoring and Troubleshooting Storage – What can’t we see?
  • 64. vSphere Performance Monitoring and Troubleshooting Storage – More of what we can’t see
  • 65. vSphere Performance Monitoring and Troubleshooting Storage Possible external monitoring solutions: Vendor specific SAN and fabric/network tools, native Telnet/SSH/HTTP-based tools for most networks, third-party SNMP-based tools
  • 66. vSphere Performance Monitoring and Troubleshooting Working with PowerCLI PowerCLI Tips: For a complete list of stat objects: Get-StatType -Entity <Host/VM> Pipe the outputs to a file: Get-Stat -stat <stat> -realtime | ft -autosize > c:emplt;filename>.csv Import the CSV file data to a spreadsheet with fixed width parameters Build pretty graphs
  • 67. vSphere Performance Monitoring and Troubleshooting Working with PowerCLI
  • 68. vSphere Performance Monitoring and Troubleshooting Way More Information ESXTOP / vscsiStats / PowerCLI: http://www.yellow-bricks.com/esxtop/ Special thanks to Duncan Epping! http://communities.vmware.com/docs/DOC-3930 http://communities.vmware.com/docs/DOC-9279 http://communities.vmware.com/docs/DOC-10095 http://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Get-Stat.html http://www.lucd.info/2009/12/30/powercli-vsphere-statistics-part-1-the-basics/ http://simongreaves.co.uk/blog/esxtop-guide http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/
  • 69. vSphere Performance Monitoring and Troubleshooting Easy button? What is the problem with these tools? Limited alerting mechanisms, no collection automation or historical data for comparison, and no correlation of events! vCenter Operations Standard / Enterprise

Editor's Notes

  1. Who uses Resource Pools? How many have reservations or limits?
  2. Use a Host CPU stacked (per VM) graph to quickly identify leading consumers
  3. Don’t necessary need CPU saturation for overcommit to have an effect on performance
  4. Don’t necessary need CPU saturation for overcommit to have an effect on performance
  5. Don’t necessary need CPU saturation for overcommit to have an effect on performance