SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

VMware vSphere technical presentation
VMware vSphere technical presentationVMware vSphere technical presentation
VMware vSphere technical presentationaleyeldean
 
VMware virtual SAN 6 overview
VMware virtual SAN 6 overviewVMware virtual SAN 6 overview
VMware virtual SAN 6 overviewsolarisyougood
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2Vepsun Technologies
 
Virtual Infrastructure Overview
Virtual Infrastructure OverviewVirtual Infrastructure Overview
Virtual Infrastructure Overviewvalerian_ceaus
 
Hci solution with VxRail
Hci solution with VxRailHci solution with VxRail
Hci solution with VxRailAnton An
 
Hyper-Converged Infrastructure Vx Rail
Hyper-Converged Infrastructure Vx Rail Hyper-Converged Infrastructure Vx Rail
Hyper-Converged Infrastructure Vx Rail Jürgen Ambrosi
 
Open shift 4 infra deep dive
Open shift 4    infra deep diveOpen shift 4    infra deep dive
Open shift 4 infra deep diveWinton Winton
 
An Introduction to VMware NSX
An Introduction to VMware NSXAn Introduction to VMware NSX
An Introduction to VMware NSXScott Lowe
 
Presentation citrix desktop virtualization
Presentation   citrix desktop virtualizationPresentation   citrix desktop virtualization
Presentation citrix desktop virtualizationxKinAnx
 
Server virtualization by VMWare
Server virtualization by VMWareServer virtualization by VMWare
Server virtualization by VMWaresgurnam73
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareDatapath Consulting
 
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 Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5Vepsun Technologies
 
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackBackroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackShapeBlue
 
Virtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure softwareVirtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure softwareDuncan Epping
 
WebSphere application server 8.5.5 - quick overview
WebSphere application server 8.5.5 - quick overviewWebSphere application server 8.5.5 - quick overview
WebSphere application server 8.5.5 - quick overviewChris Sparshott
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short PresentationBarcamp Cork
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Edureka!
 

Mais procurados (20)

VMware vSphere technical presentation
VMware vSphere technical presentationVMware vSphere technical presentation
VMware vSphere technical presentation
 
VMware virtual SAN 6 overview
VMware virtual SAN 6 overviewVMware virtual SAN 6 overview
VMware virtual SAN 6 overview
 
VMware vSphere
VMware vSphereVMware vSphere
VMware vSphere
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2
 
Virtual Infrastructure Overview
Virtual Infrastructure OverviewVirtual Infrastructure Overview
Virtual Infrastructure Overview
 
Hci solution with VxRail
Hci solution with VxRailHci solution with VxRail
Hci solution with VxRail
 
Hyper-Converged Infrastructure Vx Rail
Hyper-Converged Infrastructure Vx Rail Hyper-Converged Infrastructure Vx Rail
Hyper-Converged Infrastructure Vx Rail
 
Open shift 4 infra deep dive
Open shift 4    infra deep diveOpen shift 4    infra deep dive
Open shift 4 infra deep dive
 
An Introduction to VMware NSX
An Introduction to VMware NSXAn Introduction to VMware NSX
An Introduction to VMware NSX
 
Presentation citrix desktop virtualization
Presentation   citrix desktop virtualizationPresentation   citrix desktop virtualization
Presentation citrix desktop virtualization
 
Server virtualization by VMWare
Server virtualization by VMWareServer virtualization by VMWare
Server virtualization by VMWare
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMware
 
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 Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5
 
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackBackroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
 
Virtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure softwareVirtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure software
 
WebSphere application server 8.5.5 - quick overview
WebSphere application server 8.5.5 - quick overviewWebSphere application server 8.5.5 - quick overview
WebSphere application server 8.5.5 - quick overview
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
 
Virtual Machine
Virtual MachineVirtual Machine
Virtual Machine
 

Destaque

VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshootingglbsolutions
 
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
 
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
 
Vsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guideVsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guideSree Harsha Boyapati
 

Destaque (20)

VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
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
 
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
 
Vsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guideVsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guide
 

Semelhante a 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
 

Semelhante a 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
 

Último

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
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
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

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

Notas do Editor

  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