congestionfreehost

freehost  时间:2021-04-10  阅读:()
vSphereMonitoringandPerformance17APR2018VMwarevSphere6.
7VMwareESXi6.
7vCenterServer6.
7vSphereMonitoringandPerformanceVMware,Inc.
2Youcanfindthemostup-to-datetechnicaldocumentationontheVMwarewebsiteat:https://docs.
vmware.
com/Ifyouhavecommentsaboutthisdocumentation,submityourfeedbacktodocfeedback@vmware.
comCopyright2010–2018VMware,Inc.
Allrightsreserved.
Copyrightandtrademarkinformation.
VMware,Inc.
3401HillviewAve.
PaloAlto,CA94304www.
vmware.
comContentsAboutvSphereMonitoringandPerformance51MonitoringInventoryObjectswithPerformanceCharts7PerformanceChartTypes8DataCounters8MetricGroupsinvSphere10DataCollectionIntervals11DataCollectionLevels11ViewPerformanceCharts12PerformanceChartsOptionsAvailableUndertheViewMenu13OverviewPerformanceCharts14WorkingwithAdvancedandCustomCharts106TroubleshootandEnhancePerformance1092MonitoringGuestOperatingSystemPerformance116EnableStatisticsCollectionforGuestOperatingSystemPerformanceAnalysis116ViewPerformanceStatisticsforWindowsGuestOperatingSystems1163MonitoringHostHealthStatus118MonitorHealthStatusinthevSphereClient119MonitorHardwareHealthStatus119ResetHealthStatusSensorsinthevSphereClient120ResetHealthStatusSensors1204MonitoringvSphereHealth121CheckvSphereHealthinvSphereClient1215MonitoringEvents,Alarms,andAutomatedActions123ViewEvents125ViewSystemLogs125ExportEventsData126StreamingEventstoaRemoteSyslogServer126RetentionofEventsinthevCenterServerDatabase128ViewTriggeredAlarmsandAlarmDefinitions130LiveRefreshofRecentTasksandAlarms130SetanAlarminthevSphereWebClient131SetanAlarminthevSphereClient141AcknowledgeTriggeredAlarms144VMware,Inc.
3ResetTriggeredEventAlarms144PreconfiguredvSphereAlarms1456MonitoringSolutionswiththevCenterSolutionsManager151ViewSolutionsandvServices151MonitoringAgents152MonitoringvServices1527MonitoringtheHealthofServicesandNodes154ViewtheHealthStatusofServicesandNodes1548PerformanceMonitoringUtilities:resxtopandesxtop156UsingtheesxtopUtility156UsingtheresxtopUtility157UsingesxtoporresxtopinInteractiveMode158UsingBatchMode173UsingReplayMode1749UsingthevimtopPlug-IntoMonitortheResourceUseofServices177MonitorServicesByUsingvimtopinInteractiveMode177InteractiveModeCommand-LineOptions177InteractiveModeSingle-KeyCommandsforvimtop17810MonitoringNetworkedDeviceswithSNMPandvSphere180UsingSNMPTrapswithvCenterServer180ConfigureSNMPforESXi182SNMPDiagnostics193MonitorGuestOperatingSystemswithSNMP193VMwareMIBFiles193SNMPv2DiagnosticCounters19511SystemLogFiles197ViewSystemLogEntries197ViewSystemLogsonanESXiHost197SystemLogs198ExportSystemLogFiles199ESXiLogFiles200UploadLogsPackagetoaVMwareServiceRequest200ConfigureSyslogonESXiHosts201ConfiguringLoggingLevelsfortheGuestOperatingSystem202CollectingLogFiles204ViewingLogFileswiththeLogBrowser208vSphereMonitoringandPerformanceVMware,Inc.
4AboutvSphereMonitoringandPerformanceVMwareprovidesseveraltoolstohelpyoumonitoryourvirtualenvironmentandtolocatethesourceofpotentialissuesandcurrentproblems.
PerformancechartsAllowyoutoseeperformancedataonavarietyofsystemresourcesincludingCPU,Memory,Storage,andsoon.
Performancemonitoringcommand-lineutilitiesAllowyoutoaccessdetailedinformationonsystemperformancethroughthecommandline.
HosthealthAllowsyoutoquicklyidentifywhichhostsarehealthyandwhichareexperiencingproblems.
Events,alerts,andalarmsAllowyoutoconfigurealertsandalarmsandtospecifytheactionsthesystemshouldtakewhentheyaretriggered.
SystemLogFilesSystemlogscontainadditionalinformationaboutactivitiesinyourvSphereenvironment.
IntendedAudienceThecontentinthissectionisintendedforvSphereadministratorswhoperformthefollowingtasks:nMonitorthehealthandperformanceofphysicalhardwarebackingsforthevirtualenvironment.
nMonitorthehealthandperformanceofvirtualdevicesinthevirtualenvironment.
nTroubleshootproblemsinthesystem.
nConfigurealarms.
nConfigureSNMPmessages.
VirtualmachineadministratorsalsomightfindthesectiononChapter2MonitoringGuestOperatingSystemPerformancehelpful.
vSphereWebClientandvSphereClientInstructionsinthisguidereflectthevSphereClient(anHTML5-basedGUI).
YoucanalsousetheinstructionstoperformmostofthetasksbyusingthevSphereWebClient(aFlex-basedGUI).
VMware,Inc.
5TasksforwhichtheworkflowdifferssignificantlybetweenthevSphereClientandthevSphereWebClienthaveduplicateproceduresthatprovidestepsaccordingtotherespectiveclientinterface.
TheproceduresthatrelatetothevSphereWebClient,containvSphereWebClientinthetitle.
NoteInvSphere6.
7,mostofthevSphereWebClientfunctionalityisimplementedinthevSphereClient.
Foranup-to-datelistoftheunsupportedfunctionality,seeFunctionalityUpdatesforthevSphereClient.
VMwareTechnicalPublicationsGlossaryVMwareTechnicalPublicationsprovidesaglossaryoftermsthatmightbeunfamiliartoyou.
FordefinitionsoftermsastheyareusedinVMwaretechnicaldocumentation,gotohttp://www.
vmware.
com/support/pubs.
vSphereMonitoringandPerformanceVMware,Inc.
6MonitoringInventoryObjectswithPerformanceCharts1ThevSpherestatisticssubsystemcollectsdataontheresourceusageofinventoryobjects.
Dataonawiderangeofmetricsiscollectedatfrequentintervals,processed,andarchivedinthevCenterServerdatabase.
Youcanaccessstatisticalinformationthroughcommand-linemonitoringutilitiesorbyviewingperformancechartsinthevSphereWebClient.
CountersandMetricGroupsvCenterServersystemsandhostsusedatacounterstoqueryforstatistics.
Adatacounterisaunitofinformationrelevanttoagiveninventoryobjectordevice.
Eachcountercollectsdataforadifferentstatisticinametricgroup.
Forexample,thediskmetricgroupincludesseparatedatacounterstocollectdatafordiskreadrate,diskwriterate,anddiskusage.
Statisticsforeachcounterarerolledupafteraspecifiedcollectioninterval.
Eachdatacounterconsistsofseveralattributesthatareusedtodeterminethestatisticalvaluecollected.
Foracompletelistanddescriptionofperformancemetrics,seethevSphereAPIReference.
NoteCountersthatareintroducedinlaterversionsmightnotcontaindatafromhostsofearlierversions.
Fordetails,seetheVMwareKnowledgeBase.
CollectionLevelsandCollectionIntervalsCollectionlevelsdeterminethenumberofcountersforwhichdataisgatheredduringeachcollectioninterval.
Collectionintervalsdeterminethetimeperiodduringwhichstatisticsareaggregated,calculated,rolledup,andarchivedinthevCenterServerdatabase.
Together,thecollectionintervalandcollectionleveldeterminehowmuchstatisticaldataiscollectedandstoredinyourvCenterServerdatabase.
DataAvailabilityReal-timedataappearsintheperformancechartsonlyforhostsandvirtualmachinesthatarepoweredon.
Historicaldataappearsforallsupportedinventoryobjects,butmightbeunavailableduringcertaincircumstances.
VMware,Inc.
7Thischapterincludesthefollowingtopics:nPerformanceChartTypesnDataCountersnMetricGroupsinvSpherenDataCollectionIntervalsnDataCollectionLevelsnViewPerformanceChartsnPerformanceChartsOptionsAvailableUndertheViewMenunOverviewPerformanceChartsnWorkingwithAdvancedandCustomChartsnTroubleshootandEnhancePerformancePerformanceChartTypesPerformancemetricsaredisplayedindifferenttypesofcharts,dependingonthemetrictypeandobject.
Table11.
PerformanceChartTypesChartTypeDescriptionLinechartDisplaysmetricsforasingleinventoryobject.
Thedataforeachperformancecounterisplottedonaseparatelineinthechart.
Forexample,anetworkchartforahostcancontaintwolines:oneshowingthenumberofpacketsreceived,andoneshowingthenumberofpacketstransmitted.
BarchartDisplaysstoragemetricsfordatastoresinaselecteddatacenter.
Eachdatastoreisrepresentedasabarinthechart.
Eachbardisplaysmetricsbasedonthefiletype:virtualdisks,snapshots,swapfiles,andotherfiles.
PiechartDisplaysstoragemetricsforasingleobject,basedonthefiletypes,orvirtualmachines.
Forexample,apiechartforadatastorecandisplaytheamountofstoragespaceoccupiedbythevirtualmachinestakingupthelargestspace.
StackedchartDisplaysmetricsforthechildobjectsthathavethehigheststatisticalvalues.
Allotherobjectsareaggregated,andthesumvalueisdisplayedwiththetermOther.
Forexample,ahost'sstackedCPUusagechartdisplaysCPUusagemetricsforthe10virtualmachinesonthehostthatareconsumingthemostCPU.
TheOtheramountcontainsthetotalCPUusageoftheremainingvirtualmachines.
Themetricsforthehostitselfaredisplayedinseparatelinecharts.
Stackedchartsareusefulincomparingtheresourceallocationandusageacrossmultiplehostsorvirtualmachines.
Bydefault,the10childobjectswiththehighestdatacountervaluesaredisplayed.
DataCountersEachdatacounterincludesseveralattributesthatareusedtodeterminethestatisticalvaluecollected.
SeethevSphereAPIReferenceforacompletelistanddescriptionofsupportedcounters.
vSphereMonitoringandPerformanceVMware,Inc.
8Table12.
DataCounterAttributesAttributeDescriptionUnitofMeasurementStandardinwhichthestatisticquantityismeasured.
nKilobytes(KB)–1024bytesnKilobytespersecond(KBps)–1024bytespersecondnKilobits(kb)–1000bitsnKilobitspersecond(kbps)–1000bitspersecondnMegabytes(MB)nMegabytespersecond(MBps)nMegabits(Mb),megabitspersecond(Mbps)nMegahertz(MHz)nMicroseconds(s)nMilliseconds(ms)nNumber(#)nPercent(%)nSeconds(s)DescriptionTextdescriptionofthedatacounter.
StatisticsTypeMeasurementusedduringthestatisticsinterval.
Relatedtotheunitofmeasurement.
nRate–ValueoverthecurrentstatisticsintervalnDelta–Changefrompreviousstatisticsinterval.
nAbsolute–Absolutevalue(independentofthestatisticsinterval).
RollupTypeCalculationmethodusedduringthestatisticsintervaltorollupdata.
Determinesthetypeofstatisticalvaluesthatarereturnedforthecounter.
nAverage–Datacollectedduringtheintervalisaggregatedandaveraged.
nMinimum–Theminimumvalueisrolledup.
nMaximum–Themaximumvalueisrolledup.
TheMinimumandMaximumvaluesarecollectedanddisplayedonlyinstatisticslevel4.
Minimumandmaximumrolluptypesareusedtocapturepeaksindataduringtheinterval.
Forreal-timedata,thevalueisthecurrentminimumorcurrentmaximum.
Forhistoricaldata,thevalueistheaverageminimumoraveragemaximum.
Forexample,thefollowinginformationfortheCPUusagechartshowsthattheaverageiscollectedatstatisticslevel1.
Theminimumandmaximumvaluesarecollectedatstatisticslevel4.
nCounter:usagenUnit:Percentage(%)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)nSummation–Datacollectedissummed.
Themeasurementdisplayedinthechartrepresentsthesumofdatacollectedduringtheinterval.
nLatest–Datacollectedduringtheintervalisasetvalue.
Thevaluedisplayedintheperformancechartsrepresentsthecurrentvalue.
CollectionlevelNumberofdatacountersusedtocollectstatistics.
Collectionlevelsrangefrom1to4,with4havingthemostcounters.
NoteBecarefulwhenyousetahighercollectionlevel,astheprocessrequiressignificantincreaseofresourceusage.
Formoreinformation,seeDataCollectionLevels.
vSphereMonitoringandPerformanceVMware,Inc.
9MetricGroupsinvSphereTheperformancedatacollectionsubsystemforvSpherecollectsperformancedataonvariousinventoryitemsandtheirdevices.
Datacountersdefineindividualperformancemetrics.
Performancemetricsareorganizedintologicalgroupsbasedontheobjectorobjectdevice.
Statisticsforoneormoremetricscanbedisplayedinachart.
Table13.
MetricGroupsMetricgroupDescriptionClusterServicesPerformancestatisticsforclustersconfiguredbyusingvSphereDistributedResourceScheduler,vSphereHighAvailability,orboth.
CPUCPUutilizationperhost,virtualmachine,resourcepool,orcomputeresource.
DatastoreStatisticsfordatastoreutilization.
DiskDiskutilizationperhost,virtualmachine,ordatastore.
DiskmetricsincludeI/Operformance,suchaslatencyandread/writespeeds,andutilizationmetricsforstorageasafiniteresource.
MemoryMemoryutilizationperhost,virtualmachine,resourcepool,orcomputeresource.
Thevalueobtainedisoneofthefollowing:nForvirtualmachines,memoryreferstotheguestphysicalmemory.
Guestphysicalmemoryistheamountofphysicalmemorypresentedasavirtual-hardwarecomponenttothevirtualmachine,atcreationtime,andmadeavailablewhenthevirtualmachineisrunning.
nForhosts,memoryreferstothemachinememory.
MachinememoryistheRAMthatisinstalledonthehardwarethatcomprisesthehost.
NetworkNetworkutilizationforbothphysicalandvirtualnetworkinterfacecontrollers(NICs)andothernetworkdevices.
Thevirtualswitchesthatsupportconnectivityamongallcomponents,suchashosts,virtualmachines,VMkernel.
PowerEnergyusagestatisticsperhost.
StorageAdapterDatatrafficstatisticsperhostbusadapter(HBA).
StoragePathDatatrafficstatisticsperpath.
SystemOverallsystemavailability,suchasthesystemheartbeatanduptime.
ThesecountersareavailabledirectlyfromhostsandfromvCenterServer.
VirtualDiskDiskutilizationanddiskperformancemetricsforvirtualmachines.
VirtualFlashVirtualflashcounters.
VirtualMachineOperationsVirtualmachinepowerandprovisioningoperationsinaclusterordatacenter.
vSphereReplicationStatisticsforthevirtualmachinereplicationperformedbyVMwarevCenterSiteRecoveryManager.
vSphereMonitoringandPerformanceVMware,Inc.
10DataCollectionIntervalsCollectionintervalsdeterminethedurationforwhichstatisticsareaggregated,calculated,rolledup,andarchived.
Together,thecollectionintervalandcollectionleveldeterminehowmuchstatisticaldataisgatheredandstoredinyourvCenterServerdatabase.
Table14.
CollectionIntervalsCollectionInterval/ArchiveLengthCollectionFrequencyDefaultBehavior1Day5MinutesReal-timestatisticsarerolleduptocreateonedatapointevery5minutes.
Theresultis12datapointseveryhourand288datapointseveryday.
After30minutes,thesixdatapointscollectedareaggregatedandrolledupasadatapointforthe1-Weektimerange.
Youcanchangetheintervaldurationandarchivelengthofthe1-Daycollectionintervalbyconfiguringthestatisticssettings.
1Week30Minutes1-Daystatisticsarerolleduptocreateonedatapointevery30minutes.
Theresultis48datapointseverydayand336datapointseveryweek.
Every2hours,the12datapointscollectedareaggregatedandrolledupasadatapointforthe1-Monthtimerange.
Youcannotchangethedefaultsettingsofthe1-Weekcollectioninterval.
1Month2Hours1-Weekstatisticsarerolleduptocreateonedatapointevery2hours.
Theresultis12datapointseverydayand360datapointseverymonth(assuminga30-daymonth).
After24hours,the12datapointscollectedareaggregatedandrolledupasadatapointforthe1-Yeartimerange.
Youcannotchangethedefaultsettingsofthe1-Monthcollectioninterval.
1Year1Day1-Monthstatisticsarerolleduptocreateonedatapointeveryday.
Theresultis365datapointseachyear.
Youcanchangethearchivelengthofthe1-Yearcollectionintervalbyconfiguringthestatisticssettings.
NoteIfyouchangethedurationofdatacollectionintervalsyoumightneedtoallocatemorestorageresources.
DataCollectionLevelsEachcollectionintervalhasadefaultcollectionlevelthatdeterminestheamountofdatagatheredandwhichcountersareavailablefordisplayinthecharts.
Collectionlevelsarealsoreferredtoasstatisticslevels.
vSphereMonitoringandPerformanceVMware,Inc.
11Table15.
StatisticsLevelsLevelMetricsBestPracticeLevel1nClusterServices(VMwareDistributedResourceScheduler)–allmetricsnCPU–cpuentitlement,totalmhz,usage(average),usagemhznDisk–capacity,maxTotalLatency,provisioned,unshared,usage(average),usednMemory–consumed,mementitlement,overhead,swapinRate,swapoutRate,swapused,totalmb,usage(average),vmmemctl(balloon)nNetwork–usage(average),IPv6nSystem–heartbeat,uptimenVirtualMachineOperations–numChangeDS,numChangeHost,numChangeHostDSUseforlong-termperformancemonitoringwhendevicestatisticsarenotrequired.
Level1isthedefaultCollectionLevelforallCollectionIntervals.
Level2nLevel1metricsnCPU–idle,reservedCapacitynDisk–Allmetrics,excludingnumberReadandnumberWrite.
nMemory–Allmetrics,excludingmemUsedandmaximumandminimumrollupvalues.
nVirtualMachineOperations–AllmetricsUseforlong-termperformancemonitoringwhendevicestatisticsarenotrequiredbutyouwanttomonitormorethanthebasicstatistics.
Level3nLevel1andLevel2metricsnMetricsforallcounters,excludingminimumandmaximumrollupvalues.
nDevicemetricsUseforshort-termperformancemonitoringafterencounteringproblemsorwhendevicestatisticsarerequired.
Becauseofthelargequantityoftroubleshootingdataretrievedandrecorded,uselevel3fortheshortesttimeperiod(DayorWeekcollectioninterval).
Level4AllmetricssupportedbythevCenterServer,includingminimumandmaximumrollupvalues.
Useforshort-termperformancemonitoringafterencounteringproblemsorwhendevicestatisticsarerequired.
Becauseofthelargequantityoftroubleshootingdataretrievedandrecorded,uselevel4fortheshortestamountoftime.
NoteWhenyouincreasethecollectionlevel,thestorageandsystemrequirementsmightchange.
Youmightneedtoallocatemoresystemresourcestoavoidadecreaseintheperformance.
ViewPerformanceChartsThevCenterServerstatisticssettings,thetypeofobjectselected,andthefeaturesthatareenabledontheselectedobjectdeterminetheamountofinformationdisplayedincharts.
Chartsareorganizedintoviews.
Youcanselectaviewtoseerelateddatatogetherononescreen.
Youcanalsospecifythetimerange,ordatacollectioninterval.
Thedurationextendsfromtheselectedtimerangetothepresenttime.
vSphereMonitoringandPerformanceVMware,Inc.
12Overviewchartsdisplaymultipledatasetsinonepaneltoevaluatedifferentresourcestatistics,displaythumbnailchartsforchildobjects.
Italsodisplayschartsforaparentandachildobject.
Advancedchartsdisplaymoreinformationthanoverviewcharts,areconfigurable,andcanbeprintedorexported.
YoucanexportdatainthePNG,JPEG,orCSVformats.
SeeViewAdvancedPerformanceCharts.
Procedure1SelectavalidinventoryobjectinthevSphereWebClient.
Overviewandadvancedperformancechartsareavailablefordatacenter,cluster,host,resourcepool,vApp,andvirtualmachineobjects.
Overviewchartsarealsoavailablefordatastoresanddatastoreclusters.
Performancechartsarenotavailablefornetworkobjects.
2ClicktheMonitortab,andclickPerformance.
3Selectaview.
Availableviewsdependonthetypeofobject.
Forviewsthatmightcontainmanychartsinalargeenvironment,thevSphereWebClientdisplaysthechartsdistributedonmultiplepages.
Youcanusethearrowbuttonstonavigatebetweenpages.
4Selectapredefinedorcustomtimerange.
PerformanceChartsOptionsAvailableUndertheViewMenuTheperformancechartoptionsthatyoucanaccessundertheViewmenuvarydependingonthetypeofinventoryobjectyouselect.
Forexample,theVirtualMachinesviewisavailablewhenyouviewhostperformancechartsonlyiftherearevirtualmachinesontheselectedhost.
Likewise,theFaultToleranceviewforvirtualmachineperformancechartsisavailableonlywhenthatfeatureisenabledfortheselectedvirtualmachine.
Table16.
PerformanceChartViewsbyInventoryObjectObjectViewListItemsDatacenternStorage-spaceutilizationchartsfordatastoresinthedatacenter,includingspacebyfiletypeandstoragespaceusedbyeachdatastoreinthedatacenter.
nClusters-thumbnailCPUandmemorychartsforeachcluster,andstackedchartsfortotalCPUandmemoryusageinthedatacenter.
Thisviewisthedefault.
DatastoreanddatastoreclusternSpace-spaceutilizationchartsforthedatastore:nspaceutilizationbyfiletypenspaceutilizationbyvirtualmachinenspaceusagenPerformance-performancechartsforthedatastoreordatastoreclusterandforvirtualmachinedisksontheresource.
NoteThePerformanceviewfordatastoresisonlyavailablewhenallhoststhatareconnectedtothedatastoresareESX/ESXi4.
1orgreater.
ThePerformanceviewfordatastoreclustersisonlyavailablewhentheStorageDRSisenabled.
vSphereMonitoringandPerformanceVMware,Inc.
13Table16.
PerformanceChartViewsbyInventoryObject(Continued)ObjectViewListItemsClusternHome-CPUandmemorychartsforthecluster.
nResourcePools&VirtualMachines-thumbnailchartsforresourcepoolsandvirtualmachines,andstackedchartsfortotalCPUandmemoryusageinthecluster.
nHosts-thumbnailchartsforeachhostinthecluster,andstackedchartsfortotalCPU,memory,diskusage,andnetworkusage.
HostnHome-CPU,memory,disk,andnetworkchartsforthehost.
nVirtualMachines-thumbnailchartsforvirtualmachines,andstackedchartsfortotalCPUusageandtotalmemoryusageonthehost.
ResourcePoolandvAppsnHome-CPUandmemorychartsfortheresourcepool.
nResourcePools&VirtualMachines-thumbnailchartsforresourcepools,andvirtualmachinesandstackedchartsforCPUandmemoryusageintheresourcepoolorvApp.
VirtualMachinenStorage-spaceutilizationchartsforthevirtualmachine:spacebyfiletype,spacebydatastore,andtotalgigabytes.
nFaultTolerance-CPUandmemorychartsthatdisplaycomparativemetricsforthefault-tolerantprimaryandsecondaryvirtualmachines.
nHome-CPU,memory,network,host(thumbnailcharts),anddiskusagechartsforthevirtualmachine.
OverviewPerformanceChartsTheoverviewperformancechartsdisplaythemostcommonmetricsforanobjectintheinventory.
Usethesechartstomonitorandtroubleshootperformanceproblems.
ThemetricsprovidedinOverviewperformancechartsareasubsetofthosecollectedforhostsandthevCenterServer.
ForacompletelistofallmetricscollectedbyhostsandthevCenterServer,seethevSphereAPIReference.
ClustersTheclusterchartscontaininformationaboutCPU,disk,memory,andnetworkusageforclusters.
Thehelptopicforeachchartcontainsinformationaboutthedatacountersdisplayedinthatchart.
ThecollectionlevelsetforvCenterServerdeterminestheavailablecounters.
CPU(MHz)TheCPU(MHz)chartdisplaysCPUusageforthecluster.
ClusterCountersThischartislocatedintheHomeviewoftheClusterPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
14Table17.
DataCountersChartLabelDescriptionUsageSumoftheaverageCPUusagevalues,inMegahertz,ofallvirtualmachinesinthecluster.
nCounter:usagemhznStatsType:RatenUnit:Megahertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)TotalTotalamountofCPUresourcesavailableinthecluster.
Themaximumvalueisequaltothenumberofcoresmultipliedbythefrequencyoftheprocessors.
Forexample,aclusterhastwohosts,eachofwhichhasfourCPUsthatare3GHzeach,andonevirtualmachinethathastwovirtualCPUs.
VMtotalmhz=2vCPUs*3000MHz=6000MHzHosttotalmhz=4CPUs*3000MHz=12000MHzClustertotalmhz=2x4*3000MHz=24000MHznCounter:totalmhznStatsType:RatenUnit:Megahertz(MHz)nRollupType:SummationnCollectionLevel:1ChartAnalysisAshortspikeinCPUusageindicatesthatyouaremakingthebestuseofclusterresources.
However,ifthevalueisconstantlyhigh,theCPUdemandedislikelygreaterthantheCPUcapacityavailable.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesonthehostsinthecluster.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table18.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2IftheclusterisnotaDRScluster,enableDRS.
ToenableDRS,performthefollowingtasks:1Selectthecluster,andclicktheConfiguretab.
2UnderServices,clickvSphereDRS.
3clickEdit.
AnEditClusterSettingsdialogboxopens.
4ClickTurnONvSphereDRS,andclickOK.
3IftheclusterisaDRScluster:nIncreasethenumberofhosts,andmigrateoneormorevirtualmachinestothenewhost.
nChecktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Thismighthelpavoidhotspotsinthecluster.
4Migrateoneormorevirtualmachinestoanewhost.
5UpgradethephysicalCPUsorcoresoneachhostintheclusterifnecessary.
vSphereMonitoringandPerformanceVMware,Inc.
15Table18.
CPUPerformanceEnhancementAdvice(Continued)#Resolution6EnableCPU-savingfeatures,suchasTCPSegmentationOffload.
7ReplacesoftwareI/Owiththededicatedhardware,suchasiSCSIHBAsorTCPSegmentationOffloadNICs.
CPUUsageTheclusterCPUUsagechartsmonitortheCPUutilizationofthehosts,resourcepools,andvirtualmachinesinthecluster.
Thischartdisplaysthe10childobjectsintheclusterwiththemostCPUusage.
ThischartislocatedintheResourcePoolsandVirtualMachinesviewoftheClusterPerformancetab.
Table19.
DataCountersChartLabelDescription,,orAmountofCPUactivelyusedbythehost,resourcepool,orvirtualmachineinthecluster.
nCounter:usagemhznStatsType:RatenUnit:MegaHertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageindicatesthatyouaremakingthebestuseofclusterresources.
However,ifthevalueisconstantlyhigh,theCPUdemandedislikelygreaterthantheCPUcapacityavailable.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesonthehostsinthecluster.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table110.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2IftheclusterisnotaDRScluster,enableDRS.
ToenableDRS,performthefollowingtasks:1Selectthecluster,andclicktheConfiguretab.
2UnderServices,clickvSphereDRS.
3clickEdit.
AnEditClusterSettingsdialogboxopens.
4ClickTurnONvSphereDRS,andclickOK.
3IftheclusterisaDRScluster:nIncreasethenumberofhosts,andmigrateoneormorevirtualmachinestothenewhost.
nChecktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Thismighthelpavoidhotspotsinthecluster.
4Migrateoneormorevirtualmachinestoanewhost.
5UpgradethephysicalCPUsorcoresoneachhostintheclusterifnecessary.
vSphereMonitoringandPerformanceVMware,Inc.
16Table110.
CPUPerformanceEnhancementAdvice(Continued)#Resolution6EnableCPU-savingfeatures,suchasTCPSegmentationOffload.
7ReplacesoftwareI/Owiththededicatedhardware,suchasiSCSIHBAsorTCPSegmentationOffloadNICs.
Disk(KBps)TheDisk(KBps)chartdisplaysthediskI/Oofthe10hostsintheclusterwiththemostdiskusage.
ThischartislocatedintheHostsviewoftheclusterPerformancetab.
Table111.
DataCountersChartLabelDescriptionhost_nameAveragedataI/Orateacrossallhostsinthecluster.
nCounter:usagenStatsType:RatenUnit:Kilobytespersecond(KBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
vSphereMonitoringandPerformanceVMware,Inc.
17Table112.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
Memory(MB)TheMemory(MB)chartdisplaysconsumedmemoryforthecluster.
Thechartappearsonlyatcollectionlevel1.
ThischartislocatedintheHomeviewoftheclusterPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
18Table113.
DataCountersChartLabelDescriptionConsumedAmountofhostmachinememoryusedbyallpoweredonvirtualmachinesinthecluster.
Acluster'sconsumedmemoryconsistsofvirtualmachineconsumedmemoryandoverheadmemory.
Itdoesnotincludehost-specificoverheadmemory,suchasmemoryusedbytheserviceconsoleorVMkernel.
nCounter:consumednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)TotalTotalamountofmachinememoryofallhostsintheclusterthatisavailableforvirtualmachinememory(physicalmemoryforusebytheGuestOS)andvirtualmachineoverheadmemory.
MemoryTotal=Aggregatehostmachinememory-(VMkernelmemory+ServiceConsolememory+otherservicememory)NoteThetotalmbdatacounteristhesameastheeffectivememdatacounter,whichissupportedonlyforbackwardcompatibility.
nCounter:totalmbnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisMemoryusageisnotanindicatorofperformanceproblems.
Memorycanbehighifahostisswappingorballooning,whichcanresultinvirtualmachineguestswapping.
Insuchcases,checkforotherproblems,suchasCPUover-commitmentorstoragelatencies.
Ifyouhaveconstantlyhighmemoryusageinacluster,resourcepool,orvApp,considertakingthefollowingactions.
Table114.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Verifythattheballoondriverisenabled.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Iftheballoonvalueishigh,checktheresourceshares,reservations,andlimitsforthevirtualmachinesandresourcepoolsonthehosts.
Verifythatthehost'ssettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iffreememoryisavailableonthehostsandthevirtualmachinesareexperiencinghighswaporballoonmemory,thevirtualmachine(orresourcepool,ifitbelongstoone)hasreacheditsresourcelimit.
Checkthemaximumresourcelimitsetonthathost.
vSphereMonitoringandPerformanceVMware,Inc.
19Table114.
MemoryPerformanceEnhancementAdvice(Continued)#Resolution4IftheclusterisnotaDRScluster,enableDRS.
ToenableDRS,performthefollowingtasks:1Selectthecluster,andclicktheConfiguretab.
2UnderServices,clickvSphereDRS.
3clickEdit.
AnEditClusterSettingsdialogboxopens.
4ClickTurnONvSphereDRS,andclickOK.
5IftheclusterisaDRScluster:nIncreasethenumberofhosts,andmigrateoneormorevirtualmachinestothenewhost.
nChecktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Itmighthelpavoidhotspotsinthecluster.
6Addmorephysicalmemorytooneormorehosts.
Memory(MB)TheMemory(MB)chartdisplaysmemorydatacountersforclusters.
Thechartappearsatallcollectionlevelsexceptlevel1.
DescriptionThischartislocatedintheHomeviewoftheclusterPerformancetab.
NoteThesedatacounterdefinitionsareforhosts.
Attheclusterlevel,thevaluesarecollectedandtotaled.
Thecountervaluesinthechartrepresenttheaggregateamountsofthehostdata.
ThecountersthatappearinthechartdependonthecollectionlevelsetforyourvCenterServer.
Table115.
DataCountersChartLabelDescriptionActiveSumoftheactiveguestphysicalmemoryofallpoweredonvirtualmachinesonthehost,plusmemoryusedbybasicVMkernelapplications.
ActivememoryisestimatedbytheVMkernel.
nCounter:activenStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)BalloonSumoftheguestphysicalmemoryreclaimedbytheballoondriverforallpoweredonvirtualmachinesonthehost.
nCounter:vmmemctlnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)vSphereMonitoringandPerformanceVMware,Inc.
20Table115.
DataCounters(Continued)ChartLabelDescriptionConsumedAmountofmachinememoryusedonthehost.
Consumedmemoryincludesvirtualmachinememory,serviceconsolememory,andVMkernelmemory.
consumedmemory=totalhostmemory-freehostmemorynCounter:consumednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)GrantedSumoftheguestphysicalmemorygrantedforallpoweredonvirtualmachines.
Grantedmemoryismappedtothehost'smachinememory.
Grantedmemoryforahostincludesthesharedmemoryofeachvirtualmachineonthehost.
nCounter:grantednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)SwapUsedSumofthememoryswappedbyallpoweredonvirtualmachinesonthehost.
nCounter:swapusednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)TotalAggregatetotalmemoryavailabletothecluster.
nCounter:totalmbnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisToensurebestperformance,thehostmemorymustbelargeenoughtoaccommodatetheactivememoryofthevirtualmachines.
Theactivememorycanbesmallerthanthevirtualmachinememorysize.
Itallowsyoutoover-provisionmemory,butstillensuresthatthevirtualmachineactivememoryissmallerthanthehostmemory.
Transienthigh-usagevaluesusuallydonotcauseperformancedegradation.
Forexample,memoryusagecanbehighwhenseveralvirtualmachinesarestartedatthesametimeorwhenaspikeoccursinvirtualmachineworkload.
However,aconsistentlyhighmemoryusagevalue(94%orgreater)indicatesthatthehostisprobablylackingthememoryrequiredtomeetthedemand.
Iftheactivememorysizeisthesameasthegrantedmemorysize,thedemandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
vSphereMonitoringandPerformanceVMware,Inc.
21Ifthememoryusagevalueishigh,andthehosthashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannothandlethedemandformemory.
Itleadstomemoryreclamation,whichmightdegradeperformance.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitsettingsofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachines.
Ifthehosthaslittlefreememoryavailable,orifyounoticeadegradationinperformance,considertakingthefollowingactions.
Table116.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
MemoryConsumedTheMemoryConsumedchartdisplaysmemoryusageforthe10childobjectsintheclusterwiththemostconsumedmemory.
Forresourcepoolsandvirtualmachinesinacluster,thischartislocatedintheResourcePools&VirtualMachinesviewoftheclusterPerformancetab.
Forhostsinacluster,thischartislocatedintheHostsviewoftheclusterPerformancetab.
Table117.
DataCountersChartLabelDescriptionresource_pool,virtual_machine,orhostAmountofmachinememoryusedbyallresourcepoolsandvirtualmachinesintheclusterorbyallhostsinthecluster,dependingontheclusterview.
Consumedmemoryincludesvirtualmachinememory,serviceconsolememory,andVMkernelmemory.
consumedmemory=totalhostmemory-freehostmemorynCounter:consumednStatsType:AbsolutenUnit:MegaBytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)vSphereMonitoringandPerformanceVMware,Inc.
22ChartAnalysisMemoryusageisnotanindicatorofperformanceproblems.
Memorycanbehighifahostisswappingorballooning,whichcanresultinvirtualmachineguestswapping.
Insuchcases,checkforotherproblems,suchasCPUover-commitmentorstoragelatencies.
Ifyouhaveconstantlyhighmemoryusageinacluster,resourcepool,orvApp,considertakingthefollowingactions.
Table118.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Verifythattheballoondriverisenabled.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Iftheballoonvalueishigh,checktheresourceshares,reservations,andlimitsforthevirtualmachinesandresourcepoolsonthehosts.
Verifythatthehost'ssettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iffreememoryisavailableonthehostsandthevirtualmachinesareexperiencinghighswaporballoonmemory,thevirtualmachine(orresourcepool,ifitbelongstoone)hasreacheditsresourcelimit.
Checkthemaximumresourcelimitsetonthathost.
4IftheclusterisnotaDRScluster,enableDRS.
ToenableDRS,performthefollowingtasks:1Selectthecluster,andclicktheConfiguretab.
2UnderServices,clickvSphereDRS.
3clickEdit.
AnEditClusterSettingsdialogboxopens.
4ClickTurnONvSphereDRS,andclickOK.
5IftheclusterisaDRScluster:nIncreasethenumberofhosts,andmigrateoneormorevirtualmachinestothenewhost.
nChecktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Itmighthelpavoidhotspotsinthecluster.
6Addmorephysicalmemorytooneormorehosts.
Network(Mbps)TheNetwork(Mbps)chartdisplaysnetworkspeedforthe10hostsintheclusterwiththemostnetworkusage.
ThischartislocatedintheHostsviewoftheClusterPerformancetab.
Table119.
DataCountersChartLabelDescriptionAveragerateatwhichdataistransmittedandreceivedacrossallNICinstancesonthehost.
nCounter:usagenStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)vSphereMonitoringandPerformanceVMware,Inc.
23ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
Table120.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
vSphereMonitoringandPerformanceVMware,Inc.
24DatacentersThedatacenterchartscontaininformationaboutCPU,disk,memory,andstorageusagefordatacenters.
Thehelptopicforeachchartcontainsinformationaboutthedatacountersdisplayedinthatchart.
ThecountersavailablearedeterminedbythecollectionlevelsetforvCenterServer.
CPU(MHz)TheCPU(MHz)chartdisplaysCPUusageforthe10clustersinthedatacenterwiththemostCPUusage.
ThischartislocatedintheClustersviewoftheDatacentersPerformancetab.
Table121.
DataCountersChartLabelDescriptionAmountofCPUcurrentlyinusebythecluster.
TheactiveCPUusageisapproximatelyequaltotheratiooftheusedCPUcyclestotheavailableCPUcycles.
Themaximumpossiblevalueisthefrequencyoftheprocessorsmultipliedbythenumberofcores.
Forexample,atwo-waySMPvirtualmachineusing4000MHzonahostthathasfour2GHzprocessorsisusing50%oftheCPU(4000÷4*2000)=0.
5).
nCounter:usagemhznStatsType:RatenUnit:MegaHertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageindicatesthatyouaremakingthebestuseofclusterresources.
However,ifthevalueisconstantlyhigh,theCPUdemandedislikelygreaterthantheCPUcapacityavailable.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesonthehostsinthecluster.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table122.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2IftheclusterisnotaDRScluster,enableDRS.
ToenableDRS,performthefollowingtasks:1Selectthecluster,andclicktheConfiguretab.
2UnderServices,clickvSphereDRS.
3clickEdit.
AnEditClusterSettingsdialogboxopens.
4ClickTurnONvSphereDRS,andclickOK.
vSphereMonitoringandPerformanceVMware,Inc.
25Table122.
CPUPerformanceEnhancementAdvice(Continued)#Resolution3IftheclusterisaDRScluster:nIncreasethenumberofhosts,andmigrateoneormorevirtualmachinestothenewhost.
nChecktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Thismighthelpavoidhotspotsinthecluster.
4Migrateoneormorevirtualmachinestoanewhost.
5UpgradethephysicalCPUsorcoresoneachhostintheclusterifnecessary.
6EnableCPU-savingfeatures,suchasTCPSegmentationOffload.
7ReplacesoftwareI/Owiththededicatedhardware,suchasiSCSIHBAsorTCPSegmentationOffloadNICs.
Memory(MB)TheMemory(MB)chartdisplaystheaverageamountofconsumedmemoryforthe10clustersinthedatacenterwiththemostconsumedmemory.
ThischartislocatedintheClustersviewoftheDatacentersPerformancetab.
Table123.
DataCountersChartLabelDescriptionAmountofhostmachinememoryusedbyallpoweredonvirtualmachinesinthecluster.
nCounter:consumednStatsType:AbsolutenUnit:MegaBytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAcluster'sconsumedmemoryconsistsofvirtualmachineconsumedmemoryandoverheadmemory.
Itdoesnotincludehost-specificoverheadmemory,suchasmemoryusedbytheserviceconsoleorVMkernel.
Ifyouexperienceproblemswithclustermemoryusage,usethethumbnailclusterchartstoexaminememoryusageforeachclusterandincreasememoryresourcesifneeded.
IftheclusterisaDRScluster,checktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Increasingthethresholdmighthelpavoidhotspotsinthecluster.
SpaceusedbyDatastoreinGBTheSpaceusedbyDatastoreinGBchartdisplaysthe10datastoresinthedatacenterwiththemostuseddiskspace.
ThischartislocatedintheStorageviewoftheDatacenterPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
26Table124.
DataCountersChartLabelDescriptionAmountofusedstoragespaceonthe10datastoreswiththemostusedspace.
nCounter:usednStatsType:AbsolutenUnit:GigaBytes(GB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
SpaceUtilizationByFileTypeTheSpaceUtilizationByFileTypechartdisplaysdatastorespaceusageforvirtualdisks,swapfiles,snapshotfiles,andothervirtualmachinefiles.
NoteThischartdoesnotshowhistoricalstatistics.
Itonlyshowsthemostrecentlyavailabledata,whichmaybeupto30minuteslate,dependingonwhenthelaststatisticsrollupoccurred.
Inaddition,statisticsarenotcollectedacrossalldatastoresatonetime.
Theyarecollectedasynchronously.
TheSpaceUtilizationbyFileTypechartislocatedintheStorageviewofthedatacenterPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
27DatastoreCountersTable125.
DataCountersFileTypeDescriptionVirtualDisksAmountofdiskspaceusedbyvirtualdiskfiles.
Virtualdiskfilesstorethecontentsofthevirtualmachine'sharddiskdrive.
Itincludesinformationthatyouwritetoavirtualmachine'sharddisk,suchastheoperatingsystem,programfiles,anddatafiles.
Thefileshavetheextension.
vmdkandappearasaphysicaldiskdrivetoaguestoperatingsystem.
NoteDeltadisks,whichalsohaveanextension.
vmdk,arenotincludedinthisfiletype.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)SwapFilesAmountofdiskspaceusedbyswapfiles.
Swapfilesbackupthevirtualmachine'sphysicalmemory.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)SnapshotsAmountofdiskspaceusedbyvirtualmachinesnapshotfiles.
Snapshotfilesstoreinformationaboutvirtualmachinesnapshots.
Theyincludesnapshotstatefilesanddeltadiskfiles.
Asnapshotstatefilestorestherunningstateofthevirtualmachineatthetimeofthesnapshot.
Ithastheextension.
vmsn.
Adeltadiskfilestorestheupdatesmadebythevirtualmachinetothevirtualdisksafterasnapshotistaken.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)OtherVMFilesAmountofdiskspaceusedbyallothervirtualmachinefiles,suchasconfigurationfilesandlogfiles.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)OtherAmountofdiskspaceusedbyallothernon-virtualmachinefiles,suchasdocumentationfilesandbackupfiles.
FreeSpaceAmountofdiskspacenotcurrentlyinuse.
TotalSpaceAmountofdiskspaceavailabletothedatastore.
Itdefinesthedatastorecapacity.
Thechartdisplaystheinformationfordatastoresbutnotfordatacenters.
totalspace=virtualdiskspace+swapfilespace+snapshotspace+otherVMfilespace+otherspace+freespacevSphereMonitoringandPerformanceVMware,Inc.
28ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
DatastoresandDatastoreClustersThedatastorechartscontaininformationaboutdiskusagefordatastoresorthedatastoresthatarepartofacluster.
Thehelptopicforeachchartcontainsinformationaboutthedatacountersdisplayedinthatchart.
ThecountersavailablearedeterminedbythecollectionlevelsetforvCenterServer.
SpaceinGBTheSpaceinGBchartdisplaysspaceusagedatacountersfordatastores.
ThischartislocatedintheSpaceviewofthedatastoreordatastoreclusterPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
29Table126.
DataCountersChartLabelDescriptionAllocatedAmountofphysicalspaceprovisionedbyanadministratorforthedatastore.
Itisthestoragesizeuptowhichfilesonthedatastorecangrow.
Allocatedspaceisnotalwaysinuse.
nCounter:provisionednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1UsedAmountofphysicaldatastorespaceinuse.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1CapacityMaximumcapacityofthedatastore.
capacity=virtualmachinefilespace+non-virtualmachinefilespace+freespaceNoteStoragedataiscollectedandupdatedintheoverviewchartsevery30minutes.
Therefore,ifyourefreshthedatastore,thecapacityvaluemightonlybeupdatedinthedatastoreSummarytab,andnotintheoverviewcharts.
nCounter:capacitynStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
SpaceUtilizationByFileTypeTheSpaceUtilizationbyFileTypechartdisplaysspaceusedbyvirtualdisks,swapfiles,snapshotfiles,andothervirtualmachinefilesonthedatastoreorthedatastorecluster.
NoteThischartdoesnotshowhistoricalstatistics.
Itonlyshowsthemostrecentlyavailabledata,whichmaybeupto30minuteslate,dependingonwhenthelaststatisticsrollupoccurred.
Inaddition,statisticsarenotcollectedacrossalldatastoresatonetime.
Theyarecollectedasynchronously.
vSphereMonitoringandPerformanceVMware,Inc.
30TheSpaceUtilizationbyFileTypechartislocatedintheStorageviewofthedatastorePerformancetab.
Thecounterscanalsobedisplayedfordatastoreclustercharts.
DatastoreCountersTable127.
DataCountersFileTypeDescriptionVirtualDisksAmountofdiskspaceusedbyvirtualdiskfiles.
Virtualdiskfilesstorethecontentsofthevirtualmachine'sharddiskdrive.
Itincludesinformationthatyouwritetoavirtualmachine'sharddisk,suchastheoperatingsystem,programfiles,anddatafiles.
Thefileshavetheextension.
vmdkandappearasaphysicaldiskdrivetoaguestoperatingsystem.
NoteDeltadisks,whichalsohaveanextension.
vmdk,arenotincludedinthisfiletype.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)SwapFilesAmountofdiskspaceusedbyswapfiles.
Swapfilesbackupthevirtualmachine'sphysicalmemory.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)SnapshotsAmountofdiskspaceusedbyvirtualmachinesnapshotfiles.
Snapshotfilesstoreinformationaboutvirtualmachinesnapshots.
Theyincludesnapshotstatefilesanddeltadiskfiles.
Asnapshotstatefilestorestherunningstateofthevirtualmachineatthetimeofthesnapshot.
Ithastheextension.
vmsn.
Adeltadiskfilestorestheupdatesmadebythevirtualmachinetothevirtualdisksafterasnapshotistaken.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)OtherVMFilesAmountofdiskspaceusedbyallothervirtualmachinefiles,suchasconfigurationfilesandlogfiles.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)OtherAmountofdiskspaceusedbyallothernon-virtualmachinefiles,suchasdocumentationfilesandbackupfiles.
vSphereMonitoringandPerformanceVMware,Inc.
31Table127.
DataCounters(Continued)FileTypeDescriptionFreeSpaceAmountofdiskspacenotcurrentlyinuse.
TotalSpaceAmountofdiskspaceavailabletothedatastore.
Itdefinesthedatastorecapacity.
Thechartdisplaystheinformationfordatastoresbutnotfordatacenters.
totalspace=virtualdiskspace+swapfilespace+snapshotspace+otherVMfilespace+otherspace+freespaceChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
SpaceusedbyDatastoreinGBTheSpaceusedbyDatastoreinGBchartdisplaysthe10datastoresinthedatacenterwiththemostuseddiskspace.
ThischartislocatedintheStorageviewoftheDatacenterPerformancetab.
Table128.
DataCountersChartLabelDescriptionAmountofusedstoragespaceonthe10datastoreswiththemostusedspace.
nCounter:usednStatsType:AbsolutenUnit:GigaBytes(GB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
vSphereMonitoringandPerformanceVMware,Inc.
32SpaceUtilizationbyVirtualMachineTheSpaceUtilizationbyVirtualMachinechartdisplaystheamountofspaceusedbythefivevirtualmachineswiththemostspaceusedonthedatastoreorthedatastoresinthecluster.
NoteThischartdoesnotshowhistoricalstatistics.
Itonlyshowsthemostrecentlyavailabledata,whichmaybeupto30minuteslate,dependingonwhenthelaststatisticsrollupoccurred.
Inaddition,statisticsarenotcollectedacrossalldatastoresatonetime.
Theyarecollectedasynchronously.
TheSpaceUtilizationbyVirtualMachinechartislocatedintheSpaceviewofthedatastorePerformancetab.
Thecountercanalsobedisplayedfordatastoreclustercharts.
Table129.
DataCountersChartLabelDescriptionvirtual_machineAmountofdatastorespaceusedbythefivevirtualmachineswiththemostuseddatastorespace.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
SpaceAllocatedbyDatastoreinGBTheSpaceallocatedbyDatastoreinGBdisplaysthetop10datastores,virtualmachinesinthedatastore-clusterwithmostprovisionedspace.
ThischartislocatedintheSpaceviewoftheDatacenterPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
33Table130.
DataCountersChartLabelDescriptionAmountofprovisionedstoragespaceonthetop10datastoreswiththemostprovisionedspace.
nCounter:provisionednStatsType:AbsolutenUnit:KiloBytes(KB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
SpaceCapacitybyDatastoreinGBTheSpacecapacitybyDatastoreinGBdisplaysthetop10configuredsizeofthedatastoresinthedatastorecluster.
ThischartislocatedintheSpaceviewoftheDatacenterPerformancetab.
Table131.
DataCountersChartLabelDescriptionConfiguredsizeofthedatastoresinthedatastorecluster.
nCounter:capacitynStatsType:AbsolutenUnit:KiloBytes(KB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
vSphereMonitoringandPerformanceVMware,Inc.
34Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
StorageI/OControlNormalizedLatencyThischartdisplaysthenormalizedlatencyinmicrosecondsonthedatastore.
StorageI/OControlmonitorslatencytodetectcongestiononthedatastore.
ThismetriccomputesaweightedresponsetimeacrossallhostsandVMsaccessingthedatastore.
I/Ocountisusedastheweightfortheresponsetime.
ItcapturesthedevicelevellatencyanddoesnotincludeanyqueuinginsidethehypervisorstoragestackorinsidetheVM.
ItisadjustedfortheI/Osize.
HighlatenciesthataretheresultoflargeI/Osarediscountedsoasnottomakethedatastoreseemslowerthanitreallyis.
Dataforallvirtualmachinesiscombined.
ThischartdisplayszerovalueswhenStorageI/OControlisdisabled.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
ThesizeNormalizedDatastoreLatencycountercanalsobedisplayedfordatastoreclustercharts.
Table132.
DataCountersChartLabelDescriptionStorageI/OControlNormalizedLatencyStorageI/OControlmonitorslatencytodetectcongestiononthedatastore.
nCounter:sizeNormalizedDatastoreLatencynStatsType:AbsolutenUnit:MicrosecondsnRollupType:AveragenCollectionLevel:3StorageI/OControlAggregateIOPsThischartdisplaysthenumberofI/Ooperationsperonesecondonthedatastore,aggregatedacrossallhosts,andvirtualmachinesaccessingthisdatastore.
ThechartdisplayszerovalueswhenStorageI/OControlisdisabled.
ThischartislocatedinthePerformanceviewofthedatastoreorthedatastoreclusterPerformancetab.
Thecountercanbedisplayedfordatastoreanddatastoreclustercharts.
Table133.
DataCountersChartLabelDescriptionStorageI/OControlAggregateIOPsNumberofI/Ooperationspersecondonthedatastore,aggregatedacrossallhosts,andvirtualmachinesaccessingthedatastore.
nCounter:datastoreIopsnStatsType:AbsolutenUnit:NumbernRollupType:AveragenCollectionLevel:3vSphereMonitoringandPerformanceVMware,Inc.
35StorageI/OControlActivityThischartdisplaysthepercentageoftimeduringwhichStorageI/OControlactivelycontrolledlatencyofthedatastore.
ThischartislocatedinthePerformanceviewsofthedatastorePerformancetabs.
Thecountercanalsobedisplayedfordatastoreclustercharts.
Table134.
DataCountersChartLabelDescriptionStorageI/OControlActivityThisisthepercentageoftimeduringwhichtheStorageI/OControlactivelycontrolledtheI/Olatencyforthedatastore.
nCounter:siocActiveTimePercentagenStatsType:AbsolutenUnit:PercentnRollupType:AveragenCollectionLevel:3AverageDeviceLatencyperHostThischartdisplaystheaverageamountoflatencyonahostdevice.
Thechartdisplaysthe10hostswiththehighestdevicelatency.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Table135.
DataCountersChartLabelDescriptionAverageDeviceLatencyperHostMeasurestheamountoftime,inmilliseconds,tocompleteaSCSIcommandissuedfromthephysicaldevice.
nCounter:deviceLatencynStatsType:AbsolutenUnit:Milliseconds(ms)nRollupType:AveragenCollectionLevel:3MaximumQueueDepthperHostThischartdisplaysmaximumqueuedepththathostsarecurrentlymaintainingforthedatastore.
WhenStorageI/Oisenabled,queuedepthcanchangeovertimewhencongestionisdetectedatthearray.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Thechartdisplaysinformationaboutthetenhostswiththehighestvalues.
vSphereMonitoringandPerformanceVMware,Inc.
36Table136.
DataCountersChartLabelDescriptionMaxQueueDepthperHostMaximumqueuedepth.
QueuedepthisthenumberofcommandstheSCSIdriverqueuestotheHBA.
nCounter:maxQueueDepthnStatsType:AbsolutenUnit:NumbernRollupType:AveragenCollectionLevel:3ReadIOPsperHostThischartdisplaystheper-hostdiskreadratesforadatastore.
Thechartdisplaysinformationaboutthetenhostswiththehighestvalues.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Table137.
DataCountersChartLabelDescriptionReadIOPsperHostNumberofdiskreadcommandscompletedoneachdiskonthehost,persecond.
Readrate=blocksreadpersecond*blocksizenCounter:numberReadAveragednStatsType:RatenUnit:NumbernRollupType:AveragenCollectionLevel:3WriteIOPsPerHostThischartdisplaystheper-hostdiskwriteratesforadatastore.
Thechartdisplaysinformationaboutthe10hostswiththehighestvalues.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Table138.
DataCountersChartLabelDescriptionWriteIOPsperHostNumberofdiskwritecommandscompletedoneachdiskonthehost,persecond.
Writerate=blockswrittenpersecond*blocksizenCounter:numberWriteAveragednStatsType:RatenUnit:NumbernRollupType:AveragenCollectionLevel:3vSphereMonitoringandPerformanceVMware,Inc.
37AverageReadLatencyperVirtualMachineDiskThischartdisplaysthetoptenvirtualmachinediskswiththehighestaveragereadlatencyinmilliseconds.
Dataisnotdisplayedwhenthevirtualmachineispoweredoff.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Thecountercanalsobedisplayedfordatastoreclustercharts.
Table139.
DataCountersChartLabelDescriptionAverageReadLatencyperVirtualMachineDiskLatencymeasuresthetimeusedtoprocessaSCSIcommandissuedbytheguestOStothevirtualmachine.
ThekernellatencyisthetimeVMkerneltakestoprocessanI/Orequest.
Thedevicelatencyisthetimeittakesthehardwaretohandletherequest.
Totallatency=kernelLatency+deviceLatency.
nCounter:totalReadLatencynStatsType:AbsolutenUnit:Milliseconds(ms)nRollupType:AveragenCollectionLevel:3AverageWriteLatencyperVirtualMachineDiskThischartdisplaysthetoptenvirtualmachinediskswiththehighestaveragewritelatencyinmilliseconds.
Dataisnotdisplayedwhenthevirtualmachineispoweredoff.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Thecountercanalsobedisplayedfordatastoreclustercharts.
Table140.
DataCountersChartLabelDescriptionAverageWriteLatencyperVirtualMachineDiskLatencymeasuresthetimeusedtoprocessaSCSIcommandissuedbytheguestOStothevirtualmachine.
ThekernellatencyisthetimeVMkerneltakestoprocessanI/Orequest.
Thedevicelatencyisthetimeittakesthehardwaretohandletherequest.
Totallatency=kernelLatency+deviceLatency.
nCounter:totalWriteLatencynStatsType:AbsolutenUnit:Milliseconds(ms)nRollupType:AveragenCollectionLevel:3ReadIOPsperVirtualMachineDiskThischartdisplaysthetoptenvirtualmachineswiththehighestnumberofreadoperations.
Dataisnotdisplayedwhenthevirtualmachineispoweredoff.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Thecountercanalsobedisplayedfordatastoreclustercharts.
vSphereMonitoringandPerformanceVMware,Inc.
38Table141.
DataCountersChartLabelDescriptionReadIOPsperVirtualMachineDiskNumberofdiskreadcommandscompletedoneachvirtualmachinedisk,persecond.
Readrate=blocksreadpersecond*blocksizenCounter:numberReadAveragednStatsType:RatenUnit:NumbernRollupType:AveragenCollectionLevel:3WriteIOPsPerVirtualMachineDiskThischartdisplaysthe10virtualmachineswiththehighestnumberofwriteoperations.
Dataisnotdisplayedwhenthevirtualmachineispoweredoff.
ThischartislocatedinthePerformanceviewofthedatastorePerformancetab.
Thecountercanalsobedisplayedfordatastoreclustercharts.
Table142.
DataCountersChartLabelDescriptionWriteIOPsperVirtualMachineDiskNumberofdiskwritecommandscompletedoneachvirtualmachinediskonthehost.
Writerate=blocksreadpersecond*blocksizenCounter:numberWriteAveragednStatsType:RatenUnit:NumbernRollupType:AveragenCollectionLevel:3VirtualMachineObservedLatencyperDatastoreThischartdisplaystheaveragedatastorelatencyasobservedbythevirtualmachines.
ThischartislocatedinthePerformanceviewofthedatastoreclusterPerformancetab.
Table143.
DataCountersChartLabelDescriptionVMobservedlatencyreportperDatastoreThisistheaveragedatastorelatencyasobservedbythevirtualmachinesinthedatastorecluster.
nCounter:datastoreVMObservedLatencynStatsType:AbsolutenUnit:MicrosecondsnRollupType:LatestnCollectionLevel:3vSphereMonitoringandPerformanceVMware,Inc.
39HostsThehostschartscontaininformationaboutCPU,disk,memory,network,andstorageusageforhosts.
Thehelptopicforeachchartcontainsinformationaboutthedatacountersdisplayedinthatchart.
ThecountersavailablearedeterminedbythecollectionlevelsetforvCenterServer.
CPU(%)TheCPU(%)chartdisplaysCPUusageforthehost.
ThischartislocatedintheHomeviewoftheHostPerformancetab.
Table144.
DataCountersChartLabelDescriptionUsageActivelyusedCPU,asapercentageofthetotalavailableCPU,foreachphysicalCPUonthehost.
ActiveCPUisapproximatelyequaltotheratiooftheusedCPUtotheavailableCPU.
AvailableCPU=#ofphysicalCPUs*clockrate.
100%representsallCPUsonthehost.
Forexample,ifafour-CPUhostisrunningavirtualmachinewithtwoCPUs,andtheusageis50%,thehostisusingtwoCPUscompletely.
nCounter:usagenStatsType:RatenUnit:Percentage(%)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageindicatesthatyouaremakingthebestuseofthehostresources.
However,ifthevalueisconstantlyhigh,thehostisprobablylackingtheCPUrequiredtomeetthedemand.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesonthehost.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table145.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
2SettheCPUreservationsforallhigh-priorityvirtualmachinestoguaranteethattheyreceivetheCPUcyclesrequired.
3ReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
4IfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
vSphereMonitoringandPerformanceVMware,Inc.
40Table145.
CPUPerformanceEnhancementAdvice(Continued)#Resolution5UpgradethephysicalCPUsorcoresonthehostifnecessary.
6Usethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
CPU(MHz)TheCPU(MHz)chartdisplaysCPUusageforthehost.
ThischartislocatedintheHomeviewoftheHostPerformancetab.
Table146.
DataCountersChartLabelDescriptionUsageThesum,inmegahertz,oftheactivelyusedCPUofallpoweredonvirtualmachinesonahost.
Themaximumpossiblevalueisthefrequencyoftheprocessorsmultipliedbythenumberofprocessors.
Forexample,ifyouhaveahostwithfour2GHzCPUsrunningavirtualmachinethatisusing4000MHz,thehostisusingtwoCPUscompletely.
4000÷(4*2000)=0.
50nCounter:usagemhznStatsType:RatenUnit:MegaHertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageindicatesthatyouaremakingthebestuseofthehostresources.
However,ifthevalueisconstantlyhigh,thehostisprobablylackingtheCPUrequiredtomeetthedemand.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesonthehost.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table147.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
2SettheCPUreservationsforallhigh-priorityvirtualmachinestoguaranteethattheyreceivetheCPUcyclesrequired.
3ReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
4IfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
vSphereMonitoringandPerformanceVMware,Inc.
41Table147.
CPUPerformanceEnhancementAdvice(Continued)#Resolution5UpgradethephysicalCPUsorcoresonthehostifnecessary.
6Usethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
CPUUsageTheCPUUsagechartdisplaysCPUusageofthe10virtualmachinesonthehostwiththemostCPUusage.
ThischartislocatedintheVirtualMachinesviewofthehostPerformancetab.
Table148.
CountersNameDescriptionvirtual_machineAmountofCPUactivelybeingusedbyeachvirtualmachineonthehost.
100%representsallCPUs.
Forexample,ifavirtualmachinehasonevirtualCPUthatisrunningonahostwithfourCPUsandtheCPUusageis100%,thevirtualmachineisusingoneCPUresource.
virtualCPUusage=usagemhz÷(numberofvirtualCPUs*corefrequency)NoteThehost'sviewoftheCPUusage,nottheguestoperatingsystemview.
nCounter:usagenStatsType:RatenUnit:Percentage(%).
Precisionisto1/100%.
Avaluebetween0and100.
nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageorCPUreadyindicatesthatyouaremakingthebestuseofthevirtualmachineresources.
However,iftheCPUusagevalueforavirtualmachineisabove90%andtheCPUreadyvalueisabove20%,performanceisbeingimpacted.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table149.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
2SettheCPUreservationsforallhigh-priorityvirtualmachinestoguaranteethattheyreceivetheCPUcyclesrequired.
3ComparetheCPUusagevalueofavirtualmachinewiththeCPUusageofothervirtualmachinesonthehostorintheresourcepool.
Thestackedlinechartonthehost'sVirtualMachineviewshowstheCPUusageforvirtualmachinesonthehost.
4DeterminewhetherthehighreadytimeforthevirtualmachineresultedfromitsCPUusagetimereachingtheCPUlimitsetting.
Ifso,increasetheCPUlimitonthevirtualmachine.
vSphereMonitoringandPerformanceVMware,Inc.
42Table149.
CPUPerformanceEnhancementAdvice(Continued)#Resolution5IncreasetheCPUsharestogivethevirtualmachinemoreopportunitiestorun.
ThetotalreadytimeonthehostmightremainatthesamelevelifthehostsystemisconstrainedbyCPU.
Ifthehostreadytimedoesn'tdecrease,settheCPUreservationsforhigh-priorityvirtualmachinestoguaranteethattheyreceivetherequiredCPUcycles.
6Increasetheamountofmemoryallocatedtothevirtualmachine.
Thisdecreasesdiskandornetworkactivityforapplicationsthatcache.
ThismightlowerdiskI/Oandreducetheneedforthehosttovirtualizethehardware.
VirtualmachineswithsmallerresourceallocationsgenerallyaccumulatemoreCPUreadytime.
7ReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
8IfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
9UpgradethephysicalCPUsorcoresonthehostifnecessary.
10Usethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
Disk(KBps)TheDisk(KBps)chartdisplaysdiskI/Oofthehost.
ThischartislocatedintheHomeviewofthehostPerformancetab.
Table150.
DataCountersChartLabelDescriptionUsageAveragedataI/OrateacrossallLUNsonthehost.
nCounter:usagenStatsType:RatenUnit:Kilobytespersecond(KBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
vSphereMonitoringandPerformanceVMware,Inc.
43nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
Table151.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
DiskRate(KBps)TheDiskRatechartdisplaysdiskreadandwriteratesforLUNsonahost,includingaveragerates.
ThischartislocatedintheHomeviewofthehostPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
44Table152.
DataCountersChartLabelDescriptionReadNumberofdiskreadcommandscompletedoneachdiskonthehost,persecond.
Theaggregatenumberofalldiskreadcommandsisalsodisplayedinthechart.
Readrate=blocksReadpersecond*blockSizenCounter:readnStatsType:RatenUnit:Kilobytespersecond(KBps)nRollupType:AveragenCollectionLevel:3WriteNumberofdiskwritecommandscompletedoneachdiskonthehost,persecond.
Theaggregatenumberofalldiskwritecommandsisalsodisplayedinthechart.
Writerate=blocksWrittenpersecond*blockSizenCounter:writenStatsType:RatenUnit:Kilobytespersecond(KBps)nRollupType:AveragenCollectionLevel:3ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
vSphereMonitoringandPerformanceVMware,Inc.
45Table153.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
DiskRequests(Number)TheDiskRequestschartdisplaysdiskusageforthehost.
ThischartislocatedintheHomeviewofthehostPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
46Table154.
DataCountersChartLabelDescriptionReadRequestsNumberofdiskreadcommandscompletedoneachLUNonthehost.
Theaggregatenumberofalldiskreadcommandsisalsodisplayedinthechart.
nCounter:numberReadnStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3WriteRequestsNumberofdiskwritecommandscompletedoneachLUNonthehost.
Theaggregatenumberofalldiskwritecommandsisalsodisplayedinthechart.
nCounter:numberWritenStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
vSphereMonitoringandPerformanceVMware,Inc.
47Table155.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
Disk(Number)TheDisk(Number)chartdisplaysmaximumqueuedepthforthetoptenLUNsonahost.
ThischartislocatedintheHomeviewofthehostPerformancetab.
Table156.
DataCountersChartLabelDescriptionMaximumQueueDepthMaximumqueuedepth.
QueuedepthisthenumberofcommandstheSCSIdriverqueuestotheHBA.
nCounter:maxQueueDepthnStatsType:AbsolutenUnit:NumbernRollupType:AveragenCollectionLevel:1vSphereMonitoringandPerformanceVMware,Inc.
48ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
Table157.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
vSphereMonitoringandPerformanceVMware,Inc.
49Table157.
DiskI/OPerformanceEnhancementAdvice(Continued)#Resolution8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
Disk(ms)TheDisk(ms)chartdisplaystheamountoftimetakentoprocesscommandsonahost.
ThischartislocatedintheHomeviewofthehostPerformancetab.
Table158.
DataCountersChartLabelDescriptionHighestDiskLatencyHighestlatencyvalueofalldisksusedbythehost.
LatencymeasuresthetimeusedtoprocessaSCSIcommandissuedbytheguestOStothevirtualmachine.
ThekernellatencyisthetimeVMkerneltakestoprocessanI/Orequest.
Thedevicelatencyisthetimeittakesthehardwaretohandletherequest.
Totallatency=kernelLatency+deviceLatency.
nCounter:maxTotalLatencynStatsType:AbsolutenUnit:Milliseconds(ms)nRollupType:Latest(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
vSphereMonitoringandPerformanceVMware,Inc.
50nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
Table159.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
Disk(KBps)TheDisk(KBps)chartdisplaysdiskusageforthe10virtualmachinesonthehostwiththemostdiskusage.
vSphereMonitoringandPerformanceVMware,Inc.
51ThischartislocatedintheVirtualMachinesviewofthehostPerformancetab.
Table160.
DataCountersChartLabelDescriptionvirtual_machineSumofthedatareadfromthevirtualmachine.
nCounter:usagenStatsType:RatenUnit:KiloBytespersecond(KBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
Table161.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
vSphereMonitoringandPerformanceVMware,Inc.
52Table161.
DiskI/OPerformanceEnhancementAdvice(Continued)#Resolution3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
Memory(%)TheMemory(%)chartdisplayshostmemoryusage.
ThischartislocatedintheHomeviewofthehostPerformancetab.
ChartAnalysisToensurebestperformance,thehostmemorymustbelargeenoughtoaccommodatetheactivememoryofthevirtualmachines.
Theactivememorycanbesmallerthanthevirtualmachinememorysize.
Itallowsyoutoover-provisionmemory,butstillensuresthatthevirtualmachineactivememoryissmallerthanthehostmemory.
Transienthigh-usagevaluesusuallydonotcauseperformancedegradation.
Forexample,memoryusagecanbehighwhenseveralvirtualmachinesarestartedatthesametimeorwhenaspikeoccursinvirtualmachineworkload.
However,aconsistentlyhighmemoryusagevalue(94%orgreater)indicatesthatthehostisprobablylackingthememoryrequiredtomeetthedemand.
Iftheactivememorysizeisthesameasthegrantedmemorysize,thedemandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthememoryusagevalueishigh,andthehosthashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannothandlethedemandformemory.
Itleadstomemoryreclamation,whichmightdegradeperformance.
vSphereMonitoringandPerformanceVMware,Inc.
53Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitsettingsofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachines.
Ifthehosthaslittlefreememoryavailable,orifyounoticeadegradationinperformance,considertakingthefollowingactions.
Table162.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
Memory(Balloon)TheMemory(Balloon)chartdisplaysballoonmemoryonahost.
ThischartislocatedintheHomeviewofthehostPerformancetab.
Table163.
DataCountersChartLabelDescriptionBalloonSumoftheguestphysicalmemoryreclaimedbytheballoondriverforallpoweredonvirtualmachinesonthehost.
nCounter:vmmemctlnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisToensurebestperformance,thehostmemorymustbelargeenoughtoaccommodatetheactivememoryofthevirtualmachines.
Theactivememorycanbesmallerthanthevirtualmachinememorysize.
Itallowsyoutoover-provisionmemory,butstillensuresthatthevirtualmachineactivememoryissmallerthanthehostmemory.
vSphereMonitoringandPerformanceVMware,Inc.
54Transienthigh-usagevaluesusuallydonotcauseperformancedegradation.
Forexample,memoryusagecanbehighwhenseveralvirtualmachinesarestartedatthesametimeorwhenaspikeoccursinvirtualmachineworkload.
However,aconsistentlyhighmemoryusagevalue(94%orgreater)indicatesthatthehostisprobablylackingthememoryrequiredtomeetthedemand.
Iftheactivememorysizeisthesameasthegrantedmemorysize,thedemandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthememoryusagevalueishigh,andthehosthashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannothandlethedemandformemory.
Itleadstomemoryreclamation,whichmightdegradeperformance.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitsettingsofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachines.
Ifthehosthaslittlefreememoryavailable,orifyounoticeadegradationinperformance,considertakingthefollowingactions.
Table164.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
Memory(MBps)TheMemory(MBps)chartdisplaystheswapinandswapoutratesforahost.
ThischartislocatedontheHomeviewoftheHostPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
55Table165.
DataCountersChartLabelDescriptionswapinRateAveragerateatwhichmemoryisswappedinfromthehostswapfile.
nCounter:swapinRatenStatsType:RatenUnit:MegaBytespersecond(MBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)swapoutRateAveragerateatwhichmemoryisswappedouttothehostswapfile.
nCounter:swapoutRatenStatsType:RatenUnit:MegaBytespersecond(MBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisHostmemorymustbelargeenoughtoaccommodatevirtualmachineworkload.
Transienthigh-usagevaluesusuallydonotcauseperformancedegradation.
Forexample,memoryusagecanbehighwhenseveralvirtualmachinesarestartedatthesametimeorwhenthereisaspikeinvirtualmachineworkload.
However,aconsistentlyhighmemoryusagevalue(94%orgreater)indicatesthehostdoesnothavethememoryresourcesrequiredtomeetthedemand.
Ifthememoryballoonandswapvaluesarenothigh,performanceisprobablynotaffected.
Ifthememoryusagevalueishigh,andthehosthashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostrequiresmorememoryresources.
Ifthehostisnotlackingmemoryresources,checktheresourceshares,reservation,andlimitsettingsofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachines.
Ifthehostislackingmemoryresourcesoryounoticeadegredationinperformance,considertakingthefollowingactions.
Table166.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofavirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
vSphereMonitoringandPerformanceVMware,Inc.
56Table166.
MemoryPerformanceEnhancementAdvice(Continued)#Resolution5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
Memory(MB)TheMemory(MB)chartdisplaysmemorydatacountersforhosts.
ThischartislocatedintheHomeviewofthehostPerformancetab.
NoteGuestphysicalmemoryreferstothevirtualhardwarememorypresentedtoavirtualmachineforitsguestoperatingsystem.
MachinememoryistheactualphysicalRAMinthehost.
Notallcountersarecollectedatcollectionlevel1.
Table167.
DataCountersChartLabelDescriptionActiveSumoftheactiveguestphysicalmemoryofallpoweredonvirtualmachinesonthehost,plusmemoryusedbybasicVMKernelapplications.
ActivememoryisestimatedbytheVMkernelandisbasedonthecurrentworkloadofthehost.
nCounter:activenStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)BalloonSumoftheguestphysicalmemoryreclaimedbytheballoondriverforallpoweredonvirtualmachinesonthehost.
nCounter:vmmemctlnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)BalloonTargetSumoftheballoontargetmemoryofallpoweredonvirtualmachinesonthehost.
Iftheballoontargetvalueisgreaterthantheballoonvalue,theVMkernelinflatestheballoon,causingmorevirtualmachinememorytobereclaimed.
Iftheballoontargetvalueislessthantheballoonvalue,theVMkerneldeflatestheballoon,whichallowsthevirtualmachinetoconsumeadditionalmemoryifneeded.
Virtualmachinesinitiatememoryreallocation.
Therefore,itispossibletohaveaballoontargetvalueof0andaballoonvaluegreaterthan0.
nCounter:vmmemctltargetnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)vSphereMonitoringandPerformanceVMware,Inc.
57Table167.
DataCounters(Continued)ChartLabelDescriptionConsumedAmountofmachinememoryusedonthehost.
Consumedmemoryincludesvirtualmachinememory,serviceconsolememory,andVMkernelmemory.
consumedmemory=totalhostmemory-freehostmemorynCounter:consumednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)GrantedSumoftheguestphysicalmemorygrantedforallpoweredonvirtualmachines.
Grantedmemoryismappedtothehost'smachinememory.
Grantedmemoryforahostincludesthesharedmemoryofeachvirtualmachineonthehost.
nCounter:grantednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)SharedCommonAmountofmachinememorysharedbyallpoweredonvirtualmachines.
Sharedcommonmemoryconsistsoftheentirepoolofmemoryfromwhichsharingispossible,includingtheamountofphysicalRAMrequiredbytheguestmemory.
memoryshared-memorysharedcommon=amountofmemorysavedonthehostfromsharingnCounter:sharedcommonnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)SwapUsedSumofthememoryswappedbyallpoweredonvirtualmachinesonthehost.
nCounter:swapusednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)ChartAnalysisToensurebestperformance,thehostmemorymustbelargeenoughtoaccommodatetheactivememoryofthevirtualmachines.
Theactivememorycanbesmallerthanthevirtualmachinememorysize.
Itallowsyoutoover-provisionmemory,butstillensuresthatthevirtualmachineactivememoryissmallerthanthehostmemory.
vSphereMonitoringandPerformanceVMware,Inc.
58Transienthigh-usagevaluesusuallydonotcauseperformancedegradation.
Forexample,memoryusagecanbehighwhenseveralvirtualmachinesarestartedatthesametimeorwhenaspikeoccursinvirtualmachineworkload.
However,aconsistentlyhighmemoryusagevalue(94%orgreater)indicatesthatthehostisprobablylackingthememoryrequiredtomeetthedemand.
Iftheactivememorysizeisthesameasthegrantedmemorysize,thedemandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthememoryusagevalueishigh,andthehosthashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannothandlethedemandformemory.
Itleadstomemoryreclamation,whichmightdegradeperformance.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitsettingsofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachines.
Ifthehosthaslittlefreememoryavailable,orifyounoticeadegradationinperformance,considertakingthefollowingactions.
Table168.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
MemoryUsageTheMemoryUsagechartdisplaysmemoryusageforthe10virtualmachinesonthehostwiththemostmemoryusage.
ThischartislocatedintheVirtualMachinesviewofthehostPerformancetab.
VirtualMachineCountersNoteGuestphysicalmemoryreferstothevirtualhardwarememorypresentedtoavirtualmachineforitsguestoperatingsystem.
vSphereMonitoringandPerformanceVMware,Inc.
59Table169.
DataCountersChartLabelDescriptionUsageAmountofguestphysicalmemorycurrentlyinuseonthevirtualmachine.
nCounter:usagenStatsType:AbsolutenUnit:Percentage(%)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table170.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
vSphereMonitoringandPerformanceVMware,Inc.
60Network(Mbps)TheNetwork(Mbps)chartdisplaysnetworkusageforthehost.
ThischartislocatedintheHomeviewoftheHostPerformancetab.
Table171.
HostCountersChartLabelDescriptionUsageAveragerateatwhichdataistransmittedandreceivedacrossallNICinstancesconnectedtothehost.
nCounter:usagenStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
Table172.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
vSphereMonitoringandPerformanceVMware,Inc.
61Table172.
NetworkingPerformanceEnhancementAdvice(Continued)#Resolution4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
NetworkRate(Mbps)TheNetworkRatechartdisplaysnetworkbandwidthonahost.
TheNetworkDataTransmitted/ReceivedchartforhostsislocatedintheHomeviewoftheHostPerformancetab.
Table173.
DataCountersChartLabelDescriptionDataReceiveRateRateatwhichdataisreceivedacrossthetoptenphysicalNICinstancesonthehost.
Thisrepresentsthebandwidthofthenetwork.
ThechartalsodisplaystheaggregateddatareceiverateofallphysicalNICs.
nCounter:receivednStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:AveragenCollectionLevel:3(4)DataTransmitRateRateatwhichdataistransmittedacrossthetoptenphysicalNICinstancesonthehost.
Thisrepresentsthebandwidthofthenetwork.
ThechartalsodisplaystheaggregateddatatransmitrateofallphysicalNICs.
nCounter:transmittednStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:AveragenCollectionLevel:3(4)vSphereMonitoringandPerformanceVMware,Inc.
62ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
Table174.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
vSphereMonitoringandPerformanceVMware,Inc.
63NetworkPackets(Number)TheNetworkPacketschartdisplaysthenetworkbandwidthonahost.
ThischartislocatedintheHomeviewoftheHostPerformancetab.
Table175.
DataCountersChartLabelDescriptionPacketsReceivedNumberofnetworkpacketsreceivedacrossthetoptenphysicalNICinstancesonthehost.
ThechartalsodisplaystheaggregatedvalueforallNICs.
nCounter:packetRxnStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3PacketsTransmittedNumberofnetworkpacketstransmittedacrossthetoptenphysicalNICinstancesonthehost.
ThechartalsodisplaystheaggregatedvalueforallNICs.
nCounter:packetTxnStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
vSphereMonitoringandPerformanceVMware,Inc.
64Table176.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
Network(Mbps)TheNetwork(Mbps)chartdisplaysnetworkusageforthe10virtualmachinesonthehostwiththemostnetworkusage.
ThischartislocatedintheVirtualMachinesviewofthehostPerformancetab.
Table177.
DataCountersChartLabelDescriptionSumofthedatatransmittedandreceivedacrossallvirtualNICinstancesconnectedtothevirtualmachine.
nCounter:usagenStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
vSphereMonitoringandPerformanceVMware,Inc.
65Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
Table178.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
ResourcePoolsTheresourcepoolchartscontaininformationaboutCPUandmemoryusageforresourcepools.
Thehelptopicforeachchartcontainsinformationaboutthedatacountersdisplayedinthatchart.
ThecountersavailablearedeterminedbythecollectionlevelsetforvCenterServer.
vSphereMonitoringandPerformanceVMware,Inc.
66CPU(MHz)TheCPU(MHz)chartdisplaysCPUusageintheresourcepoolorvApp.
ThischartislocatedintheHomeviewoftheResourcePoolorvAppPerformancetab.
CountersTable179.
DataCountersChartLabelDescriptionUsageCPUusageisthesumoftheaverageCPUusagevaluesofthevirtualmachinesintheresourcepoolorvApp.
CPUusage=numberofcores*CPUfrequencynCounter:usagemhznStatsType:RatenUnit:Megahertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageindicatesthatyouaremakingthebestuseoftheresourcesavailable.
However,ifthevalueisconstantlyhigh,theCPUdemandedislikelygreaterthantheCPUcapacityavailable.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesintheresourcepool.
Generally,iftheCPUusagevalueforavirtualmachineisabove90%andtheCPUreadyvalueforavirtualmachineisabove20%,performanceisimpacted.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table180.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Deploysingle-threadedapplicationsonuniprocessorvirtualmachinesinsteadofSMPvirtualmachines.
3Migrateoneormorevirtualmachinestoanewhost.
4UpgradethephysicalCPUsorcoresoneachhostifnecessary.
5EnableCPU-savingfeatures,suchasTCPSegmentationOffload.
6ReplacesoftwareI/Owithdedicatedhardware,suchasiSCSIHBAsorTCPSegmentationOffloadNICs.
CPUUsageTheCPUUsagechartdisplaysCPUusageofvirtualmachinesintheresourcepoolorvApp.
Thechartdisplaysthetop10virtualmachineswiththehighestCPUusage.
ThischartislocatedintheResourcePools&VirtualMachinesviewoftheResourcePoolorvAppPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
67Table181.
DataCountersChartLabelDescriptionvirtual_machineAmountofCPUactivelyusedbyvirtualmachines.
nCounter:usagemhznStatsType:RatenUnit:Megahertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageorCPUreadyindicatesthatyouaremakingthebestuseofthevirtualmachineresources.
However,iftheCPUusagevalueforavirtualmachineisabove90%andtheCPUreadyvalueisabove20%,performanceisbeingimpacted.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table182.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
2SettheCPUreservationsforallhigh-priorityvirtualmachinestoguaranteethattheyreceivetheCPUcyclesrequired.
3ComparetheCPUusagevalueofavirtualmachinewiththeCPUusageofothervirtualmachinesonthehostorintheresourcepool.
Thestackedlinechartonthehost'sVirtualMachineviewshowstheCPUusageforvirtualmachinesonthehost.
4DeterminewhetherthehighreadytimeforthevirtualmachineresultedfromitsCPUusagetimereachingtheCPUlimitsetting.
Ifso,increasetheCPUlimitonthevirtualmachine.
5IncreasetheCPUsharestogivethevirtualmachinemoreopportunitiestorun.
ThetotalreadytimeonthehostmightremainatthesamelevelifthehostsystemisconstrainedbyCPU.
Ifthehostreadytimedoesn'tdecrease,settheCPUreservationsforhigh-priorityvirtualmachinestoguaranteethattheyreceivetherequiredCPUcycles.
6Increasetheamountofmemoryallocatedtothevirtualmachine.
Thisdecreasesdiskandornetworkactivityforapplicationsthatcache.
ThismightlowerdiskI/Oandreducetheneedforthehosttovirtualizethehardware.
VirtualmachineswithsmallerresourceallocationsgenerallyaccumulatemoreCPUreadytime.
7ReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
8IfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
9UpgradethephysicalCPUsorcoresonthehostifnecessary.
10Usethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
Memory(MB)TheMemory(MB)chartdisplaysmemoryusageintheresourcepoolorvApp.
ThischartislocatedintheHomeviewoftheresourcepoolorvAppPerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
68Table183.
DataCountersChartLabelDescriptionresource_poolorvAppSumoftheactivememoryusedbyallvirtualmachinesintheresourcepoolorvApp.
ActivememoryisdeterminedbytheVMkernelandincludesoverheadmemory.
memoryusage=activememory/configuredvirtualmachinememorysizenCounter:usednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:AveragenCollectionLevel:1ChartAnalysisMemoryusageisnotanindicatorofperformanceproblems.
Memorycanbehighifahostisswappingorballooning,whichcanresultinvirtualmachineguestswapping.
Insuchcases,checkforotherproblems,suchasCPUover-commitmentorstoragelatencies.
Ifyouhaveconstantlyhighmemoryusageinacluster,resourcepool,orvApp,considertakingthefollowingactions.
Table184.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Verifythattheballoondriverisenabled.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Iftheballoonvalueishigh,checktheresourceshares,reservations,andlimitsforthevirtualmachinesandresourcepoolsonthehosts.
Verifythatthehost'ssettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iffreememoryisavailableonthehostsandthevirtualmachinesareexperiencinghighswaporballoonmemory,thevirtualmachine(orresourcepool,ifitbelongstoone)hasreacheditsresourcelimit.
Checkthemaximumresourcelimitsetonthathost.
4IftheclusterisnotaDRScluster,enableDRS.
ToenableDRS,performthefollowingtasks:1Selectthecluster,andclicktheConfiguretab.
2UnderServices,clickvSphereDRS.
3clickEdit.
AnEditClusterSettingsdialogboxopens.
4ClickTurnONvSphereDRS,andclickOK.
5IftheclusterisaDRScluster:nIncreasethenumberofhosts,andmigrateoneormorevirtualmachinestothenewhost.
nChecktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Itmighthelpavoidhotspotsinthecluster.
6Addmorephysicalmemorytooneormorehosts.
MemoryConsumedTheMemoryConsumedchartdisplaysthememoryperformanceofallvirtualmachinesintheresourcepoolorvApp.
vSphereMonitoringandPerformanceVMware,Inc.
69ThischartislocatedintheResourcePools&VirtualMachinesviewoftheresourcepoolorvAppPerformancetab.
ForresourcepoolsandvirtualmachinesinaresourcepoolorvApp,thischartislocatedintheResourcePools&VirtualMachinesviewoftheresourcepoolorvAppPerformancetab.
Table185.
DataCountersChartLabelDescriptionvirtual_machineAmountofhostmemoryusedbythevirtualmachineforitsguestoperatingsystem'sphysicalmemory.
Memoryoverheadisnotincludedinconsumedmemory.
consumedmemory=memorygranted-memorysavedfrompagesharingForexample,ifavirtualmachinehas100MBofmemorythatissharedequallywiththreeothervirtualmachines,itsportionofthesharedmemoryis25MB(100MB÷4VMs).
Thisamountiscountedinthememoryconsumeddatacounter.
nCounter:consumednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table186.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
vSphereMonitoringandPerformanceVMware,Inc.
70Table186.
MemoryPerformanceEnhancementAdvice(Continued)#Resolution3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
Memory(MB)TheMemory(MB)chartdisplaysmemorydatacountersforresourcepoolsorvApps.
DescriptionThischartislocatedintheHomeviewoftheresourcepoolorvAppPerformancetab.
NoteThesedatacounterdefinitionsareforvirtualmachines.
Attheresourcepoollevel,thevaluesarecollectedandtotaled.
Thecountervaluesinthechartrepresenttheaggregateamountsofthevirtualmachinedata.
ThecountersthatappearinthechartdependonthecollectionlevelsetforyourvCenterServer.
Table187.
DataCountersChartLabelDescriptionActiveSumoftheactiveguestphysicalmemoryofallpoweredonvirtualmachinesintheresourcepool.
nCounter:activenStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)BalloonSumoftheguestphysicalmemoryreclaimedbytheballoondriverforallpoweredonvirtualmachinesintheresourcepool.
nCounter:vmmemctlnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)vSphereMonitoringandPerformanceVMware,Inc.
71Table187.
DataCounters(Continued)ChartLabelDescriptionConsumedAmountofthephysicalmemoryconsumedbythevirtualmachinefortheguestmemory.
Consumedmemorydoesnotincludetheoverheadmemory.
Itincludesthesharedmemoryandmemorythatmightbereserved,butnotactuallyused.
consumedmemory=memorygranted–memorysavedduetomemorysharingnCounter:consumednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)GrantedSumoftheguestphysicalmemorygrantedforallpoweredonvirtualmachines.
Grantedmemoryismappedtothehost'smachinememory.
nCounter:grantednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)SharedAmountoftheguestphysicalmemorysharedwithothervirtualmachinesintheresourcepool.
SwappedSumofthememoryswappedbyallpoweredonvirtualmachinesintheresourcepool.
nCounter:swapusednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
vSphereMonitoringandPerformanceVMware,Inc.
72Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table188.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
vAppsThevAppchartscontaininformationaboutCPUandmemoryusageforvApps.
Thehelptopicforeachchartcontainsinformationaboutthedatacountersdisplayedinthatchart.
ThecountersavailablearedeterminedbythecollectionlevelsetforvCenterServer.
CPU(MHz)TheCPU(MHz)chartdisplaysCPUusageinthevApporresourcepool.
ThischartislocatedintheHomeviewofthevApporresourcepoolPerformancetab.
CountersTable189.
DataCountersChartLabelDescriptionUsageCPUusageisthesumoftheaverageCPUusagevaluesofthevirtualmachinesintheresourcepoolorvApp.
CPUusage=numberofcores*CPUfrequencynCounter:usagemhznStatsType:RatenUnit:Megahertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)vSphereMonitoringandPerformanceVMware,Inc.
73ChartAnalysisAshortspikeinCPUusageindicatesthatyouaremakingthebestuseoftheresourcesavailable.
However,ifthevalueisconstantlyhigh,theCPUdemandedislikelygreaterthantheCPUcapacityavailable.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesintheresourcepool.
Generally,iftheCPUusagevalueforavirtualmachineisabove90%andtheCPUreadyvalueforavirtualmachineisabove20%,performanceisimpacted.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table190.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Deploysingle-threadedapplicationsonuniprocessorvirtualmachinesinsteadofSMPvirtualmachines.
3Migrateoneormorevirtualmachinestoanewhost.
4UpgradethephysicalCPUsorcoresoneachhostifnecessary.
5EnableCPU-savingfeatures,suchasTCPSegmentationOffload.
6ReplacesoftwareI/Owithdedicatedhardware,suchasiSCSIHBAsorTCPSegmentationOffloadNICs.
CPUUsageTheCPUUsagechartdisplaysCPUusageofeachvirtualmachineinthevApporresourcepool.
ThischartislocatedintheVirtualMachinesviewofthevApporresourcepoolPerformancetab.
Table191.
DataCountersChartLabelDescriptionvirtual_machineAmountofCPUactivelyusedbyvirtualmachines.
nCounter:usagemhznStatsType:RatenUnit:Megahertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageorCPUreadyindicatesthatyouaremakingthebestuseofthevirtualmachineresources.
However,iftheCPUusagevalueforavirtualmachineisabove90%andtheCPUreadyvalueisabove20%,performanceisbeingimpacted.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table192.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
2SettheCPUreservationsforallhigh-priorityvirtualmachinestoguaranteethattheyreceivetheCPUcyclesrequired.
vSphereMonitoringandPerformanceVMware,Inc.
74Table192.
CPUPerformanceEnhancementAdvice(Continued)#Resolution3ComparetheCPUusagevalueofavirtualmachinewiththeCPUusageofothervirtualmachinesonthehostorintheresourcepool.
Thestackedlinechartonthehost'sVirtualMachineviewshowstheCPUusageforvirtualmachinesonthehost.
4DeterminewhetherthehighreadytimeforthevirtualmachineresultedfromitsCPUusagetimereachingtheCPUlimitsetting.
Ifso,increasetheCPUlimitonthevirtualmachine.
5IncreasetheCPUsharestogivethevirtualmachinemoreopportunitiestorun.
ThetotalreadytimeonthehostmightremainatthesamelevelifthehostsystemisconstrainedbyCPU.
Ifthehostreadytimedoesn'tdecrease,settheCPUreservationsforhigh-priorityvirtualmachinestoguaranteethattheyreceivetherequiredCPUcycles.
6Increasetheamountofmemoryallocatedtothevirtualmachine.
Thisdecreasesdiskandornetworkactivityforapplicationsthatcache.
ThismightlowerdiskI/Oandreducetheneedforthehosttovirtualizethehardware.
VirtualmachineswithsmallerresourceallocationsgenerallyaccumulatemoreCPUreadytime.
7ReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
8IfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
9UpgradethephysicalCPUsorcoresonthehostifnecessary.
10Usethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
Memory(MB)TheMemory(MB)chartdisplaysmemoryusageinthevApporresourcepool.
ThischartislocatedintheHomeviewofthevApporresourcepoolPerformancetab.
Table193.
DataCountersChartLabelDescriptionresource_poolorvAppSumoftheactivememoryusedbyallvirtualmachinesintheresourcepoolorvApp.
ActivememoryisdeterminedbytheVMkernelandincludesoverheadmemory.
memoryusage=activememory/configuredvirtualmachinememorysizenCounter:usednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:AveragenCollectionLevel:1ChartAnalysisMemoryusageisnotanindicatorofperformanceproblems.
Memorycanbehighifahostisswappingorballooning,whichcanresultinvirtualmachineguestswapping.
Insuchcases,checkforotherproblems,suchasCPUover-commitmentorstoragelatencies.
Ifyouhaveconstantlyhighmemoryusageinacluster,resourcepool,orvApp,considertakingthefollowingactions.
vSphereMonitoringandPerformanceVMware,Inc.
75Table194.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Verifythattheballoondriverisenabled.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,itdoesnotimpactvirtualmachineperformance.
3Iftheballoonvalueishigh,checktheresourceshares,reservations,andlimitsforthevirtualmachinesandresourcepoolsonthehosts.
Verifythatthehost'ssettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iffreememoryisavailableonthehostsandthevirtualmachinesareexperiencinghighswaporballoonmemory,thevirtualmachine(orresourcepool,ifitbelongstoone)hasreacheditsresourcelimit.
Checkthemaximumresourcelimitsetonthathost.
4IftheclusterisnotaDRScluster,enableDRS.
ToenableDRS,performthefollowingtasks:1Selectthecluster,andclicktheConfiguretab.
2UnderServices,clickvSphereDRS.
3clickEdit.
AnEditClusterSettingsdialogboxopens.
4ClickTurnONvSphereDRS,andclickOK.
5IftheclusterisaDRScluster:nIncreasethenumberofhosts,andmigrateoneormorevirtualmachinestothenewhost.
nChecktheaggressivenessthreshold.
Ifthevalueislow,increasethethreshold.
Itmighthelpavoidhotspotsinthecluster.
6Addmorephysicalmemorytooneormorehosts.
MemoryConsumedTheMemoryConsumedchartdisplaysthememoryperformanceofthetoptenvirtualmachinesinthevApporresourcepool.
ThischartislocatedintheVirtualMachinesviewofthevApporresourcepoolPerformancetab.
ForresourcepoolsandvirtualmachinesinaresourcepoolorvApp,thischartislocatedintheResourcePools&VirtualMachinesviewoftheresourcepoolorvAppPerformancetab.
Table195.
DataCountersChartLabelDescriptionvirtual_machineAmountofhostmemoryusedbythevirtualmachineforitsguestoperatingsystem'sphysicalmemory.
Memoryoverheadisnotincludedinconsumedmemory.
consumedmemory=memorygranted-memorysavedfrompagesharingForexample,ifavirtualmachinehas100MBofmemorythatissharedequallywiththreeothervirtualmachines,itsportionofthesharedmemoryis25MB(100MB÷4VMs).
Thisamountiscountedinthememoryconsumeddatacounter.
nCounter:consumednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)vSphereMonitoringandPerformanceVMware,Inc.
76ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table196.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
VirtualMachinesThevirtualmachinechartscontaininformationaboutCPU,disk,memory,network,storage,andfaulttoleranceforvirtualmachines.
Thehelptopicforeachchartcontainsinformationaboutthedatacountersdisplayedinthatchart.
ThecountersavailablearedeterminedbythecollectionlevelsetforvCenterServer.
CPU(%)TheCPU(%)chartdisplaysvirtualmachineCPUusageandreadyvalues.
ThischartislocatedintheHomeviewofthevirtualmachinePerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
77Table197.
DataCountersChartLabelDescriptionUsageAmountofactivelyusedvirtualCPUasapercentageoftotalavailableCPU.
CPUusageistheaverageCPUutilizationoverallavailablevirtualCPUsinthevirtualmachine.
Forexample,ifavirtualmachinewithonevirtualCPUisrunningonahostthathasfourphysicalCPUsandtheCPUusageis100%,thevirtualmachineisusingonephysicalCPUcompletely.
virtualCPUusage=usagemhz÷(numberofvirtualCPUs*corefrequency)NoteThisisthehost'sviewoftheCPUusage,nottheguestoperatingsystemview.
nCounter:usagenStatsType:RatenUnit:Percentage(%).
Precisionisto1/100%.
Avaluebetween0and100.
nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ReadyPercentageoftimethatthevirtualmachinewasready,butcouldnotgetscheduledtorunonthephysicalCPU.
CPUreadytimeisdependentonthenumberofvirtualmachinesonthehostandtheirCPUloads.
Atcollectionlevel1,theaverageCPUreadytimeofallvirtualCPUsonthevirtualmachineisdisplayed.
Atcollectionlevel3,theaverageCPUreadytimeofeachvirtualCPUisalsodisplayed.
nCounter:readynStatsType:RatenUnit:Percentage(%)nRollupType:SummationnCollectionLevel:1ChartAnalysisAshortspikeinCPUusageorCPUreadyindicatesthatyouaremakingthebestuseofthevirtualmachineresources.
However,iftheCPUusagevalueforavirtualmachineisabove90%andtheCPUreadyvalueisabove20%,performanceisbeingimpacted.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table198.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
2SettheCPUreservationsforallhigh-priorityvirtualmachinestoguaranteethattheyreceivetheCPUcyclesrequired.
3ComparetheCPUusagevalueofavirtualmachinewiththeCPUusageofothervirtualmachinesonthehostorintheresourcepool.
Thestackedlinechartonthehost'sVirtualMachineviewshowstheCPUusageforvirtualmachinesonthehost.
4DeterminewhetherthehighreadytimeforthevirtualmachineresultedfromitsCPUusagetimereachingtheCPUlimitsetting.
Ifso,increasetheCPUlimitonthevirtualmachine.
5IncreasetheCPUsharestogivethevirtualmachinemoreopportunitiestorun.
ThetotalreadytimeonthehostmightremainatthesamelevelifthehostsystemisconstrainedbyCPU.
Ifthehostreadytimedoesn'tdecrease,settheCPUreservationsforhigh-priorityvirtualmachinestoguaranteethattheyreceivetherequiredCPUcycles.
vSphereMonitoringandPerformanceVMware,Inc.
78Table198.
CPUPerformanceEnhancementAdvice(Continued)#Resolution6Increasetheamountofmemoryallocatedtothevirtualmachine.
Thisdecreasesdiskandornetworkactivityforapplicationsthatcache.
ThismightlowerdiskI/Oandreducetheneedforthehosttovirtualizethehardware.
VirtualmachineswithsmallerresourceallocationsgenerallyaccumulatemoreCPUreadytime.
7ReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
8IfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
9UpgradethephysicalCPUsorcoresonthehostifnecessary.
10Usethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
CPUUsage(MHz)TheCPUUsage(MHz)chartdisplaysvirtualmachineCPUusage.
ThischartislocatedintheHomeviewoftheVirtualMachinePerformancetab.
Table199.
DataCountersChartLabelDescriptionUsageAmountofactivelyusedvirtualCPU.
NoteThehost'sviewoftheCPUusage,nottheguestoperatingsystemview.
nCounter:usagemhznStatsType:ratenUnit:MegaHertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAshortspikeinCPUusageorCPUreadyindicatesthatyouaremakingthebestuseofthevirtualmachineresources.
However,iftheCPUusagevalueforavirtualmachineisabove90%andtheCPUreadyvalueisabove20%,performanceisbeingimpacted.
Ifperformanceisimpacted,considertakingthefollowingactions.
Table1100.
CPUPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
2SettheCPUreservationsforallhigh-priorityvirtualmachinestoguaranteethattheyreceivetheCPUcyclesrequired.
3ComparetheCPUusagevalueofavirtualmachinewiththeCPUusageofothervirtualmachinesonthehostorintheresourcepool.
Thestackedlinechartonthehost'sVirtualMachineviewshowstheCPUusageforvirtualmachinesonthehost.
vSphereMonitoringandPerformanceVMware,Inc.
79Table1100.
CPUPerformanceEnhancementAdvice(Continued)#Resolution4DeterminewhetherthehighreadytimeforthevirtualmachineresultedfromitsCPUusagetimereachingtheCPUlimitsetting.
Ifso,increasetheCPUlimitonthevirtualmachine.
5IncreasetheCPUsharestogivethevirtualmachinemoreopportunitiestorun.
ThetotalreadytimeonthehostmightremainatthesamelevelifthehostsystemisconstrainedbyCPU.
Ifthehostreadytimedoesn'tdecrease,settheCPUreservationsforhigh-priorityvirtualmachinestoguaranteethattheyreceivetherequiredCPUcycles.
6Increasetheamountofmemoryallocatedtothevirtualmachine.
Thisdecreasesdiskandornetworkactivityforapplicationsthatcache.
ThismightlowerdiskI/Oandreducetheneedforthehosttovirtualizethehardware.
VirtualmachineswithsmallerresourceallocationsgenerallyaccumulatemoreCPUreadytime.
7ReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
8IfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
9UpgradethephysicalCPUsorcoresonthehostifnecessary.
10Usethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
Disk(KBps)TheDisk(KBps)chartdisplaysdiskusageforthevirtualmachine.
ItislocatedintheHomeviewofthevirtualmachinePerformancetab.
Table1101.
DataCountersChartLabelDescriptionUsageAveragedataI/Orateacrossallvirtualdisksonthevirtualmachine.
nCounter:usagenStatsType:RatenUnit:Kilobytespersecond(KBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
vSphereMonitoringandPerformanceVMware,Inc.
80ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
Table1102.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
vSphereMonitoringandPerformanceVMware,Inc.
81Table1102.
DiskI/OPerformanceEnhancementAdvice(Continued)#Resolution11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
DiskRate(KBps)TheDiskRatechartdisplaysdiskusageforthevirtualmachine.
ThischartislocatedintheHomeviewofthevirtualmachinePerformancetab.
Itisavailableonlyatcollectionlevels3and4.
Table1103.
DataCountersChartLabelDescriptionReadNumberofdiskreadcommandscompletedoneachvirtualdiskonthevirtualmachine,persecond.
Theaggregatenumberofalldiskreadcommandspersecondisalsodisplayedinthechart.
Readrate=blocksReadpersecond*blockSizenCounter:readnStatsType:RatenUnit:Kilobytespersecond(KBps)nRollupType:AveragenCollectionLevel:2WriteNumberofdiskwritecommandscompletedoneachvirtualdiskonthevirtualmachine,persecond.
Theaggregatenumberofalldiskwritecommandspersecondisalsodisplayedinthechart.
Writerate=blocksWrittenpersecond*blockSizenCounter:writenStatsType:RatenUnit:Kilobytespersecond(KBps)nRollupType:AveragenCollectionLevel:2ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
vSphereMonitoringandPerformanceVMware,Inc.
82ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
Table1104.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
vSphereMonitoringandPerformanceVMware,Inc.
83Table1104.
DiskI/OPerformanceEnhancementAdvice(Continued)#Resolution11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
DiskRequests(Number)TheDiskRequestschartdisplaysdiskusageforthevirtualmachine.
ThischartislocatedintheHomeviewofthevirtualmachinePerformancetab.
Itisavailableonlyatcollectionlevels3and4.
Table1105.
DataCountersChartLabelDescriptionReadRequestsNumberofdiskreadcommandscompletedoneachvirtualdiskonthevirtualmachine.
Theaggregatenumberofalldiskreadcommandsisalsodisplayedinthechart.
nCounter:numberReadnStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3WriteRequestsNumberofdiskwritecommandscompletedoneachvirtualdiskonthevirtualmachine.
Theaggregatenumberofalldiskwritecommandsisalsodisplayedinthechart.
nCounter:numberWritenStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3ChartAnalysisUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskreadorwriterequests,checkwhetheranysuchapplicationswererunningthen.
vSphereMonitoringandPerformanceVMware,Inc.
84ThebestwaystodetermineifyourvSphereenvironmentisexperiencingdiskproblemsistomonitorthedisklatencydatacounters.
Youcanusetheadvancedperformancechartstoviewthesestatistics.
nThekernelLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,thattheVMkernelspendsprocessingeachSCSIcommand.
Forbestperformance,thevaluemustbe0-1milliseconds.
Ifthevalueisgreaterthan4ms,thevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nThedeviceLatencydatacountermeasurestheaverageamountoftime,inmilliseconds,tocompleteaSCSIcommandfromthephysicaldevice.
Dependingonyourhardware,anumbergreaterthan15msindicatesprobableproblemswiththestoragearray.
MovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nThequeueLatencydatacountermeasurestheaverageamountoftimetakenperSCSIcommandintheVMkernelqueue.
Thisvaluemustalwaysbezero.
Ifnot,theworkloadistoohighandthearraycannotprocessthedatafastenough.
Ifthedisklatencyvaluesarehigh,orifyounoticeotherproblemswithdiskI/Operformance,considertakingthefollowingactions.
Table1106.
DiskI/OPerformanceEnhancementAdvice#Resolution1Increasethevirtualmachinememory.
Itallowsmoreoperatingsystemcaching,whichreducesI/Oactivity.
Note:Itmightrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizethesystemmemorytocachedataandavoiddiskaccess.
Toverifythatvirtualmachineshaveadequatememory,checkswapstatisticsintheguestoperatingsystem.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
2Defragmentthefilesystemsonallguests.
3Disableantiviruson-demandscansontheVMDKandVMEMfiles.
4Usethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Toincreasethroughput,considerarray-sideimprovements.
5UseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
6Balancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
7ConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
Formoreinformation,seevSphereStorage.
8Forresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Italleviatesdiskspindlecontentionduringperiodsofhighuse.
9OnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
10IfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
vSphereMonitoringandPerformanceVMware,Inc.
85Table1106.
DiskI/OPerformanceEnhancementAdvice(Continued)#Resolution11ForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
12Usethemostcurrenthosthardware.
VirtualDiskRequests(Number)TheVirtualDiskRequestschartdisplaysvirtualdiskusageforthevirtualmachine.
AfteryouclickOverviewonthePerformancetabofthevirtualmachine,youcanviewthischartbyselectingHomefromtheViewdrop-downmenu.
Itisavailableatcollection(display)levels3and4.
Table1107.
DataCountersChartLabelDescriptionReadRequestsNumberofvirtualdiskreadcommandscompletedoneachvirtualdiskonthevirtualmachine.
Theaggregatenumberofallvirtualdiskreadcommandsisalsodisplayedinthechart.
nCounter:numberReadnStatsType:AbsolutenUnit:NumbernRollupType:AveragenCollectionLevel:2WriteRequestsNumberofvirtualdiskwritecommandscompletedoneachvirtualdiskonthevirtualmachine.
Theaggregatenumberofallvirtualdiskwritecommandsisalsodisplayedinthechart.
nCounter:numberWritenStatsType:AbsolutenUnit:NumbernRollupType:AveragenCollectionLevel:2VirtualDiskRate(KBps)TheVirtualDiskRatechartdisplaysvirtualdiskusagerateforthevirtualmachine.
AfteryouclickOverviewonthePerformancetabofthevirtualmachine,youcanviewthischartbyselectingHomefromtheViewdrop-downmenu.
Itisavailableonlyatcollectionlevels3and4.
vSphereMonitoringandPerformanceVMware,Inc.
86Table1108.
DataCountersChartLabelDescriptionReadRequestsNumberofvirtualdiskreadcommandscompletedoneachvirtualdiskonthevirtualmachine.
Theaggregatenumberofallvirtualdiskreadcommandspersecondisalsodisplayedinthechart.
Readrate=blocksReadpersecond*blockSizenCounter:readnStatsType:RatenUnit:KiloBytespersecond(KBps)nRollupType:AveragenCollectionLevel:3WriteRequestsNumberofvirtualdiskwritecommandscompletedoneachvirtualdiskonthevirtualmachinepersecond.
Theaggregatenumberofallvirtualdiskwritecommandspersecondisalsodisplayedinthechart.
Writerate=blocksWrittenpersecond*blockSizenCounter:writenStatsType:RatenUnit:KiloBytespersecond(KBps)nRollupType:AveragenCollectionLevel:3Memory(%)TheMemory(%)chartmonitorsvirtualmachinememoryusage.
ThischartislocatedintheHomeviewofthevirtualmachinePerformancetab.
VirtualMachineCountersNoteGuestphysicalmemoryreferstothevirtualhardwarememorypresentedtoavirtualmachineforitsguestoperatingsystem.
Table1109.
DataCountersChartLabelDescriptionUsageAmountofguestphysicalmemorycurrentlyinuseonthevirtualmachine.
nCounter:usagenStatsType:AbsolutenUnit:Percentage(%)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
vSphereMonitoringandPerformanceVMware,Inc.
87Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table1110.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
Memory(MB)TheMemory(MB)chartdisplaysvirtualmachineballoonmemory.
ThischartislocatedintheHomeviewofthevirtualmachinePerformancetab.
Table1111.
DataCountersChartLabelDescriptionBalloonAmountofguestphysicalmemoryreclaimedfromthevirtualmachinebytheballoondriver.
nCounter:vmmemctlnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)vSphereMonitoringandPerformanceVMware,Inc.
88ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table1112.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
Memory(MBps)TheMemory(MBps)chartdisplaysvirtualmachinememoryswaprates.
ThischartislocatedintheHomeviewoftheVirtualMachinePerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
89Table1113.
DataCountersChartLabelDescriptionswapinRateAveragerateatwhichmemoryisswappedintothevirtualmachine.
nCounter:swapinRatenStatsType:RatenUnit:MegaBytespersecond(MBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)swapoutRateAveragerateatwhichmemoryisswappedoutofthevirtualmachine.
nCounter:swapoutRatenStatsType:RatenUnit:MegaBytespersecond(MBps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifthereissufficientswapspace,ahighballoonvalueisnotaperformanceissue.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingthememoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Thehostmightrequiremorememoryresources.
Ifitdoesnot,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Ifmemoryusageishighoryounoticedegradationinperformance,considertakingthefollowingactions.
Table1114.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofavirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
vSphereMonitoringandPerformanceVMware,Inc.
90Memory(MB)TheMemory(MB)chartdisplaysmemorydatacountersforvirtualmachines.
ThischartislocatedintheHomeviewofthevirtualmachinePerformancetab.
Itappearsonlyatcollectionlevels2,3,and4.
Inthefollowingdescriptions,theguestphysicalmemoryreferstothevirtual-hardwarememorypresentedtoavirtualmachineforitsguestoperatingsystem.
MachinememoryisactualphysicalRAMinthehost.
Notethatnotallcountersarecollectedatcollectionlevel1.
Table1115.
DataCountersChartLabelDescriptionActiveAmountofguestphysicalmemoryinusebythevirtualmachine.
ActivememoryisestimatedbyVMkernelstatisticalsamplingandrepresentstheactualamountofmemorythevirtualmachineneeds.
Thevalueisbasedonthecurrentworkloadofthevirtualmachine.
nCounter:activenStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)BalloonAmountofguestphysicalmemoryreclaimedfromthevirtualmachinebytheballoondriver.
nCounter:vmmemctlnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)BalloonTargetDesiredamountofvirtualmachineballoonmemory.
BalloontargetmemoryisestimatedbytheVMkernel.
Iftheballoontargetamountisgreaterthantheballoonamount,theVMkernelinflatestheballoonamount,whichreclaimsmorevirtualmachinememory.
Iftheballoontargetamountislessthantheballoonamount,theVMkerneldeflatestheballoon,whichallowsthevirtualmachinetoreallocatememorywhenneeded.
nCounter:vmmemctltargetnStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)vSphereMonitoringandPerformanceVMware,Inc.
91Table1115.
DataCounters(Continued)ChartLabelDescriptionConsumedAmountofguestphysicalmemoryconsumedbythevirtualmachineforguestmemory.
Consumedmemorydoesnotincludeoverheadmemory.
Itincludessharedmemoryandmemorythatmightbereserved,butnotactuallyused.
consumedmemory=memorygranted-memorysavedduetomemorysharingnCounter:consumednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)SharedAmountofguestphysicalmemoryavailableforsharing.
Memorysharingoccursthroughtransparentpagesharing.
nCounter:sharednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)SwappedTheamountofguestphysicalmemoryswappedouttothediskbytheVMkernel.
ThisdatacountermeasuresVMkernelswappingandnottoguestOSswapping.
swapped=swapout–swapinNoteInsomecases,vMotioncanskewthesevaluesandcauseavirtualmachinetoarriveonahostwithsomememoryalreadyswappedout.
Asaresult,theswappedvaluecanbegreaterthantheswapout–swapinvalue.
nCounter:swappednStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
vSphereMonitoringandPerformanceVMware,Inc.
92Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table1116.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
Network(Mbps)TheNetwork(Mbps)chartdisplaysnetworkbandwidthforthevirtualmachine.
ThischartislocatedintheHomeviewoftheVirtualMachinePerformancetab.
Table1117.
VirtualMachineCountersChartLabelDescriptionUsageAveragerateatwhichdataistransmittedandreceivedacrossallvirtualNICinstancesconnectedtothevirtualmachine.
nCounter:usagenStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:Average(Minimum/Maximum)nCollectionLevel:1(4)ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
vSphereMonitoringandPerformanceVMware,Inc.
93Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
Table1118.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
NetworkRate(Mbps)TheNetworkRatechartdisplaysnetworkusageforvirtualmachines.
ThischartislocatedintheHomeviewoftheVirtualMachinePerformancetab.
Itappearsonlyatcollectionlevels3and4.
vSphereMonitoringandPerformanceVMware,Inc.
94Table1119.
DataCountersChartLabelDescriptionDataReceiveRateRateatwhichdataisreceivedacrosseachvirtualNICinstanceonthevirtualmachine.
nCounter:receivednStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:AveragenCollectionLevel:2(4)DataTransmitRateRateatwhichdataistransmittedacrosseachvirtualNICinstanceonthevirtualmachine.
nCounter:transmittednStatsType:RatenUnit:Megabitspersecond(Mbps)nRollupType:AveragenCollectionLevel:2(4)ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
Table1120.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
vSphereMonitoringandPerformanceVMware,Inc.
95Table1120.
NetworkingPerformanceEnhancementAdvice(Continued)#Resolution4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
NetworkPackets(Number)TheNetworkPacketsmonitorsnetworkbandwidthforvirtualmachines.
ThischartislocatedintheHomeviewoftheVirtualMachinePerformancetab.
Itappearsonlyatcollectionlevels3and4.
Table1121.
DataCountersChartLabelDescriptionPacketsTransmittedNumberofnetworkpacketstransmittedacrossthetoptenvirtualNICinstancesonthevirtualmachine.
ThechartalsodisplaystheaggregatedvalueforeachNIC.
nCounter:packetTxnStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3PacketsReceivedNumberofnetworkpacketsreceivedacrossthetoptenvirtualNICinstancesonthevirtualmachine.
ThechartalsodisplaystheaggregatedvalueforeachNIC.
nCounter:packetRxnStatsType:AbsolutenUnit:NumbernRollupType:SummationnCollectionLevel:3vSphereMonitoringandPerformanceVMware,Inc.
96ChartAnalysisNetworkperformancedependsontheapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Todeterminewhetherpacketsarebeingdropped,useesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
Ifpacketsarebeingdropped,adjustthevirtualmachineshares.
Ifpacketsarenotbeingdropped,checkthesizeofthenetworkpacketsandthedatareceiveandtransferrates.
Ingeneral,thelargerthenetworkpackets,thefasterthenetworkspeed.
Whenthepacketsizeislarge,fewerpacketsaretransferred,whichreducestheamountofCPUrequiredtoprocessthedata.
Whennetworkpacketsaresmall,morepacketsaretransferredbutthenetworkspeedisslowerbecausemoreCPUisrequiredtoprocessthedata.
NoteInsomeinstances,largepacketsmightresultinahighnetworklatency.
Tocheckthenetworklatency,usetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplication.
Ifpacketsarenotbeingdroppedandthedatareceiverateisslow,thehostisprobablylackingtheCPUresourcesrequiredtohandletheload.
CheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvSwitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
Ifyouexperiencenetwork-relatedperformanceproblems,alsoconsidertakingthefollowingactions.
Table1122.
NetworkingPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
2Ifpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
3Ifvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevSwitchtoavoidtransferringpacketsoverthephysicalnetwork.
4AssigneachphysicalNICtoaportgroupandavSwitch.
5UseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
6EnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvSwitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps).
Alternatively,considermovingsomevirtualmachinestoavSwitchwithalighterloadortoanewvSwitch.
7IfpacketsarebeingdroppedatthevSwitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
8VerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
9VerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityproblemsmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
10UsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTSO-JumboFramesareenabledwherepossible.
vSphereMonitoringandPerformanceVMware,Inc.
97SpaceinGBTheSpaceinGBchartdisplaysspaceutilizationdatacountersforvirtualmachines.
ThischartislocatedintheStorageviewofthevirtualmachinePerformancetab.
Table1123.
DataCountersChartLabelDescriptionAllocatedTotalamountoflogicaldatastorespaceprovisionedbyanadministratorforthevirtualmachine.
Itisthestoragesizeuptowhichthevirtualmachinefilesondatastorescangrow.
Thisincludeslogfiles,VMXfiles,andothermiscellaneousfiles.
Allocatedspaceisnotalwaysinuse.
nCounter:provisionednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1UsedAmountofphysicaldatastorespaceinusebythevirtualmachinefiles.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1NotSharedAmountofdatastorespacethatbelongsonlytothisvirtualmachineandisnotsharedwithothervirtualmachines.
Onlyunsharedspaceisguaranteedtobereclaimedforthevirtualmachineif,forexample,itismovedtoadifferentdatastoreandthenbackagain.
Thevalueisanaggregateofallunsharedspaceforthevirtualmachine,acrossalldatastores.
nCounter:unsharednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
vSphereMonitoringandPerformanceVMware,Inc.
98SpaceUtilizationbyDatastoresTheSpaceUtilizationbyDatastoreschartdisplaystheamountofspaceusedbyavirtualmachineondifferentdatastoresinthedatacenter.
NoteThischartdoesnotshowhistoricalstatistics.
Itonlyshowsthemostrecentlyavailabledata,whichmaybeupto30minuteslate,dependingonwhenthelaststatisticsrollupoccurred.
Inaddition,statisticsarenotcollectedacrossalldatastoresatonetime.
Theyarecollectedasynchronously.
TheSpaceUtilizationbyDatastoreschartislocatedintheStorageviewofthevirtualmachinePerformancetab.
Table1124.
DataCountersChartLabelDescriptiondatastore_nameAmountofdiskspaceinthedatastorecurrentlyinusebythevirtualmachine.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1ChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
SpaceUtilizationByFileTypeTheSpaceUtilizationbyFileTypechartdisplaysthedatastoreusagebyvirtualmachinefiles.
NoteThischartdoesnotshowhistoricalstatistics.
Itonlyshowsthemostrecentlyavailabledata,whichmaybeupto30minuteslate,dependingonwhenthelaststatisticsrollupoccurred.
Inaddition,statisticsarenotcollectedacrossalldatastoresatonetime.
Theyarecollectedasynchronously.
TheSpaceUtilizationbyFileTypechartislocatedintheStorageviewofthevirtualmachinePerformancetab.
vSphereMonitoringandPerformanceVMware,Inc.
99DatastorecountersTable1125.
DataCountersFileTypeDescriptionVirtualDisksAmountofdiskspaceusedbyvirtualdiskfiles.
Virtualdiskfilesstorethecontentsofthevirtualmachine'sharddiskdrive,includinginformationthatyouwritetoavirtualmachine'sharddisk-theoperatingsystem,programfiles,anddatafiles.
Thefileshavetheextension.
vmdkandappearasaphysicaldiskdrivetoaguestoperatingsystem.
NoteDeltadisks,whichalsohaveanextension.
vmdk,arenotincludedinthisfiletype.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)SwapFilesAmountofdiskspaceusedbyswapfiles.
Swapfilesbackupthevirtualmachine'sphysicalmemory.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)SnapshotsAmountofdiskspaceusedbyvirtualmachinesnapshotfiles.
Snapshotfilesstoreinformationaboutvirtualmachinesnapshots.
Theyincludesnapshotstatefilesanddeltadiskfiles.
Asnapshotstatefilestorestherunningstateofthevirtualmachineatthetimeofthesnapshot.
Ithastheextension.
vmsn.
Adeltadiskfilestorestheupdatesmadebythevirtualmachinetothevirtualdisksafterasnapshotistaken.
nCounter:usednStatsType:AbsolutenUnit:GigaBytes(GB)nRollupType:LatestnCollectionLevel:1(4)OtherVMFilesAmountofdiskspaceusedbyallothervirtualmachinefiles,suchasconfigurationfilesandlogfiles.
nCounter:usednStatsType:AbsolutenUnit:Gigabytes(GB)nRollupType:LatestnCollectionLevel:1(4)TotalSpaceAmountofdiskspaceusedbythevirtualmachine.
totalspace=virtualdiskspace+swapfilespace+snapshotspace+otherVMfilespaceChartAnalysisThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
Ifpossible,youcanprovisionmorespacetothedatastore,oryoucanadddiskstothedatastoreoruseshareddatastores.
vSphereMonitoringandPerformanceVMware,Inc.
100Ifsnapshotfilesareconsuminghighdatastorespace,considerconsolidatingthemtothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
Forinformationaboutconsolidatingthedatacenter,seethevSpheredocumentation.
FaultTolerancePerformanceCountersThefaulttolerancechartscontaininformationaboutCPUandmemoryforfaulttolerantvirtualmachines.
NoteTheperformancechartsandhelptopicsforfaulttoleranceareavailableonlywhenyouhavevSphereFaultToleranceenabled.
IfyouselectalinkforasecondaryvirtualmachineinthethumbnailsectionoftheResourcePoolsandVirtualMachinesviewoftheclusterPerformancetab,thenavigationintheinventoryupdatestotheprimaryvirtualmachine.
Thisoccursbecausesecondarymachinesarenotdisplayedintheinventory.
CPU(MHz)TheCPU(MHz)chartdisplaysvirtualCPUusageforfaulttolerantvirtualmachines.
ThischartislocatedintheFaultToleranceviewofthevirtualmachinePeformancetab.
Itisavailableonlyatcollectionlevels3and4.
Table1126.
DataCountersNameDescriptionUsageTheaverageamountofvirtualCPU,perCPUinstance,inuseontheprimaryandsecondaryfaulttolerantvirtualmachines.
nCounter:usagemhznStatsType:RatenUnit:Megahertz(MHz)nRollupType:Average(Minimum/Maximum)nCollectionLevel:3(4)ChartAnalysisAlargediscrepancyinCPUusagebetweentheprimaryandsecondaryvirtualmachinesmightindicateperformanceproblems.
TheCPUready,system,andwaittimesofeachvirtualmachineshouldbesynchronized.
Alargediscrepancyinthesevaluesmightindicateperformanceproblems.
Considertakingthefollowingactions.
Table1127.
CPUPerformanceEnhancementAdvice#Resolution1VerifythattheprimaryandsecondaryhostsareinthesameCPUmodelfamilyandhavesimilarCPUconfigurations.
Forbestresults,useCPUswiththesamesteppinglevel.
2VerifythattheCPUresourcereservationssetforbothvirtualmachinesareconsistentwithinthecluster.
VMwareHAplansforaworst-casescenariobyconsideringallpoweredonvirtualmachinesinaclusterandfindingthemaximummemoryandCPUreservations.
3Verifythatthenetworkanddatastoreconnectionsforbothvirtualmachinesaresimilar.
vSphereMonitoringandPerformanceVMware,Inc.
101Table1127.
CPUPerformanceEnhancementAdvice(Continued)#Resolution4Turnoffpowermanagement(alsoknownaspower-capping)intheBIOS.
Ifpowermanagementisenabled,thesecondaryhostmightenterlowerperformance,power-savingmodes.
SuchmodescanleavethesecondaryvirtualmachinewithinsufficientCPUresources,potentiallymakingitimpossibleforthesecondarytocompletealltaskscompletedonaprimaryinatimelyfashion.
5TurnoffhyperthreadingintheBIOS.
IfhyperthreadingisenabledandthesecondaryvirtualmachineissharingaCPUwithanotherdemandingvirtualmachine,thesecondaryvirtualmachinemightruntooslowlytocompletealltaskscompletedontheprimaryinatimelyfashion.
CPUSystemTimeforvCPU(%)TheCPUSystemTimechartdisplaysvirtualCPUusageforfaulttolerantvirtualmachines.
ThischartislocatedintheFaultToleranceviewoftheVirtualMachinePeformancetab.
Itisavailableonlyatcollectionlevels3and4.
Table1128.
DataCountersChartLabelDescriptionSystemAmountoftimespentonsystemprocessesoneachvirtualCPUinthevirtualmachine.
NoteThisisthehostviewoftheCPUusage,nottheguestoperatingsystemview.
nCounter:systemnStatsType:DeltanUnit:Percentage(%)nRollupType:SummationnCollectionLevel:3ChartAnalysisAlargediscrepancyinCPUusagebetweentheprimaryandsecondaryvirtualmachinesmightindicateperformanceproblems.
TheCPUready,system,andwaittimesofeachvirtualmachineshouldbesynchronized.
Alargediscrepancyinthesevaluesmightindicateperformanceproblems.
Considertakingthefollowingactions.
Table1129.
CPUPerformanceEnhancementAdvice#Resolution1VerifythattheprimaryandsecondaryhostsareinthesameCPUmodelfamilyandhavesimilarCPUconfigurations.
Forbestresults,useCPUswiththesamesteppinglevel.
2VerifythattheCPUresourcereservationssetforbothvirtualmachinesareconsistentwithinthecluster.
VMwareHAplansforaworst-casescenariobyconsideringallpoweredonvirtualmachinesinaclusterandfindingthemaximummemoryandCPUreservations.
3Verifythatthenetworkanddatastoreconnectionsforbothvirtualmachinesaresimilar.
vSphereMonitoringandPerformanceVMware,Inc.
102Table1129.
CPUPerformanceEnhancementAdvice(Continued)#Resolution4Turnoffpowermanagement(alsoknownaspower-capping)intheBIOS.
Ifpowermanagementisenabled,thesecondaryhostmightenterlowerperformance,power-savingmodes.
SuchmodescanleavethesecondaryvirtualmachinewithinsufficientCPUresources,potentiallymakingitimpossibleforthesecondarytocompletealltaskscompletedonaprimaryinatimelyfashion.
5TurnoffhyperthreadingintheBIOS.
IfhyperthreadingisenabledandthesecondaryvirtualmachineissharingaCPUwithanotherdemandingvirtualmachine,thesecondaryvirtualmachinemightruntooslowlytocompletealltaskscompletedontheprimaryinatimelyfashion.
CPUUsedTimeforvCPU(%)TheCPUUsedTimechartdisplaysvirtualCPUusageforfaulttolerantvirtualmachines.
ThischartislocatedintheFaultToleranceviewoftheVirtualMachinePeformancetab.
Thechartisavailableonlyforcollectionlevels3and4.
Table1130.
DataCountersChartLabelDescriptionusedAmountofusedvirtualCPUasapercentageoftotalavailableCPUontheprimaryandsecondaryvirtualmachines.
AhighvalueindicatesexcessiveuseofCPUresources.
nCounter:usednStatsType:DeltanUnit:Percentage(%)nRollupType:SummationnCollectionLevel:1ChartAnalysisAlargediscrepancyinCPUusagebetweentheprimaryandsecondaryvirtualmachinesmightindicateperformanceproblems.
TheCPUready,system,andwaittimesofeachvirtualmachineshouldbesynchronized.
Alargediscrepancyinthesevaluesmightindicateperformanceproblems.
Considertakingthefollowingactions.
Table1131.
CPUPerformanceEnhancementAdvice#Resolution1VerifythattheprimaryandsecondaryhostsareinthesameCPUmodelfamilyandhavesimilarCPUconfigurations.
Forbestresults,useCPUswiththesamesteppinglevel.
2VerifythattheCPUresourcereservationssetforbothvirtualmachinesareconsistentwithinthecluster.
VMwareHAplansforaworst-casescenariobyconsideringallpoweredonvirtualmachinesinaclusterandfindingthemaximummemoryandCPUreservations.
3Verifythatthenetworkanddatastoreconnectionsforbothvirtualmachinesaresimilar.
vSphereMonitoringandPerformanceVMware,Inc.
103Table1131.
CPUPerformanceEnhancementAdvice(Continued)#Resolution4Turnoffpowermanagement(alsoknownaspower-capping)intheBIOS.
Ifpowermanagementisenabled,thesecondaryhostmightenterlowerperformance,power-savingmodes.
SuchmodescanleavethesecondaryvirtualmachinewithinsufficientCPUresources,potentiallymakingitimpossibleforthesecondarytocompletealltaskscompletedonaprimaryinatimelyfashion.
5TurnoffhyperthreadingintheBIOS.
IfhyperthreadingisenabledandthesecondaryvirtualmachineissharingaCPUwithanotherdemandingvirtualmachine,thesecondaryvirtualmachinemightruntooslowlytocompletealltaskscompletedontheprimaryinatimelyfashion.
MemoryActive(MB)TheMemoryActivechartdisplaysactivememoryusageforfaulttolerantvirtualmachines.
ThischartislocatedintheFaultToleranceviewoftheVirtualMachinePeformancetab.
Itisnotavailableatcollectionlevel1.
Table1132.
DataCountersChartLabelDescriptionActiveAmountofguestphysicalmemoryinusebythefaulttolerantvirtualmachine.
ActivememoryisestimatedbyVMkernelstatisticalsamplingandrepresentstheactualamountofmemorythevirtualmachineneeds.
Additional,unusedmemorymaybeswappedoutorballoonedwithnoperformanceimpact.
nCounter:activenStatsType:AbsolutenUnit:Megabytes(MB)nRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)Makesurethattheprimaryandsecondaryvirtualmachineshaveenoughmemory.
Ifthesecondarysystemisnotprovisionedwell,itmightslowdownperformanceoftheprimaryvirtualmachineorfail.
ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifsufficientswapspaceisavailable,ahighballoonvaluedoesnotcauseperformanceproblems.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingtheamountofmemoryrequiredtomeetthedemand.
Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Afreememoryvalueof6%orlessindicatesthatthehostcannotmeetthememoryrequirements.
Thisleadstomemoryreclamation,whichmightdegradeperformance.
Iftheactivememorysizeisthesameasthegrantedmemorysize,demandformemoryisgreaterthanthememoryresourcesavailable.
Iftheactivememoryisconsistentlylow,thememorysizemightbetoolarge.
vSphereMonitoringandPerformanceVMware,Inc.
104Ifthehosthasenoughfreememory,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Iflittlefreememoryisavailable,orifyounoticedegradationinperformance,considertakingthefollowingactions.
Table1133.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
MemorySwapout(MB)TheMemorySwapoutchartdisplaystheswapoutmemoryusageforfaulttolerantvirtualmachines.
ThischartislocatedintheFaultToleranceviewoftheVirtualMachinePeformancetab.
Itisnotavailableatcollectionlevel1.
Table1134.
DataCountersChartLabelDescriptionSwapoutAmountofmachinememorywrittentotheVMkernelswapfile.
nCounter:swapoutnStatsType:AbsolutenUnit:MegaBytesnRollupType:Average(Minimum/Maximum)nCollectionLevel:2(4)Makesurethattheprimaryandsecondaryvirtualmachineshaveenoughmemoryandthattheswapoutvalueisnothigh.
Ifthesecondarysystemisnotprovisionedwell,itmightslowdownperformanceoftheprimaryvirtualmachineorfail.
ChartAnalysisAvirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Thisenablesthehosttoaccommodateworkloadspikeswithoutswappingmemoryamongguests.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
Ifthereissufficientswapspace,ahighballoonvalueisnotaperformanceissue.
However,iftheswapinandswapoutvaluesforthehostarelarge,thehostisprobablylackingthememoryrequiredtomeetthedemand.
vSphereMonitoringandPerformanceVMware,Inc.
105Ifavirtualmachinehashighballooningorswapping,checktheamountoffreephysicalmemoryonthehost.
Thehostmightrequiremorememoryresources.
Ifitdoesnot,checktheresourceshares,reservation,andlimitofthevirtualmachinesandresourcepoolsonthehost.
Verifythatthehostsettingsareadequateandnotlowerthanthosesetforthevirtualmachine.
Ifmemoryusageishighoryounoticedegradationinperformance,considertakingthefollowingactions.
Table1135.
MemoryPerformanceEnhancementAdvice#Resolution1VerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
2Verifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
3Reducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
4Ifthememoryreservationofavirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
5MigrateoneormorevirtualmachinestoahostinaDRScluster.
6Addphysicalmemorytothehost.
WorkingwithAdvancedandCustomChartsUseadvancedcharts,orcreateyourowncustomcharts,toseemoreperformancedata.
Advancedchartscanbeusefulwhenyouareawareofaproblembutneedmorestatisticaldatatopinpointthesourceofthetrouble.
Advancedchartsincludethefollowingfeatures:nMoreinformation.
Hoveroveradatapointinachartanddetailsaboutthatspecificdatapointaredisplayed.
nCustomizablecharts.
Changechartsettings.
Tocreateyourowncharts,savecustomsettings.
nExporttospreadsheet.
nSavetoimagefileorspreadsheet.
ViewAdvancedPerformanceChartsAdvancedchartssupportdatacountersthatarenotsupportedinotherperformancecharts.
Procedure1NavigatetoaninventoryobjectinthevSphereWebClient.
2ClicktheMonitortab,andclickPerformance.
3ClickAdvanced.
vSphereMonitoringandPerformanceVMware,Inc.
1064(Optional)Toviewadifferentchart,selectanoptionfromtheViewlist.
TheamountofhistoricaldatadisplayedinachartdependsonthecollectionintervalandstatisticslevelsetforvCenterServer.
ChangeAdvancedChartSettingsYoucancustomizeaperformancechartbyspecifyingtheobjectstomonitor,thecounterstoinclude,thetimerange,andcharttype.
Youcancustomizepreconfiguredchartviewsandcreatechartviews.
Procedure1SelectaninventoryobjectinthevSphereWebClient.
2ClicktheMonitortab,andclickPerformance.
3ClickAdvanced.
4ClickChartOptions.
5InChartMetrics,selectametricgroupforthechart.
6Selectatimerangeforthemetricgroup.
TimerangeoptionsarenotactiveunlessyouselectCustomintervalintheTimespanmenu.
IfyouchooseCustominterval,dooneofthefollowing.
nSelectLastandsetthenumberofhours,days,weeks,ormonthsfortheamountoftimetomonitortheobject.
nSelectFromandselectthebeginningandenddates.
Youcanalsocustomizethetimerangeoptionsbycustomizingthestatisticscollectionintervalsetting.
7InTargetObjects,selecttheinventoryobjectstodisplayinthechart.
YoucanalsospecifytheobjectsusingtheAllorNonebuttons.
8Selectthecharttype.
Whenselectingthestackedgraphoption,considerthefollowing.
nYoucanselectonlyoneitemfromthelistofmeasurements.
nPer-virtual-machinestackedgraphsareavailableonlyforhosts.
nTodisplayinformationaboutthecounter'sfunctionandwhethertheselectedmetriccanbestackedforper-virtual-machinegraphs,clickacounterdescriptionname.
9InCounters,selectthedatacounterstodisplayinthechart.
YoucanalsospecifycountersusingtheAllorNonebuttons.
TheAllbuttonisinactivewhentherearemorethantwodifferentcounterunitsforthecorrespondingmetricgroup.
10ClickOK.
vSphereMonitoringandPerformanceVMware,Inc.
107CreateaCustomAdvancedChartYoucancreateyourownchartsbysavingcustomizedchartsettings.
NewchartsareaddedtotheViewmenuandwillappearthereonlywhenchartsfortheselectedobjectarebeingdisplayed.
Procedure1SelectaninventoryobjectinthevSphereWebClient.
2ClicktheMonitortab,clickPerformance,andnavigatetotheChartOptionsdialogofachart.
3Customizechartsettings.
4ClickSaveOptionsAs.
.
.
.
5Enteranameforyoursettings.
6ClickOK.
ThechartsettingsaresavedandanentryforyourchartisaddedtotheViewmenu.
DeleteaCustomAdvancedChartViewYoucandeletecustomchartviewsfromthevSphereWebClient.
Procedure1SelectaninventoryobjectinthevSphereWebClient.
2ClicktheMonitortab,andclickPerformance.
3ClickAdvanced.
4ClickChartOptions.
5SelectachartandclickDeleteOptions.
6ClickOKtoconfirmdeletion.
Thechartisdeleted,anditisremovedfromtheViewmenu.
SaveChartDatatoaFileYoucansavedatafromtheadvancedperformancechartstoafileinvariousgraphicformatsorincomma-separatedvalues(CSV)format.
Procedure1InthevSphereWebClient,selectaninventoryobject.
2ClicktheMonitortab,andclickPerformance.
3ClickAdvanced.
4ClicktheExporticon().
vSphereMonitoringandPerformanceVMware,Inc.
1085Selectafiletype.
OptionDescriptionToPNGExportsabitmapimageinthePNGformat.
ToJPEGExportsabitmapimageintheJPEGformat.
ToCSVExportsplain-textdataintheCSVformat.
6Enteranameandlocationforthefile.
7ClickSave.
Thefileissavedtothelocationandformatyouspecified.
TroubleshootandEnhancePerformanceThissectionpresentstipsforidentifyingandsolvingperformanceproblems.
Thesuggestionsinthissectionarenotmeanttobeacomprehensiveguidetodiagnosingandtroubleshootingproblemsinthevirtualenvironment.
ItismeanttoprovideinformationaboutsomecommonproblemsthatcanbesolvedwithoutcontactingVMwareTechnicalSupport.
SolutionsforConsistentlyHighCPUUsageTemporaryspikesinCPUusageindicatethatyouaremakingthebestuseofCPUresources.
ConsistentlyhighCPUusagemightindicateaproblem.
YoucanusetheCPUperformancechartstomonitorCPUusageforhosts,clusters,resourcepools,virtualmachines,andvApps.
ProblemnHostCPUusageconstantlyishigh.
AhighCPUusagevaluecanleadtoincreasedreadytimeandprocessorqueuingofthevirtualmachinesonthehost.
nVirtualmachineCPUusageisabove90%andtheCPUreadyvalueisabove20%.
Applicationperformanceisimpacted.
CausenThehostprobablyislackingtheCPUresourcesrequiredtomeetthedemand.
nTheremightbetoomanyvirtualCPUsrelativetothenumberofregularCPUs.
nTheremightbeanIOstorageornetworkingoperationthatplacestheCPUinawaitstate.
nTheGuestOSgeneratestoomuchloadfortheCPU.
SolutionnVerifythatVMwareToolsisinstalledoneveryvirtualmachineonthehost.
nComparetheCPUusagevalueofavirtualmachinewiththeCPUusageofothervirtualmachinesonthehostorintheresourcepool.
Thestackedbarchartonthehost'sVirtualMachineviewshowstheCPUusageforallvirtualmachinesonthehost.
vSphereMonitoringandPerformanceVMware,Inc.
109nDeterminewhetherthehighreadytimeforthevirtualmachineresultedfromitsCPUusagetimereachingtheCPUlimitsetting.
Ifso,increasetheCPUlimitonthevirtualmachine.
nIncreasetheCPUsharestogivethevirtualmachinemoreopportunitiestorun.
ThetotalreadytimeonthehostmightremainatthesamelevelifthehostsystemisconstrainedbyCPU.
Ifthehostreadytimedoesnotdecrease,settheCPUreservationsforhigh-priorityvirtualmachinestoguaranteethattheyreceivetherequiredCPUcycles.
nIncreasetheamountofmemoryallocatedtothevirtualmachine.
Thisactiondecreasesdiskandornetworkactivityforapplicationsthatcache.
ThismightlowerdiskI/Oandreducetheneedforthehosttovirtualizethehardware.
VirtualmachineswithsmallerresourceallocationsgenerallyaccumulatemoreCPUreadytime.
nReducethenumberofvirtualCPUsonavirtualmachinetoonlythenumberrequiredtoexecutetheworkload.
Forexample,asingle-threadedapplicationonafour-wayvirtualmachineonlybenefitsfromasinglevCPU.
Butthehypervisor'smaintenanceofthethreeidlevCPUstakesCPUcyclesthatcouldbeusedforotherwork.
nIfthehostisnotalreadyinaDRScluster,addittoone.
IfthehostisinaDRScluster,increasethenumberofhostsandmigrateoneormorevirtualmachinesontothenewhost.
nUpgradethephysicalCPUsorcoresonthehostifnecessary.
nUsethenewestversionofhypervisorsoftware,andenableCPU-savingfeaturessuchasTCPSegmentationOffload,largememorypages,andjumboframes.
SolutionsforMemoryPerformanceProblemsHostmachinememoryisthehardwarebackingforguestvirtualmemoryandguestphysicalmemory.
Hostmachinememorymustbeatleastslightlylargerthanthecombinedactivememoryofthevirtualmachinesonthehost.
Avirtualmachine'smemorysizemustbeslightlylargerthantheaverageguestmemoryusage.
Increasingthevirtualmachinememorysizeresultsinmoreoverheadmemoryusage.
ProblemnMemoryusageisconstantlyhigh(94%orgreater)orconstantlylow(24%orless).
nFreememoryconsistentlyis6%orlessandswappingfrequentlyoccurs.
CausenThehostprobablyislackingthememoryrequiredtomeetthedemand.
Theactivememorysizeisthesameasthegrantedmemorysize,whichresultsinmemoryresourcesthatarenotsufficientfortheworkload.
Grantedmemoryistoomuchiftheactivememoryisconstantlylow.
nHostmachinememoryresourcesarenotenoughtomeetthedemand,whichleadstomemoryreclamationanddegradedperformance.
nTheactivememorysizeisthesameasthegrantedmemorysize,whichresultsinmemoryresourcesthatarenotsufficientfortheworkload.
vSphereMonitoringandPerformanceVMware,Inc.
110SolutionnVerifythatVMwareToolsisinstalledoneachvirtualmachine.
TheballoondriverisinstalledwithVMwareToolsandiscriticaltoperformance.
nVerifythattheballoondriverisenabled.
TheVMkernelregularlyreclaimsunusedvirtualmachinememorybyballooningandswapping.
Generally,thisdoesnotimpactvirtualmachineperformance.
nReducethememoryspaceonthevirtualmachine,andcorrectthecachesizeifitistoolarge.
Thisfreesupmemoryforothervirtualmachines.
nIfthememoryreservationofthevirtualmachineissettoavaluemuchhigherthanitsactivememory,decreasethereservationsettingsothattheVMkernelcanreclaimtheidlememoryforothervirtualmachinesonthehost.
nMigrateoneormorevirtualmachinestoahostinaDRScluster.
nAddphysicalmemorytothehost.
SolutionsforStoragePerformanceProblemsDatastoresrepresentstoragelocationsforvirtualmachinefiles.
AstoragelocationcanbeaVMFSvolume,adirectoryonNetworkAttachedStorage,oralocalfilesystempath.
Datastoresareplatform-independentandhost-independent.
ProblemnSnapshotfilesareconsumingalotofdatastorespace.
nThedatastoreisatfullcapacitywhentheusedspaceisequaltothecapacity.
Allocatedspacecanbelargerthandatastorecapacity,forexample,whenyouhavesnapshotsandthin-provisioneddisks.
SolutionnConsiderconsolidatingsnapshotstothevirtualdiskwhentheyarenolongerneeded.
ConsolidatingthesnapshotsdeletestheredologfilesandremovesthesnapshotsfromthevSphereWebClientuserinterface.
nYoucanprovisionmorespacetothedatastoreifpossible,oryoucanadddiskstothedatastoreoruseshareddatastores.
SolutionsforDiskPerformanceProblemsUsethediskchartstomonitoraveragediskloadsandtodeterminetrendsindiskusage.
Forexample,youmightnoticeaperformancedegradationwithapplicationsthatfrequentlyreadfromandwritetotheharddisk.
Ifyouseeaspikeinthenumberofdiskread/writerequests,checkifanysuchapplicationswererunningthen.
ProblemnThevalueforthekernelLatencydatacounterisgreaterthan4ms.
vSphereMonitoringandPerformanceVMware,Inc.
111nThevalueforthedeviceLatencydatacounterisgreaterthan15msindicatesthatthereareprobablyproblemswiththestoragearray.
nThequeueLatencydatacountermeasuresabovezero.
nSpikesinlatency.
nUnusualincreasesinread/writerequests.
CausenThevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
nThestoragearrayprobablyisexperiencinginternalproblems.
nTheworkloadistoohighandthearraycannotprocessthedatafastenough.
SolutionnThevirtualmachinesonthehostaretryingtosendmorethroughputtothestoragesystemthantheconfigurationsupports.
ChecktheCPUusage,andincreasethequeuedepth.
nMovetheactiveVMDKtoavolumewithmorespindlesoradddiskstotheLUN.
nIncreasethevirtualmachinememory.
Itshouldallowformoreoperatingsystemcaching,whichcanreduceI/Oactivity.
Note:Itmayrequireyoutoincreasethehostmemory.
Increasingmemorymightreducetheneedtostoredatabecausedatabasescanutilizesystemmemorytocachedataandavoiddiskaccess.
nCheckswapstatisticsintheguestoperatingsystemtoverifythatvirtualmachineshaveadequatememory.
Increasetheguestmemory,butnottoanextentthatleadstoexcessivehostmemoryswapping.
InstallVMwareToolssothatmemoryballooningcanoccur.
nDefragmentthefilesystemsonallguests.
nDisableantiviruson-demandscansontheVMDKandVMEMfiles.
nUsethevendor'sarraytoolstodeterminethearrayperformancestatistics.
Whentoomanyserverssimultaneouslyaccesscommonelementsonanarray,thedisksmighthavetroublekeepingup.
Considerarray-sideimprovementstoincreasethroughput.
nUseStoragevMotiontomigrateI/O-intensivevirtualmachinesacrossmultiplehosts.
nBalancethediskloadacrossallphysicalresourcesavailable.
SpreadheavilyusedstorageacrossLUNsthatareaccessedbydifferentadapters.
Useseparatequeuesforeachadaptertoimprovediskefficiency.
nConfiguretheHBAsandRAIDcontrollersforoptimaluse.
VerifythatthequeuedepthsandcachesettingsontheRAIDcontrollersareadequate.
Ifnot,increasethenumberofoutstandingdiskrequestsforthevirtualmachinebyadjustingtheDisk.
SchedNumReqOutstandingparameter.
nForresource-intensivevirtualmachines,separatethevirtualmachine'sphysicaldiskdrivefromthedrivewiththesystempagefile.
Thisalleviatesdiskspindlecontentionduringperiodsofhighuse.
vSphereMonitoringandPerformanceVMware,Inc.
112nOnsystemswithsizableRAM,disablememorytrimmingbyaddingthelineMemTrimRate=0tothevirtualmachine'sVMXfile.
nIfthecombineddiskI/OishigherthanasingleHBAcapacity,usemultipathingormultiplelinks.
nForESXihosts,createvirtualdisksaspreallocated.
Whenyoucreateavirtualdiskforaguestoperatingsystem,selectAllocatealldiskspacenow.
Theperformancedegradationassociatedwithreassigningadditionaldiskspacedoesnotoccur,andthediskislesslikelytobecomefragmented.
nUsethemostcurrenthypervisorsoftware.
SolutionsforPoorNetworkPerformanceNetworkperformanceisdependentonapplicationworkloadandnetworkconfiguration.
Droppednetworkpacketsindicateabottleneckinthenetwork.
Slownetworkperformancecanbeasignofload-balancingproblems.
ProblemNetworkproblemscanmanifestinmanyways:nPacketsarebeingdropped.
nNetworklatencyishigh.
nDatareceiverateislow.
CauseNetworkproblemscanhaveseveralcauses:nVirtualmachinenetworkresourcesharesaretoofew.
nNetworkpacketsizeistoolarge,whichresultsinhighnetworklatency.
UsetheVMwareAppSpeedperformancemonitoringapplicationorathird-partyapplicationtochecknetworklatency.
nNetworkpacketsizeistoosmall,whichincreasesthedemandfortheCPUresourcesneededforprocessingeachpacket.
HostCPU,orpossiblyvirtualmachineCPU,resourcesarenotenoughtohandletheload.
SolutionnDeterminewhetherpacketsarebeingdroppedbyusingesxtoportheadvancedperformancechartstoexaminethedroppedTxanddroppedRxnetworkcountervalues.
VerifythatVMwareToolsisinstalledoneachvirtualmachine.
nCheckthenumberofvirtualmachinesassignedtoeachphysicalNIC.
Ifnecessary,performloadbalancingbymovingvirtualmachinestodifferentvirtualswitchesorbyaddingmoreNICstothehost.
YoucanalsomovevirtualmachinestoanotherhostorincreasethehostCPUorvirtualmachineCPU.
nIfpossible,usevmxnet3NICdrivers,whichareavailablewithVMwareTools.
Theyareoptimizedforhighperformance.
vSphereMonitoringandPerformanceVMware,Inc.
113nIfvirtualmachinesrunningonthesamehostcommunicatewitheachother,connectthemtothesamevirtualswitchtoavoidthecostoftransferringpacketsoverthephysicalnetwork.
nAssigneachphysicalNICtoaportgroupandavirtualswitch.
nUseseparatephysicalNICstohandlethedifferenttrafficstreams,suchasnetworkpacketsgeneratedbyvirtualmachines,iSCSIprotocols,vMotiontasks.
nEnsurethatthephysicalNICcapacityislargeenoughtohandlethenetworktrafficonthatvirtualswitch.
Ifthecapacityisnotenough,considerusingahigh-bandwidthphysicalNIC(10Gbps)ormovingsomevirtualmachinestoavirtualswitchwithalighterloadortoanewvirtualswitch.
nIfpacketsarebeingdroppedatthevirtualswitchport,increasethevirtualnetworkdriverringbufferswhereapplicable.
nVerifythatthereportedspeedandduplexsettingsforthephysicalNICmatchthehardwareexpectationsandthatthehardwareisconfiguredtorunatitsmaximumcapability.
Forexample,verifythatNICswith1Gbpsarenotresetto100Mbpsbecausetheyareconnectedtoanolderswitch.
nVerifythatallNICsarerunninginfullduplexmode.
HardwareconnectivityissuesmightresultinaNICresettingitselftoalowerspeedorhalfduplexmode.
nUsevNICsthatareTCPSegmentationOffload(TSO)-capable,andverifythatTCPSegmentationOffload-JumboFramesareenabledwherepossible.
EmptyPerformanceChartsNographicsordataaredisplayedinperformancecharts.
ProblemWhendataismissingforaperformancechart,thechartappearsemptyandyouseethemessageNodataavailable.
CauseThecausesformissingdatainperformancechartsthataredescribedhereinarebasedontheassumptionthatthedefaultroll-upconfigurationforthevCenterServersystemhasnotchanged.
Thecausesincludebutarenotlimitedtothefollowingscenarios:nMetricsintroducedinESXi5.
0arenotavailableforhostsrunningearlierversions.
nDataisdeletedwhenyouremoveoraddobjectstovCenterServer.
nPerformancechartsdataforinventoryobjectsthatweremovedtoanewsitebyVMwarevCenterSiteRecoveryManagerisdeletedfromtheoldsiteandnotcopiedtothenewsite.
nPerformancechartsdataisdeletedwhenyouuseVMwarevMotionacrossvCenterServerinstances.
nReal-timestatisticsarenotavailablefordisconnectedhostsorpoweredoffvirtualmachines.
vSphereMonitoringandPerformanceVMware,Inc.
114nReal-timestatisticsarecollectedonhostsandaggregatedevery5minutes.
Aftersixdatapointsarecollectedforapproximately30minutes,theyarerolleduptothevCenterServerdatabasetocreatethe1-Daystatistic.
1-Daystatisticsmightnotbeavailablefor30minutesafterthecurrenttime,dependingonwhenthesampleperiodbegan.
nThe1-Daystatisticsarerolleduptocreateonedatapointevery30minutes.
Ifadelayoccursintheroll-upoperation,the1-Weekstatisticsmightnotbeavailablefor1hourafterthecurrenttime.
Ittakes30minutesforthe1-Weekcollectioninterval,plus30minutesforthe1-Daycollectioninterval.
nThe1-Weekstatisticsarerolleduptocreateonedatapointeverytwohours.
Ifadelayoccursintheroll-upoperations,the1-Monthstatisticsmightnotbeavailablefor3hours.
Ittakes2hoursforthe1-Monthcollectioninterval,plus1hourforthe1-Weekcollectioninterval.
nThe1-Monthstatisticsarerolleduptocreateonedatapointeveryday.
Ifadelayoccursintheroll-upoperations,thestatisticsmightnotbeavailablefor1-dayand3hours.
Ittakesonedayforthepastyearcollectioninterval,plus3hoursforthepastmonthcollectioninterval.
Duringthistime,thechartsareempty.
SolutionuThereisnosolutionavailable.
vSphereMonitoringandPerformanceVMware,Inc.
115MonitoringGuestOperatingSystemPerformance2ThissectiondescribeshowtoinstallandviewVMware-specificperformancedataforvirtualmachinesthatrunMicrosoftWindowsoperatingsystems.
VMwareprovidesperformancecountersthatenableyoutoviewdataonmanyaspectsofguestoperatingsystemperformancefortheMicrosoftWindowsPerfmonutility.
Somevirtualizationprocessesdynamicallyallocateavailableresourcesdependingonthestatus,orutilizationrates,ofvirtualmachinesintheenvironment.
Itcanmakeobtainingaccurateinformationabouttheresourceutilization(CPUutilization,inparticular)ofindividualvirtualmachines,orapplicationsrunningwithinvirtualmachines,difficult.
VMwarenowprovidesvirtualmachine-specificperformancecounterlibrariesfortheWindowsPerfmonutility.
ItenablesapplicationadministratorstoaccessaccuratevirtualmachineresourceutilizationstatisticsfromwithintheWindowsPerfmonutility.
YoucantakeadvantageofvirtualizedCPUperformancecounterstouseperformancetuningtoolsinsidetheguestoperatingsystem.
SeethevSphereVirtualMachineAdministrationdocumentation.
Thischapterincludesthefollowingtopics:nEnableStatisticsCollectionforGuestOperatingSystemPerformanceAnalysisnViewPerformanceStatisticsforWindowsGuestOperatingSystemsEnableStatisticsCollectionforGuestOperatingSystemPerformanceAnalysisVMware-specificperformanceobjectsareloadedintoMicrosoftWindowsPerfmonandenabledwhenVMwareToolsisinstalled.
Todisplayaperformancechartforanyperformanceobject,youmustaddcounters.
SeeViewPerformanceStatisticsforWindowsGuestOperatingSystemsViewPerformanceStatisticsforWindowsGuestOperatingSystemsYoucandisplayVMwarespecificstatisticsintheMicrosoftWindowsPerfmonutility.
PrerequisitesVerifythatavirtualmachinewithaMicrosoftWindowsoperatingsystemandVMwareToolsisinstalled.
VMware,Inc.
116Procedure1Openaconsoletothevirtualmachineandlogin.
2SelectStart>Run.
3EnterPerfmonandpressEnter.
4InthePerformancedialogbox,clickAdd.
5IntheAddCountersdialogbox,selectUselocalcomputercounters.
6Selectavirtualmachineperformanceobject.
VirtualmachineperformanceobjectnamesbeginwithVM.
7Selectthecountersthatyouwanttodisplayforthatobject.
8Iftheperformanceobjecthasmultipleinstances,selecttheinstancesyouwanttodisplay.
9ClickAdd.
ThePerformancedialogboxdisplaysdatafortheselectedperformanceobject.
10ClickClosetoclosetheAddCounterdialogboxandreturntothePerformancedialogbox.
vSphereMonitoringandPerformanceVMware,Inc.
117MonitoringHostHealthStatus3YoucanusethevSphereWebClientorthevSphereClienttomonitorthestateofhosthardwarecomponents,suchasCPUprocessors,memory,fans,andothercomponents.
Thehosthealthmonitoringtoolallowsyoutomonitorthehealthofavarietyofhosthardwarecomponentsincluding:nCPUprocessorsnMemorynFansnTemperaturenVoltagenPowernNetworknBatterynStoragenCable/InterconnectnSoftwarecomponentsnWatchdognPCIdevicesnOtherThehosthealthmonitoringtoolpresentsdatagatheredusingSystemsManagementArchitectureforServerHardware(SMASH)profiles.
Theinformationdisplayeddependsonthesensorsavailableonyourserverhardware.
SMASHisanindustrystandardspecificationprovidingprotocolsformanagingavarietyofsystemsinthedatacenter.
Formoreinformation,seehttp://www.
dmtf.
org/standards/smash.
YoucanmonitorhosthealthstatuseitherbyconnectingthevSphereWebClientorthevSphereClienttoavCenterServersystem.
Youcanalsosetalarmstotriggerwhenthehosthealthstatuschanges.
NoteTheinterpretationofhardwaremonitoringinformationisspecificforeachhardwarevendor.
Yourhardwarevendorcanhelpyouunderstandtheresultsofthehosthardwarecomponentsmonitoring.
VMware,Inc.
118Thischapterincludesthefollowingtopics:nMonitorHealthStatusinthevSphereClientnMonitorHardwareHealthStatusnResetHealthStatusSensorsinthevSphereClientnResetHealthStatusSensorsMonitorHealthStatusinthevSphereClientYoucanmonitorthehealthstatusofhosthardwareinthevSphereClientProcedure1SelectahostinthevSphereClient2ClicktheMonitortab,andclickHardwareHealth3Selectthetypeofinformationtoview.
OptionDescriptionSensorsDisplaysallsensorsarrangedinatreeview.
Ifthestatusisblank,thehealthmonitoringservicecannotdeterminethestatusofthecomponent.
AlertsandwarningsDisplaysalertsandwarnings.
SystemeventlogDisplaysthesystemeventlog.
MonitorHardwareHealthStatusYoucanmonitorthehealthstatusofhosthardwareinthevSphereWebClient.
Procedure1SelectahostinthevSphereWebClientnavigator.
2ClicktheMonitortab,andclickHardwareStatus.
3Selectthetypeofinformationtoview.
OptionDescriptionSensorsDisplaysallsensorsarrangedinatreeview.
Ifthestatusisblank,thehealthmonitoringservicecannotdeterminethestatusofthecomponent.
nClicktheExpandAllicontoexpandthetreeviewtoshowallsensorsundereachgroup.
nClickCollapseAllicontoexpandthetreeviewtoshowdescriptivedetailsforeverysensor.
AlertsandwarningsDisplaysalertsandwarnings.
SystemeventlogDisplaysthesystemeventlog.
vSphereMonitoringandPerformanceVMware,Inc.
119ResetHealthStatusSensorsinthevSphereClientSomehosthardwaresensorsdisplaydatathatiscumulativeovertime.
Youcanresetthesesensorstoclearthedatainthemandbegincollectingnewdata.
Ifyouneedtopreservesensordatafortroubleshootingorotherpurposes,takeascreenshot,exportthedata,ordownloadasupportbundlebeforeresettingsensors.
PrerequisitesVerifythatthevCenterHardwareStatusplug-inisenabled.
Procedure1SelectahostinthevSphereClient2ClicktheMonitortab,andclickHardwareHealth3ClickResetsensors.
ResetHealthStatusSensorsSomehosthardwaresensorsdisplaydatathatiscumulativeovertime.
Youcanresetthesesensorstoclearthedatainthemandbegincollectingnewdata.
Ifyouneedtopreservesensordatafortroubleshootingorotherpurposes,takeascreenshot,exportthedata,ordownloadasupportbundlebeforeresettingsensors.
PrerequisitesVerifythatthevCenterHardwareStatusplug-inisenabled.
Procedure1SelectahostinthevSphereWebClientnavigator.
2ClicktheMonitortab,andclickHardwareStatus.
3ClickResetsensors.
vSphereMonitoringandPerformanceVMware,Inc.
120MonitoringvSphereHealth4YoucancheckthehealthofvSphereHostandvCenterServer.
CheckvSphereHealthinvSphereClientYoucanusethevSphereOnlinehealthcheckstomonitorthehealthofthesystem.
YoucanrunhealthchecksandsendthedatatoVMwareforadvancedanalysis.
PrerequisitesnYoumustparticipateintheCustomerExperienceImprovementProgramtouseonlinehealthchecks.
nToperformtheonlinehealthchecks,vCenterServermustbeabletocommunicateovertheInternet.
NoteIfCustomerImprovementExperienceProgram(CEIP)isnotenabled,theInternetconnectivitycheckisunavailable.
Procedure1NavigatetovCenterServerorselectahostinthevSphereClientnavigator2ClicktheMonitortab,andclickHealth3ExpandOnlinehealthtocheckthecategories4SelectthetypeofinformationtoviewOptionDescriptionCustomerexperienceimprovementprogram(CEIP)TheCEIPcheckverifieswhethertheprogramisenabledforyourvCenterServer.
Ifitisnot,clickthebuttonnexttothehealthcheck,navigatetotheCEIPpage,andenrollintheprogram.
ToenableCEIP,clickConfigureCEIPOnlinehealthconnectivityTheInternetconnectivitycheckverifiesthatvCenterServercancommunicatewithvmware.
comovertheHTTPS/443interface.
Ifcommunicationissuccessful,thischeckpasses.
Ifcommunicationfails,thecheckindicatesthattheInternetconnectivityisnotavailable.
vSphereperiodicallyreteststhehealthcheckandupdatestheresults.
VMware,Inc.
1215Torunthehealthchecksandupdatetheresultsimmediately,clicktheRetestbutton.
YoucanclicktheAskVMwarebuttontoopenaknowledgebasearticlethatdescribesthehealthcheckandprovidesinformationabouthowtoresolvetheissue.
vSphereMonitoringandPerformanceVMware,Inc.
122MonitoringEvents,Alarms,andAutomatedActions5vSphereincludesauser-configurableeventsandalarmssubsystem.
ThissubsystemtrackseventshappeningthroughoutvSphereandstoresthedatainlogfilesandthevCenterServerdatabase.
Thissubsystemalsoenablesyoutospecifytheconditionsunderwhichalarmsaretriggered.
Alarmscanchangestatefrommildwarningstomoreseriousalertsassystemconditionschange,andcantriggerautomatedalarmactions.
Thisfunctionalityisusefulwhenyouwanttobeinformed,ortakeimmediateaction,whencertaineventsorconditionsoccurforaspecificinventoryobject,orgroupofobjects.
EventsEventsarerecordsofuseractionsorsystemactionsthatoccuronobjectsinvCenterServeroronahost.
Actionsthatmightberecordedaseventsinclude,butarenotlimitedto,thefollowingexamples:nAlicensekeyexpiresnAvirtualmachineispoweredonnAuserlogsintoavirtualmachinenAhostconnectionislostEventdataincludesdetailsabouttheeventsuchaswhogeneratedit,whenitoccurred,andwhattypeofeventitis.
Therearethreetypesofevents:nInformationnWarningnErrorInthevSphereWebClient,eventdataisdisplayedintheMonitortab.
SeeViewEvents.
AlarmsAlarmsarenotificationsthatareactivatedinresponsetoanevent,asetofconditions,orthestateofaninventoryobject.
AnalarmdefinitionconsistsofthefollowingelementsinthevSphereClient:nNameanddescription-Providesanidentifyinglabelanddescription.
nTargets-Definesthetypeofobjectthatismonitored.
VMware,Inc.
123nAlarmRules-Definestheevent,condition,orstatethattriggersthealarmanddefinesthenotificationseverity.
Italsodefinesoperationsthatoccurinresponsetotriggeredalarms.
nLastmodified-Thelastmodifieddateandtimeofthedefinedalarm.
AnalarmdefinitionconsistsofthefollowingelementsinthevSphereWebClient:nNameanddescription-Providesanidentifyinglabelanddescription.
nAlarmtype-Definesthetypeofobjectthatismonitored.
nTriggers-Definestheevent,condition,orstatethattriggersthealarmanddefinesthenotificationseverity.
nTolerancethresholds(Reporting)-Providesadditionalrestrictionsonconditionandstatetriggersthresholdsthatmustbeexceededbeforethealarmistriggered.
ThresholdsarenotavailableinthevSphereWebClient.
nActions-Definesoperationsthatoccurinresponsetotriggeredalarms.
VMwareprovidessetsofpredefinedactionsthatarespecifictoinventoryobjecttypes.
Alarmshavethefollowingseveritylevels:nNormal–greennWarning–yellownAlert–redAlarmdefinitionsareassociatedwiththeobjectselectedintheinventory.
Analarmmonitorsthetypeofinventoryobjectsspecifiedinitsdefinition.
Forexample,youmightwanttomonitortheCPUusageofallvirtualmachinesinaspecifichostcluster.
Youcanselecttheclusterintheinventory,andaddavirtualmachinealarmtoit.
Whenenabled,thatalarmmonitorsallvirtualmachinesrunningintheclusterandtriggerswhenanyoneofthemmeetsthecriteriadefinedinthealarm.
Tomonitoraspecificvirtualmachineinthecluster,butnotothers,selectthatvirtualmachineintheinventoryandaddanalarmtoit.
Toapplythesamealarmstoagroupofobjects,placethoseobjectsinafolderanddefinethealarmonthefolder.
NoteYoucanenable,disable,andmodifyalarmsonlyfromtheobjectinwhichthealarmisdefined.
Forexample,ifyoudefinedanalarminaclustertomonitorvirtualmachines,youcanonlyenable,disable,ormodifythatalarmthroughthecluster.
Youcannotchangethealarmattheindividualvirtualmachinelevel.
AlarmActionsAlarmactionsareoperationsthatoccurinresponsetothetrigger.
Forexample,youcanhaveanemailnotificationsenttooneormoreadministratorswhenanalarmistriggered.
NoteDefaultalarmsarenotpreconfiguredwithactions.
Youmustmanuallysetwhatactionoccurswhenthetriggeringevent,condition,orstateoccurs.
vSphereMonitoringandPerformanceVMware,Inc.
124Thischapterincludesthefollowingtopics:nViewEventsnViewSystemLogsnExportEventsDatanStreamingEventstoaRemoteSyslogServernRetentionofEventsinthevCenterServerDatabasenViewTriggeredAlarmsandAlarmDefinitionsnLiveRefreshofRecentTasksandAlarmsnSetanAlarminthevSphereWebClientnSetanAlarminthevSphereClientnAcknowledgeTriggeredAlarmsnResetTriggeredEventAlarmsnPreconfiguredvSphereAlarmsViewEventsYoucanvieweventsassociatedwithasingleobjectorviewallvSphereevents.
Theeventslistforaselectedinventoryobjectincludeseventsassociatedwithchildobjects.
vSpherekeepsinformationabouttasksandevents.
Itissettoadefaultperiodof30daysanditisconfigurable.
Procedure1SelectaninventoryobjectinthevSphereWebClient.
2ClicktheMonitortab,andclickEvents.
3Toseedetails,selectanevent.
4(Optional)Tofilterthelist,usethefiltercontrolsabovethelist.
5(Optional)Clickacolumnheadingtosortthelist.
ViewSystemLogsvSphererecordseventsinthevCenterServerdatabase.
Systemlogentriesincludesuchinformationaswhogeneratedtheevent,whentheeventwascreated,andthetypeofevent.
PrerequisitesnRequiredprivilege:Global.
DiagnosticsProcedure1SelectavCenterServerinstanceinthevSphereWebClientnavigator.
vSphereMonitoringandPerformanceVMware,Inc.
1252ClickMonitor,andclickSystemLogs.
3Fromthedrop-downmenu,selectthelog.
4(Optional)ClickShowAllLinesorShowNext2000Linestoseeadditionallogentries.
ExportEventsDataYoucanexportallorpartoftheeventsdatastoredinthevCenterServerdatabase.
PrerequisitesRequiredRole:Read-onlyProcedure1SelectaninventoryobjectinthevSphereWebClient.
2ClicktheMonitortab,andclickEvents.
3ClicktheExporticon().
4IntheExportEventswindow,specifywhattypesofeventinformationyouwanttoexport.
5ClickGenerateCSVReport,andclickSave.
6Specifyafilenameandlocationandsavethefile.
StreamingEventstoaRemoteSyslogServerAfteryouenableremotestreaming,vCenterServerAppliancestartsstreamingandonlythenewlygeneratedeventsarestreamedtotheremotesyslogserver.
Allsyslogmessagesbeginwithaspecificprefix.
YoucandistinguishthevCenterServerApplianceeventsfromothersyslogmessagesbytheirEventprefix.
Thesyslogprotocollimitsthelengthofsyslogmessagesto1024characters.
Messagesthatarelongerthan1024characterssplitintomultiplesyslogmessages.
Inthesyslogserver,eventshavethefollowingformat::Event[eventId][partInfo][createdTime][eventType][severity][user][target][chainId][desc]ItemDescriptionsyslog-prefixDisplaysthesyslogprefix.
Theisdeterminedbytheremotesyslogserverconfiguration.
eventIdDisplaystheuniqueIDoftheeventmessage.
ThedefaultvalueisEvent.
partInfoDisplayswhetherthemessageissplitintoparts.
createdTimeDisplaysthetimewhentheeventwasgenerated.
eventTypeDisplaystheeventtype.
severityDisplayswhethertheeventisapieceinformation,awarning,oranerror.
vSphereMonitoringandPerformanceVMware,Inc.
126ItemDescriptionuserDisplaysthenameoftheuserwhogeneratedtheevent.
targetDisplaystheobjecttheeventrefersto.
chainIdDisplaysinformationabouttheparentorthegroupID.
descDisplaysthedescriptionoftheevent.
Example:SplitofLongEventMessageintoMultipleSyslogMessagesEventsthatarelongerthan1024characterssplitintomultiplesyslogmessagesinthefollowingmanner::Event[eventId][1-X][payload-part-1]:Event[eventId][2-X][payload-part-2].
.
.
:Event[eventId][X-X][payload-part-X]TheXstandsforthenumberoftheeventmessageparts.
RedirectvCenterServerApplianceLogFilestoAnotherMachineYoucanredirectthevCenterServerAppliancelogfilestoanothermachine,forexample,ifyouwanttopreservestoragespaceonthevCenterServerAppliance.
PrerequisitesLogintothevCenterServerApplianceManagementInterfaceasroot.
Procedure1InthevCenterServerApplianceManagementInterface,selectSyslogConfiguration.
2ClickEdit.
3FromtheCommonLogLeveldrop-downmenu,selectthelogfilestoredirect.
OptionDescription*Alllogfilesareredirectedtotheremotemachine.
infoOnlyinformationallogfilesareredirectedtotheremotemachine.
noticeOnlynoticesareredirectedtotheremotemachine.
Noticeindicatesnormalbutsignificantcondition.
warnOnlywarningsareredirectedtotheremotemachine.
errorOnlyerrormessagesareredirectedtotheremotemachine.
critOnlycriticallogfilesareredirectedtotheremotemachine.
alertOnlyalertsareredirectedtotheremotemachine.
Alertindicatesthatactionmustbetakenimmediately.
emergOnlyemergencylogfilesareredirectedtotheremotemachine.
Emergencyindicatesthatthesystemstoppedrespondingandcannotbeused.
vSphereMonitoringandPerformanceVMware,Inc.
1274IntheRemoteSyslogHosttextbox,entertheFQDNorIPaddressofthemachineonwhichyouwanttoexportthelogfiles.
5IntheRemoteSyslogPorttextbox,entertheportnumbertouseforcommunicationwiththemachineonwhichyouwanttoexportthelogfiles.
6FromtheRemoteSyslogProtocoldrop-downmenu,selecttheprotocoltouse.
OptionDescriptionTCPTransmissionControlProtocolUDPUserDatagramProtocolTLSTransportLayerSecurityRELPReliableEventLoggingProtocol7ClickOK.
ThenewconfigurationsettingsareshownintheRemoteSyslogConfigurationpane.
8(Optional)Tostopredirectinglogfilestoanothermachine,clickReset.
ConfigureStreamingofEventstoaRemoteSyslogServerYoucanalsoconfigurewritingofeventstothevCenterServerAppliancestreamingfacility.
StreamingeventsissupportedonlyforthevCenterServerAppliance.
Thestreamingofeventstoaremotesyslogserverisdisabledbydefault.
YoucanenableandconfigurethestreamingofvCenterServereventstoaremotesyslogserverfromthevCenterServerApplianceManagementInterface.
Procedure1InthevSphereClient,navigatetothevCenterServerinstance.
2SelecttheConfiguretab.
3UnderSettings,SelectAdvancedSettings.
4ClickEdit.
5IntheFiltertextbox,typevpxd.
event,andpressEnter.
6Enableordisablethevpxd.
event.
syslogoption.
Thedefaultvalueforthesettingisenabled.
RetentionofEventsinthevCenterServerDatabaseYoucanconfigurevCenterServertoretaineventsinthedatabaseforalimitedperiod.
Discardingeventsperiodicallyensuresoptimalperformanceofthedatabase.
InnewinstallationsofvCenterServer6.
5,theeventcleanupoptionisenabledbydefaultandthedefaultnumberofdaystoretaineventmessagesinthedatabaseis30.
Youcanchangethisvaluetothenumberofdaysthatyouwanttoretaintheeventmessagesinthedatabase.
vSphereMonitoringandPerformanceVMware,Inc.
128IfyouareupgradingormigratingfromvCenterServer6.
5orearlier,andyouhadtheeventcleanupoptionenabled,yoursettingtoretaineventsispreservedaftertheupgradeormigrationtovCenterServerAppliance6.
5.
Aftertheretentionperiodends,theeventsaredeletedfromthedatabase.
However,theremightbelatencyinthedeletionoftheeventsthatareolderthantheconfiguredretentionsetting.
ConfigureDatabaseSettingsYoucanconfigurethemaximumnumberofdatabaseconnectionsthatcanoccursimultaneously.
TolimitthegrowthofthevCenterServerdatabaseandsavestoragespace,youcanconfigurethedatabasetodiscardinformationabouttasksoreventsperiodically.
NoteDonotusethedatabaseretentionoptionsifyouwanttokeepacompletehistoryoftasksandeventsforyourvCenterServer.
Procedure1InthevSphereClient,navigatetothevCenterServerinstance.
2SelecttheConfiguretab.
3UnderSettings,selectGeneral.
4ClickEdit.
5SelectDatabase.
6InMaximumconnections,typeanumber.
IncreasethisnumberifyourvCenterServersystemperformsmanyoperationsfrequentlyandperformanceiscritical.
Decreasethisnumberifthedatabaseissharedandconnectionstothedatabasearecostly.
Donotchangethisvalueunlessoneoftheseissuespertainstoyoursystem.
7SelecttheEnabledcheckboxnexttoTaskcleanuptohavevCenterServerperiodicallydeletetheretainedtasks.
8(Optional)InTasksretainedfor,typeavalueindays.
InformationabouttasksthatareperformedonthisvCenterServersystemisdiscardedafterthespecifiednumberofdays.
9SelecttheEnabledcheckboxnexttoEventcleanuptohavevCenterServerperiodicallycleanuptheretainedevents.
10(Optional)InEventsretention,typeavalueindays.
InformationabouteventsforthisvCenterServersystemisdiscardedafterthespecifiednumberofdays.
11ClickOK.
vSphereMonitoringandPerformanceVMware,Inc.
129ViewTriggeredAlarmsandAlarmDefinitionsTriggeredalarmsarevisibleinseverallocationsthroughoutthevSphereWebClient.
ProcedurenToviewalltriggeredalarms,clickAllintheAlarmssidebarpanel.
NoteThelistofalarmsinthesidebarrefreshesevery120seconds.
Forinformationaboutchangingthedefaultrefreshperiod,seetheVMwareknowledgebasearticleathttp://kb.
vmware.
com/kb/2020290.
nToviewonlynewlytriggeredalarms,clickNewintheAlarmssidebarpanel.
Thesidebarpaneldisplaysthelatest30mostcriticalalarms.
nToviewacknowledgedalarms,clickAcknowledgedintheAlarmssidebarpanel.
nToviewalarmstriggeredonaselectedinventoryobject,clicktheMonitortab,clickIssues,andclickTriggeredAlarms.
nToviewalistofavailablealarmdefinitionsforaselectedinventoryobject,clicktheMonitortab,clickIssues,andclickAlarmDefinitions.
LiveRefreshofRecentTasksandAlarmsYoucanconfigurethevSphereWebClienttoliverefreshtherecenttasksandthealarmsthatresultfromoperationsthatotherusersperforminyourenvironment.
BydesignthevSphereWebClientdisplaystasksinitiatedbyotherusersandtheresultingalarmsfromthesetasksonlywhenyoumanuallyrefreshthevSphereWebClient.
Ifyouwanttoseethetasksfromotherusers,ormonitoralarmsresultingfromotherusersactions,performthefollowingprocedure.
Procedure1OnthecomputerwherethevSphereWebClientisinstalled,locatethewebclient.
propertiesfile.
ThelocationofthisfiledependsontheoperatingsystemonwhichthevSphereWebClientisinstalled.
OperatingSystemFilepathWindowsC:\ProgramData\VMware\vCenterServer\cfg\vsphere-client\webclient.
propertiesvCenterServerAppliance/etc/vmware/vsphere-client/webclient.
properties2Openthewebclient.
propertiesfile,addthefollowingconfigurationline,andsaveit.
live.
updates.
enabled=trueLiverefreshofrecenttasksandalarmsisenabledforthevSphereWebClient.
vSphereMonitoringandPerformanceVMware,Inc.
1303LogoutfromthevSphereWebClient.
4Usehttps://hostname:9443/vsphere-client/tologintothevSphereWebClient.
hostnamestandsforthenameortheIPaddressofthehostwherevCenterServersystemruns.
IfyoulogintothevSphereWebClientbyusingthehttps://hostname/vsphere-client/,youwillseenorecenttasksoralarmsundertherespectiveRecentTasksorAlarmsportletsinthevSphereWebClient.
InanenvironmentwithmultiplevCenterServersystemsthatareconnectedtothesamevCenterServerSingle-SignOndomain,thevSphereWebClientthatyouconfiguredforliverefreshdisplaysrecenttasksandalarmsforallthevCenterServerinstancesinthedomain.
However,ifyoulogintoadifferentvSphereWebClient,youwillnotseeliverefreshforrecenttasksoralarmsforanyofthevCenterServersystemsinthevCenterServerSingle-SignOndomain.
Inthisexample,youhavetwovCenterServerinstances(AandB)connectedtothesamevCenterServerSingle-SignOndomain.
WitheachofthevCenterServerinstances,youinstalledavSphereWebClientinstance.
YoulogintovSphereWebClientAbyusinghttps://hostnameA/vsphere-client/.
YoulogintovSphereWebClientBbyusinghttps://hostnameB/vsphere-client/.
YouenableliverefreshofrecenttasksandalarmsonvSphereWebClientA,andlogoutfromit.
Youcanobservethefollowingresults:nYoulogintovSphereWebClientAfromhttps://hostnameA/vsphere-client/.
YoudonotseeanyrecenttasksoralarmsintherespectiveRecentTasksorAlarmsportlets.
nYoulogintovSphereWebClientAfromhttps://hostnameA:9443/vsphere-client/.
YoucanseeliverefreshofrecenttasksandalarmsforalltheuserscurrentlyperformingoperationsonbothvCenterServersystemsinthevCenterServerSingle-SignOndomain.
nYoulogintovSphereWebClientBfromhttps://hostnameB/vsphere-client/.
YoucanseetherecenttasksandalarmsofonlyoperationsthatyouperformonvCenterServersystemAorvCenterServersystemB.
OnlyafteryoumanuallyrefreshthevSphereWebClientByouseethelatestrecenttasksandalarmsthatresultfromoperationsperformedbyotherusersonvCenterServersystemAandvCenterServersystemB.
SetanAlarminthevSphereWebClientYoucanmonitorinventoryobjectsbysettingalarmsonthem.
Settinganalarminvolvesselectingthetypeofinventoryobjecttomonitor,definingwhenthealarmtriggers,forhowlongthealarmison,anddefiningactionsthatareperformedasaresultofthealarmbeingtriggered.
Youdefinealarmsinthealarmdefinitionwizard.
YouaccessthealarmdefinitionwizardfromtheMonitortab,underIssues.
Whenyoucreateanalarm,youselectthealarmtype,thetypeofinventoryobject,andthetypeofactivitythattriggerthealarm.
Anactivitythattriggersanalarmcanbeanyofthefollowing:nAspecificconditionorastateoftheinventoryobject.
vSphereMonitoringandPerformanceVMware,Inc.
131nAneventthatoccursontheobject.
Dependingonthetypeofactivitythatyouchoosetomonitor,theoptionsontheTriggerspagethatfollowtheGeneralpageinthealarmdefinitionswizard,change.
Afterdefiningthetriggers,definetheactionsthatthetriggercauses.
PrerequisitesLogintothevSphereWebClient.
RequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmnCreateorEditAlarmsTomonitoryourenvironment,youcancreateandmodifyalarmdefinitionsinthevSphereWebClient.
Youcanviewalarmsettingsfromanyobject,butyoucanmodifysettingsonlythroughtheobjectonwhichthealarmisdefined.
nSpecifyAlarmName,Description,andTypeGeneralsettingsofanalarmdefinitionincludealarmname,description,andtype.
Youcanalsoenableanddisablethealarmfromthegeneralsettingspage.
nSpecifyHowaCondition-BasedorState-BasedAlarmisTriggeredYoucanselectandconfiguretheevents,states,orconditionsthattriggerthealarmfromtheTriggerspageofthealarmdefinitionwizard.
nSpecifyHowanEvent-BasedAlarmisTriggeredYoucanspecifytheevents,states,orconditionsthattriggerthealarmontheTriggerspageofthealarmdefinitionwizard.
OntheGeneralpageofthealarmdefinitionwizard,ifyouselectedatriggerforanalarmtobeaspecificeventoccurringontheinventoryobject,performthefollowingprocedure.
nSpecifyAlarmActionsYoucandefineactionsthatthesystemperformswhenthealarmistriggeredorchangesstatus.
Youcanenableanddisablealarmsandalarmactionsindependentlyofeachother.
CreateorEditAlarmsTomonitoryourenvironment,youcancreateandmodifyalarmdefinitionsinthevSphereWebClient.
Youcanviewalarmsettingsfromanyobject,butyoucanmodifysettingsonlythroughtheobjectonwhichthealarmisdefined.
YoucanaccessalarmdefinitionsintheMonitortab.
YoucancreatealarmdefinitionsfromtheMonitortaborfromtheobjectpop-upmenu.
PrerequisitesRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmvSphereMonitoringandPerformanceVMware,Inc.
132ProcedurenCreateoreditalarmsintheMonitortab.
aSelectaninventoryobject,clicktheMonitortab,andclickIssues.
bClickAlarmDefinitions.
cRight-clickthelistofalarms,andselecttoaddoreditanalarm.
YoucannoteditvCenterServerpredefinedalarms.
nAddanalarmtoanobjectintheobjectnavigator.
aRight-clickaninventoryobjectandselectAlarms>NewAlarmDefinition.
SpecifyAlarmName,Description,andTypeGeneralsettingsofanalarmdefinitionincludealarmname,description,andtype.
Youcanalsoenableanddisablethealarmfromthegeneralsettingspage.
PrerequisitesnRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmnInthealarmdefinitionwizard,clicktheGeneralpage.
SeeCreateorEditAlarms.
Procedure1Typeanameanddescription.
2Selectthetypeofinventoryobjectthatthisalarmmonitors.
3Selectthetypeofactivitythatthisalarmmonitors.
NoteDependingonthetypeofactivitythatyouchoosetomonitor,theoptionsontheTriggerspagethatfollowtheGeneralpageinthealarmdefinitionswizard,change.
4ClicktheEnablethisalarmcheck-boxifyouwanttoenablethealarmimmediatelyaftercreation.
5ClickNext.
WhattodonextSetalarmtriggers.
SpecifyHowaCondition-BasedorState-BasedAlarmisTriggeredYoucanselectandconfiguretheevents,states,orconditionsthattriggerthealarmfromtheTriggerspageofthealarmdefinitionwizard.
TheoptionthatyouchooseontheGeneralpageofthealarmdefinitionwizarddeterminetheoptionsavailableontheTriggerspage.
Analarmdefinitionmustcontainatleastonetriggerbeforeyoucansaveit.
vSphereMonitoringandPerformanceVMware,Inc.
133Forinformationaboutdefiningtriggersforanevent-basedalarm,seeSpecifyHowanEvent-BasedAlarmisTriggered.
Youcanaddmultipletriggersandchoosewhethertotriggerthealarmwhenoneorallofthembecomeactive.
PrerequisitesnRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmProcedure1Selectthetriggerthatyouwanttochange,orclicktheAddicontoaddatrigger.
2ClickintheTriggercolumn,andselectanoptionfromthedrop-downmenu.
3ClickintheOperatorcolumn,andselectanoptionfromthedrop-downmenu.
4ClickintheWarningConditioncolumn,andselectanoptionfromthedrop-downmenutosetthethresholdfortriggeringawarning.
5ClickintheCriticalConditioncolumn,andselectanoptionfromthedrop-downmenu.
6ClickNext.
Youselectedandconfiguredalarmtriggers.
WhattodonextConfigureactionsthatfollowafterthealarmistriggered.
SpecifyHowanEvent-BasedAlarmisTriggeredYoucanspecifytheevents,states,orconditionsthattriggerthealarmontheTriggerspageofthealarmdefinitionwizard.
OntheGeneralpageofthealarmdefinitionwizard,ifyouselectedatriggerforanalarmtobeaspecificeventoccurringontheinventoryobject,performthefollowingprocedure.
TheoptionthatyouchooseontheGeneralpageofthealarmdefinitionwizarddeterminetheoptionsavailableontheTriggerspage.
Analarmdefinitionmustcontainatleastonetriggerbeforeyoucansaveit.
Forinformationaboutdefiningtriggersforacondition-basedalarm,seeSpecifyHowaCondition-BasedorState-BasedAlarmisTriggered.
Youcanaddmultipletriggersandchoosewhethertotriggerthealarmwhenoneorallofthembecomeactive.
PrerequisitesnRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmProcedure1Selectthetriggerthatyouwanttochange,orclicktheAddicontoaddatrigger.
2ClickintheEventcolumn,andselectanoptionfromthedrop-downmenu.
vSphereMonitoringandPerformanceVMware,Inc.
1343ClickintheStatuscolumn,andselectanoptionfromthedrop-downmenu.
4(Optional)Configureadditionalconditionstobemetbeforethealarmtriggers.
aClicktheAddicontoaddanargument.
bClickintheArgumentcolumn,andselectanoptionfromthedrop-downmenu.
cClickintheOperatorcolumn,andselectanoptionfromthedrop-downmenu.
dClickintheValuecolumn,andenteravalueintothetextbox.
Youcanaddmorethanoneargument.
5ClickNext.
Youselectedandconfiguredalarmtriggers.
WhattodonextConfigureactionsthatfollowafterthealarmistriggered.
SpecifyAlarmActionsYoucandefineactionsthatthesystemperformswhenthealarmistriggeredorchangesstatus.
Youcanenableanddisablealarmsandalarmactionsindependentlyofeachother.
vCenterServercanperformalarmactionsinresponsetotriggeredalarms.
PrerequisitesVerifythatyouhavenavigatedtotheActionspageofthealarmdefinitionwizard.
SeeCreateorEditAlarms.
RequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmnSendEmailasanAlarmActionYoucanusetheSMTPagentincludedwithvCenterServertosendemailnotificationswhenalarmsaretriggered.
nSendSNMPTrapsasanAlarmTheSNMPagentincludedwithvCenterServercanbeusedtosendtrapswhenalarmsaretriggeredonavCenterServerinstance.
ThedefaulthardwarehealthalarmssendSNMPtrapsbydefault.
nRunaScriptoraCommandasanAlarmActionYoucanconfigureanalarmtorunascriptoracommandinthevSphereWebClientwhenthealarmistriggered.
Procedure1Selecttheactionthatyouwanttochange,orclicktheAddicontoaddone.
2ClickintheActioncolumn,andselectanoptionfromthedrop-downmenu.
vSphereMonitoringandPerformanceVMware,Inc.
1353ClickintheConfigurationcolumn,andenterconfigurationinformationforactionsthatrequireadditionalinformation:OptionActionSendanotificationemailTypeemailaddresses,separatedbyacomma.
MigrateVMCompletethevirtualmachinemigrationwizard.
RunacommandTakeoneofthefollowingactionsandpressEnter:nIfthecommandisa.
exefile,enterthefullpathnameofthecommandandincludeanyparameters.
Forexample,torunthecmd.
execommandintheC:\toolsdirectory,withthealarmNameandtargetNameparameters,type:c:\tools\cmd.
exealarmNametargetNamenIfthecommandisa.
batfile,enterthefullpathnameofthecommandasanargumenttothec:\windows\system32\cmd.
execommand.
Includeanyparameters.
Forexample,torunthecmd.
batcommandintheC:\toolsdirectory,withthealarmNameandtargetNameparameters,type:c:\windows\system32\cmd.
exe/cc:\tools\cmd.
batalarmNametargetNameFor.
batfiles,thecommandanditsparametersmustbeformattedintoonestring.
4(Optional)Foreachalarmstatuschangecolumn,selectwhetherthealarmshouldbetriggeredwhenthealarmstatuschanges.
Someactionsdonotsupportre-triggeringwhenalarmstatuschange.
5Forrepeatactions,selectthetimeintervalfortherepetition.
6ClickFinish.
Youconfiguredthealarmgeneralsettings,triggers,andactions.
Thealarmmonitorstheobjectonwhichitisdefined,aswellaschildobjects.
SendEmailasanAlarmActionYoucanusetheSMTPagentincludedwithvCenterServertosendemailnotificationswhenalarmsaretriggered.
PrerequisitesEnsurethatthevCenterServerSMTPagentisproperlyconfiguredtosendemailnotifications.
RequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmProcedure1OntheActionspageofthealarmdefinitionwizard,clickAddtoaddanaction.
2IntheActionscolumn,selectSendanotificationemailfromthedrop-downmenu.
3IntheConfigurationcolumn,enterrecipientaddresses.
Usecommastoseparatemultipleaddresses.
4(Optional)Configurealarmtransitionsandfrequency.
vSphereMonitoringandPerformanceVMware,Inc.
136vCenterServerEmailAgentNotificationsThefollowingtablesdescribetheinformationthatisincludedinAlarm-basedandEvent-basedemailnotifications.
Thefirsttabledescribedtheinformationincludedinallemailnotifications.
ThesecondtabledescribesadditionalinformationthatisincludedinEvent-basednotifications.
Table51.
BasicSNMPEmailNotificationDetailsEmailEntryDescriptionTargetObjectforwhichthealarmwastriggered.
OldStatusPreviousalarmstatus.
Appliesonlytostatetriggers.
NewStatusCurrentalarmstatus.
Appliesonlytostatetriggers.
MetricValueThresholdvaluethattriggeredthealarm.
Appliesonlytometricconditiontriggers.
AlarmDefinitionAlarmdefinitioninvCenterServer,includingthealarmnameandstatus.
DescriptionLocalizedstringcontainingasummaryofthealarm.
Forexample:AlarmNew_Alarmonhost1.
vmware.
comchangedfromGraytoRed.
Table52.
AdditionalNotificationDetailsforAlarmsTriggeredbyEventsDetailDescriptionEventDetailsVMODLeventtypename.
SummaryAlarmsummary,includingtheeventtype,alarmname,andtargetobject.
DateTimeanddatethealarmwastriggered.
UserNamePersonwhoinitiatedtheactionthatcausedtheeventtobecreated.
EventscausedbyaninternalsystemactivitydonothaveaUserNamevalue.
HostHostonwhichthealarmwastriggered.
ResourcePoolResourcepoolonwhichthealarmwastriggered.
DatacenterDatacenteronwhichthealarmwastriggered.
ArgumentsArgumentspassedwiththealarmandtheirvalues.
SendSNMPTrapsasanAlarmTheSNMPagentincludedwithvCenterServercanbeusedtosendtrapswhenalarmsaretriggeredonavCenterServerinstance.
ThedefaulthardwarehealthalarmssendSNMPtrapsbydefault.
PrerequisitesEnsurethatvCenterServerSNMPagentsandESXiSNMPagentsareproperlyconfigured.
EnsurethatSNMPtrapreceiveragentsareproperlyconfigured.
RequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmProcedure1OntheActionspageofthealarmdefinitionwizard,clickAdd.
2IntheActionscolumn,selectSendanotificationtrapfromthedrop-downmenu.
vSphereMonitoringandPerformanceVMware,Inc.
1373(Optional)Configurealarmtransitionsandfrequency.
4ClickFinishtosavethealarmsettings.
SNMPTrapNotificationsThefollowingtabledescribestheinformationthatisincludedinvCenterServerandESXitrapnotifications.
Table53.
SNMPTrapNotificationDetailsTrapEntryDescriptionTypeThestatevCenterServerismonitoringforthealarm.
OptionsincludeHostProcessor(orCPU)usage,HostMemoryusage,HostState,VirtualMachineProcessor(orCPU)usage,VirtualMachineMemoryusage,VirtualMachineState,VirtualMachineHeartbeat.
NameThenameofthehostorvirtualmachinethattriggersthealarm.
OldStatusThealarmstatusbeforethealarmwastriggered.
NewStatusThealarmstatuswhenthealarmistriggered.
ObjectValueTheobjectvaluewhenthealarmistriggered.
RunaScriptoraCommandasanAlarmActionYoucanconfigureanalarmtorunascriptoracommandinthevSphereWebClientwhenthealarmistriggered.
Usethealarmenvironmentvariablestodefinecomplexscriptsandattachthemtomultiplealarmsorinventoryobjects.
Forexample,youcanwriteascriptthatentersthefollowingtroubleticketinformationintoanexternalsystemwhenanalarmistriggered:nAlarmnamenObjectonwhichthealarmwastriggerednEventthattriggeredthealarmnAlarmtriggervaluesWhenyouwritethescript,includethefollowingenvironmentvariablesinthescript:nVMWARE_ALARM_NAMEnVMWARE_ALARM_TARGET_NAMEnVMWARE_ALARM_EVENTDESCRIPTIONnVMWARE_ALARM_ALARMVALUEYoucanattachthescripttoanyalarmonanyobjectwithoutchangingthescript.
ThescriptrunsonthevCenterServermachine,anditrunsevenifyouclosethevSphereWebClient.
PrerequisitesRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmvSphereMonitoringandPerformanceVMware,Inc.
138Procedure1OntheActionstabofthealarmdefinitionswizard,clickAddtoaddanaction.
2IntheActionscolumn,selectRunacommandfromthedrop-downmenu.
3IntheConfigurationcolumn,typescriptorcommandinformation:Forthistypeofcommand.
.
.
Enterthis.
.
.
EXEexecutablefilesFullpathnameofthecommand.
Forexample,torunthecmd.
execommandintheC:\toolsdirectory,type:c:\tools\cmd.
exe.
BATbatchfileFullpathnameofthecommandasanargumenttothec:\windows\system32\cmd.
execommand.
Forexample,torunthecmd.
batcommandintheC:\toolsdirectory,type:c:\windows\system32\cmd.
exe/cc:\tools\cmd.
bat.
NoteThecommandanditsparametersmustbeformattedintoonestring.
Ifyourscriptdoesnotmakeuseofthealarmenvironmentvariables,includeanynecessaryparametersintheconfigurationfield.
Encloseparametersincurlybrackets.
Forexample:c:\tools\cmd.
exe{alarmName}{targetName}c:\windows\system32\cmd.
exe/cc:\tools\cmd.
bat{alarmName}{targetName}Thescriptcanrunonanyplatform.
Youmustprovidethepathtothescriptandargumentkeys.
Forexample:/var/myscripts/myAlarmActionScript{alarmName}{targetName}4(Optional)Configurealarmtransitionsandfrequency.
5ClickFinishtosavethealarmsettings.
AlarmEnvironmentVariablesforScriptsTosimplifyscriptconfigurationforalarmactions,VMwareprovidesenvironmentvariablesforVMwarealarms.
Usethevariablestodefinemorecomplexscriptsandattachthemtomultiplealarmsorinventoryobjectssothatthealarmactionoccurswhenthealarmtriggers.
Table54.
AlarmEnvironmentVariablesVariableNameVariableDescriptionSupportedAlarmTypeVMWARE_ALARM_NAMEThenameofthetriggeredalarm.
Condition,State,EventVMWARE_ALARM_IDTheMOIDofthetriggeredalarm.
Condition,State,EventVMWARE_ALARM_TARGET_NAMEThenameoftheentityonwhichthealarmtriggered.
Condition,State,EventVMWARE_ALARM_TARGET_IDTheMOIDoftheentityonwhichthealarmtriggered.
Condition,State,EventvSphereMonitoringandPerformanceVMware,Inc.
139Table54.
AlarmEnvironmentVariables(Continued)VariableNameVariableDescriptionSupportedAlarmTypeVMWARE_ALARM_OLDSTATUSTheoldstatusofthealarm.
Condition,State,EventVMWARE_ALARM_NEWSTATUSThenewstatusofthealarm.
Condition,State,EventVMWARE_ALARM_TRIGGERINGSUMMARYAmultilinesummaryofthealarm.
Condition,State,EventVMWARE_ALARM_DECLARINGSUMMARYAsingle-linedeclarationofthealarmexpression.
Condition,State,EventVMWARE_ALARM_ALARMVALUEThevaluethattriggeredthealarm.
Condition,StateVMWARE_ALARM_EVENTDESCRIPTIONAdescriptionofthealarmstatuschangeevent.
Condition,StateVMWARE_ALARM_EVENTDESCRIPTIONAdescriptionoftheeventthattriggeredthealarm.
EventVMWARE_ALARM_EVENT_USERNAMETheusernameassociatedwiththeevent.
EventVMWARE_ALARM_EVENT_DATACENTERThenameofthedatacenterinwhichtheeventoccurred.
EventVMWARE_ALARM_EVENT_COMPUTERESOURCEThenameoftheclusterorresourcepoolinwhichtheeventoccurred.
EventVMWARE_ALARM_EVENT_HOSTThenameofthehostonwhichtheeventoccurred.
EventVMWARE_ALARM_EVENT_VMThenameofthevirtualmachineonwhichtheeventoccurred.
EventVMWARE_ALARM_EVENT_NETWORKThenameofthenetworkonwhichtheeventoccurred.
EventVMWARE_ALARM_EVENT_DATASTOREThenameofthedatastoreonwhichtheeventoccurred.
EventVMWARE_ALARM_EVENT_DVSThenameofthevSphereDistributedSwitchonwhichtheeventoccurred.
EventAlarmCommand-LineParametersVMwareprovidescommand-lineparametersthatfunctionasasubstituteforthedefaultalarmenvironmentvariables.
Youcanusetheseparameterswhenrunningascriptasanalarmactionforacondition,state,oreventalarm.
Thecommand-lineparametersenableyoutopassalarminformationwithouthavingtochangeanalarmscript.
Forexample,youcanusetheseparameterswhenyouhaveanexternalprogramforwhichyoudonothavethesource.
Youcanpassinthenecessarydatabyusingthesubstitutionparameters,whichtakeprecedenceovertheenvironmentvariables.
YoupasstheparametersthroughtheConfigurationdialogboxinthealarmdefinitionwizardoronacommandline.
vSphereMonitoringandPerformanceVMware,Inc.
140Table55.
Command-LineParametersforAlarmActionScriptsVariableDescription{eventDescription}ThetextofthealarmStatusChangeevent.
The{eventDescription}variableissupportedonlyforConditionandStatealarms.
{targetName}Thenameoftheentityonwhichthealarmistriggered.
{alarmName}Thenameofthealarmthatistriggered.
{triggeringSummary}Asummaryofthealarmtriggervalues.
{declaringSummary}Asummaryofthealarmdeclarationvalues.
{oldStatus}Thealarmstatusbeforethealarmistriggered.
{newStatus}Thealarmstatusafterthealarmistriggered.
{target}Theinventoryobjectonwhichthealarmisset.
SetanAlarminthevSphereClientInthevSphereClientyoudefinealarmsinthealarmdefinitionwizard.
YouaccessthealarmdefinitionwizardfromtheConfiguretab,underMore.
CreateanAlarmTomonitoryourenvironment,youcancreatealarmdefinitionsinthevSphereClient.
YoucanaccessalarmdefinitionsintheConfiguretab.
CreatealarmsintheConfiguretab.
PrerequisitesRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmProcedure1Selectaninventoryobject,clicktheConfiguretab,andclickMore.
2ClickAlarmDefinitions.
3ClickAdd.
YoucannoteditalarmsinthevSphereClient.
4Selectanalarm,clickEnabletoenableanalarm.
5Selectanalarm,clickDisabletodisableanalarm.
6Selectanalarm,clickDeletetodeleteanalarm.
SpecifyAlarmName,Description,andTargetSettingsofanalarmdefinitionincludealarmname,description,andtarget.
vSphereMonitoringandPerformanceVMware,Inc.
141PrerequisitesnRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmnIntheAlarmsDefinitionspage,clickAdd.
SeeCreateanAlarmProcedure1Typeanameanddescription.
2SelectthetypeofinventoryobjectthatthisalarmmonitorsfromtheTargettypedrop-downmenuDependingonthetypeoftargetthatyouchoosetomonitor,thesummarythatfollowstheTarget,change.
3ClickNext.
NoteDependingonthetypeofactivitythatyouchoosetomonitor,theoptionsontheAlarmRulepage,change.
Setalarmrule.
SpecifyHowaCondition-BasedorState-BasedAlarmisTriggeredYoucanselectandconfiguretheevents,states,orconditionsthattriggerthealarmfromtheAlarmRulepageintheNewAlarmDefinitionwizard.
Analarmdefinitionmustcontainatleastonetriggerbeforeyoucansaveit.
PrerequisitesRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmProcedure1Selectatriggerfromthedrop-downmenu.
Thecombinedeventtriggersaredisplayed.
Youcansettheconditionbasedonasingleeventonly.
Youmustcreatemultiplealarmsformultipleevents.
2ClickAddArgumenttoselectanargumentfromthedrop-downmenu.
ItsupportsALLbasedexpression,optiontoselectANYisnotavailable.
Youmustcreateaseparatealarmdefinitionforeachtrigger.
TheORoperatorisnotsupportedinthevSphereClient.
However,youcancombinemorethanoneconditiontriggerwithANDoperator.
3Selectanoperatorfromthedrop-downmenu.
4Selectanoptionfromthedrop-downmenutosetthethresholdfortriggeringanalarm5Selectseverityofthealarmfromthedrop-downmenu.
YoucansettheconditiontoeitherWarningorCritical,butnotforboth.
Youmustcreateaseparatealarmdefinitionforwarningandcriticalstatus.
vSphereMonitoringandPerformanceVMware,Inc.
1426SendemailnotificationsaTosendemailnotificationswhenalarmsaretriggered,enableSendemailnotifications.
bIntheEmailto,enterrecipientaddresses.
Usecommastoseparatemultipleaddresses.
7TosendtrapswhenalarmsaretriggeredonavCenterServerinstance,enableSendSNMPtraps.
8RunscriptsaTorunscriptswhenalarmsaretriggered,enableRunscript.
bInRunthisscriptcolumn,typescriptorcommandinformation:OptionActionSendanotificationemailTypeemailaddresses,separatedbyacomma.
MigrateVMCompletethevirtualmachinemigrationwizard.
RunacommandTakeoneofthefollowingactionsandpressEnter:nIfthecommandisa.
exefile,enterthefullpathnameofthecommandandincludeanyparameters.
Forexample,torunthecmd.
execommandintheC:\toolsdirectory,withthealarmNameandtargetNameparameters,type:c:\tools\cmd.
exealarmNametargetNamenIfthecommandisa.
batfile,enterthefullpathnameofthecommandasanargumenttothec:\windows\system32\cmd.
execommand.
Includeanyparameters.
Forexample,torunthecmd.
batcommandintheC:\toolsdirectory,withthealarmNameandtargetNameparameters,type:c:\windows\system32\cmd.
exe/cc:\tools\cmd.
batalarmNametargetNameFor.
batfiles,thecommandanditsparametersmustbeformattedintoonestring.
Ifyourscriptdoesnotmakeuseofthealarmenvironmentvariables,includeanynecessaryparametersintheconfigurationfield.
Encloseparametersincurlybrackets.
Forexample:c:\tools\cmd.
exe{alarmName}{targetName}c:\windows\system32\cmd.
exe/cc:\tools\cmd.
bat{alarmName}{targetName}Thescriptcanrunonanyplatform.
Youmustprovidethepathtothescriptandargumentkeys.
Forexample:/var/myscripts/myAlarmActionScript{alarmName}{targetName}9(Optional)Configurealarmtransitionsandfrequency.
WhattodonextClickNexttoreviewthealarmdetails.
ReviewandEnableAlarmYoucanreviewandenablethealarminthevSphereClientvSphereMonitoringandPerformanceVMware,Inc.
143Aftersettingthealarmrule,reviewthealarmbeforeenablingthealarm.
PrerequisitesRequiredPrivilege:Alarms.
CreatealarmorAlarms.
ModifyalarmProcedure1ReviewtheAlarmName,Description,Targets,andAlarmRule.
2SelectEnablethisalarmtoenablethealarm.
Thealarmisenabled.
AcknowledgeTriggeredAlarmsAfteryouacknowledgeanalarminthevSphereClient,itsalarmactionsarediscontinued.
Alarmsarenotcleared,orresetwhenacknowledged.
Acknowledginganalarmletsotherusersknowthatyouaretakingownershipoftheissue.
Forexample,ahosthasanalarmsettomonitorCPUusage.
Itsendsanemailtoanadministratorwhenthealarmistriggered.
ThehostCPUusagespikes,triggeringthealarmwhichsendsanemailtothehost'sadministrator.
Theadministratoracknowledgesthetriggeredalarmtoletotheradministratorsknowtheproblemisbeingaddressed,andtopreventthealarmfromsendingmoreemailmessages.
Thealarm,however,isstillvisibleinthesystem.
PrerequisitesRequiredprivilege:Alarm.
AlarmAcknowledgeProcedurenRight-clickthealarmintheAlarmssidebarpanelandselectAcknowledge.
nAcknowledgethealarmintheMonitortab.
aSelectaninventoryobjectintheobjectnavigator.
bClicktheMonitortab.
cClickIssuesandAlarms,andclickTriggeredAlarms.
dSelectanalarmandselectAcknowledge.
ResetTriggeredEventAlarmsAnalarmtriggeredbyaneventmightnotresettoanormalstateifvCenterServerdoesnotretrievetheeventthatidentifiesthenormalcondition.
Insuchcases,resetthealarmmanuallyinthevSphereClienttoreturnittoanormalstate.
PrerequisitesRequiredprivilege:Alarm.
SetAlarmStatusvSphereMonitoringandPerformanceVMware,Inc.
144ProcedurenRight-clickanalarmintheAlarmssidebarpaneandselectResettogreen.
nResettriggeredalarmsintheMonitortab.
aSelectaninventoryobject.
bClicktheMonitortab.
cClickIssuesandAlarms,andclickTriggeredAlarms.
dSelectthealarmsyouwanttoreset.
UseShift+left-clickorCtrl+left-clicktoselectmultiplealarmsissupportedinthevSphereWebClient.
eRight-clickanalarmandselectResettoGreen.
PreconfiguredvSphereAlarmsvCenterServerprovidesalistofdefaultalarms,whichmonitortheoperationsofvSphereinventoryobjects.
Youmustonlysetupactionsforthesealarms.
Somealarmsarestateless.
vCenterServerdoesnotkeepdataonstatelessalarms,doesnotcompute,ordisplaytheirstatus.
Statelessalarmscannotbeacknowledgedorreset.
Statelessalarmsareindicatedbyanasterisknexttotheirname.
Table56.
DefaultvSphereAlarmsAlarmNameDescriptionHostconnectionandpowerstateMonitorsthepowerstateofthehostandwhetherthehostisreachable.
HostCPUusageMonitorshostCPUusage.
HostmemoryusageMonitorshostmemoryusage.
VirtualmachineCPUusageMonitorsvirtualmachineCPUusage.
VirtualmachinememoryusageMonitorsvirtualmachinememoryusage.
DatastoreusageondiskMonitorsdatastorediskusage.
NoteThisalarmcontrolstheStatusvaluefordatastoresinvSphereWebClient.
Ifyoudisablethisalarm,thedatastorestatusisdisplayedasUnknown.
VirtualmachineCPUreadyMonitorsvirtualmachineCPUreadytime.
VirtualmachinetotaldisklatencyMonitorsvirtualmachinetotaldisklatency.
VirtualmachinediskcommandscanceledMonitorsthenumberofvirtualmachinediskcommandsthatarecanceled.
VirtualmachinediskresetMonitorsthenumberofvirtualmachinebusresets.
LicenseinventorymonitoringMonitorsthelicenseinventoryforcompliance.
LicenseuserthresholdmonitoringMonitorswhetherauser-definedlicensethresholdisexceeded.
vSphereMonitoringandPerformanceVMware,Inc.
145Table56.
DefaultvSphereAlarms(Continued)AlarmNameDescriptionLicensecapacitymonitoringMonitorswhetheralicensecapacityisexceeded.
ThehostlicenseeditionisnotcompatiblewiththevCenterServerlicenseeditionMonitorsthecompatibilityofthevCenterServerandhostlicenseeditions.
HostflashcapacityexceedsthelicensedlimitforvSANMonitorswhethertheflashdiskcapacityonthehostexceedsthelimitofthevSANlicense.
ExpiredvSANlicenseMonitorstheexpiryofthevSANlicenseandtheendoftheevaluationperiod.
Errorsoccurredonthedisk(s)ofavSANhostDefaultalarmthatmonitorswhetherthehostdisksinthevSANclusterhaveerrors.
TimedoutstartingSecondaryVM*Monitorswhetherstartingasecondaryvirtualmachinehastimedout.
NocompatiblehostforSecondaryVMMonitorstheavailabilityofcompatiblehostsonwhichasecondaryvirtualmachinecanbecreatedandrun.
VirtualmachineFaultTolerancestatechangedMonitorschangesintheFaultTolerancestateofavirtualmachine.
VirtualMachineFaultTolerancevLockStepintervalStatusChangedMonitorschangesintheFaultToleranceSecondaryvLockStepinterval.
HostprocessorstatusMonitorsthehostprocessors.
HostmemorystatusMonitorshostmemoryusage.
HosthardwarefanstatusMonitorshostfans.
HosthardwarevoltageMonitorshosthardwarevoltage.
HosthardwaretemperaturestatusMonitorsthetemperaturestatusofthehosthardware.
HosthardwarepowerstatusMonitorsthehostpowerstatus.
HosthardwaresystemboardstatusMonitorsthestatusofhostsystemboards.
HostbatterystatusMonitorsthebatterystatusofhosts.
StatusofotherhosthardwareobjectsMonitorsotherhosthardwareobjects.
HoststoragestatusMonitorshostconnectivitytostoragedevices.
HostIPMISystemEventLogstatusMonitorsthecapacityoftheIPMIsystemeventlog.
HostBaseboardManagementControllerstatusMonitorsthestatusoftheBaseboardManagementController.
Hosterror*Monitorshosterrorandwarningevents.
Virtualmachineerror*Monitorsvirtualmachineerrorandwarningevents.
Hostconnectionfailure*Monitorshostconnectionfailures.
UnmanagedworkloaddetectedonSIOC-enableddatastoreMonitorstheunmanagedI/OworkloadonaSIOC-enableddatastore.
Thin-provisionedvolumecapacitythresholdexceededMonitorswhetherthethinprovisioningthresholdonthestoragearrayexceedsforvolumesbackingthedatastore.
DatastorecapabilityalarmMonitorsthechangeinthecapabilitystatusforvolumesbackingthedatastore.
vSphereMonitoringandPerformanceVMware,Inc.
146Table56.
DefaultvSphereAlarms(Continued)AlarmNameDescriptionVASAproviderdisconnectedMonitorsthechangesintheconnectionstateofVASAproviders.
VASAProvidercertificateexpirationalarmMonitorswhetherVASAprovidercertificatesaregettingclosetotheirexpirydate.
VMstoragecompliancealarmMonitorsthevirtualdiskcompliancewiththeobject-basedstorage.
DatastorecompliancealarmMonitorswhetherthevirtualdiskonthedatastorecomplieswiththeobject-basedstorage.
RefreshingCAcertificatesandCRLsforaVASAproviderfailedMonitorswhethertherefreshingofCAcertificatesandCRLsforsomeoftheVASAprovidershasfailed.
InsufficientvSphereHAfailoverresourcesMonitorsthesufficiencyoffailoverclusterresourcesrequiredforvSphereHighAvailability.
vSphereHAfailoverinprogressMonitorsthefailoverprogressofvSphereHighAvailability.
CannotfindvSphereHAmasteragentMonitorswhethervCenterServerisabletoconnecttoavSphereHighAvailabilitymasteragent.
vSphereHAhoststatusMonitorsthehosthealthstatusreportedbyvSphereHighAvailability.
vSphereHAvirtualmachinefailoverfailedMonitorswhetherafailoveroperationthatusesvSphereHighAvailabilityfailed.
vSphereHAvirtualmachinemonitoringactionMonitorswhethervSphereHighAvailabilityhasrestartedavirtualmachine.
vSphereHAvirtualmachinemonitoringerrorMonitorswhethervSphereHighAvailabilityfailedtoresetavirtualmachine.
vSphereHAVMComponentProtectioncouldnotpoweroffavirtualmachineMonitorswhethervSphereHighAvailabilityVMComponentProtectioncannotpoweroffavirtualmachinewithaninaccessibledatastore.
Licenseerror*Monitorslicenseerrors.
Healthstatuschanged*Monitorschangestoserviceandextensionhealthstatus.
VirtualmachinecomponentprotectionrestarterrorMonitorswhetherthevSphereHAVMComponentProtectionfailstorestartavirtualmachine.
StorageDRSrecommendationMonitorsStorageDRSrecommendations.
StorageDRSisnotsupportedonahostMonitorsandalertswhenStorageDRSisnotsupportedonahost.
DatastoreclusterisoutofspaceMonitorswhetheradatastoreclusterrunsoutofdiskspace.
DatastoreisinmultipledatacentersMonitorswhetheradatastoreinadatastoreclusterisvisibleinmorethanonedatacenter.
vSphereDistributedSwitchVLANtrunkedstatusMonitorschangesinvSphereDistributedSwitchVLANtrunkedstatus.
vSphereDistributedSwitchMTUmatchedstatusMonitorschangesinvSphereDistributedSwitchMTUmatchedstatus.
vSphereMonitoringandPerformanceVMware,Inc.
147Table56.
DefaultvSphereAlarms(Continued)AlarmNameDescriptionvSphereDistributedSwitchMTUsupportedstatusMonitorschangesinvSphereDistributedSwitchMTUsupportedstatus.
vSphereDistributedSwitchteamingmatchedstatusMonitorschangesinvSphereDistributedSwitchteamingmatchedstatus.
VirtualMachinenetworkadapterreservationstatusMonitorschangesinthereservationstatusofavirtualmachinenetworkadapter.
VirtualmachineConsolidationNeededstatusMonitorschangesinthevirtualmachineConsolidationNeededstatus.
HostvirtualflashresourcestatusMonitorstheFlashReadCacheresourcestatusonthehost.
HostvirtualflashresourceusageMonitorstheFlashReadCacheresourceusageonthehost.
Registration/unregistrationofaVASAvendorprovideronavSANhostfailsDefaultalarmthatmonitorswhethertheregistrationorunregistrationofaVASAvendorprovideronavSANhostfails.
Registration/unregistrationofthird-partyIOfilterstorageprovidersfailsonahostDefaultalarmthatmonitorswhethervCenterServerfailstoregisterorunregisterthird-partyIOfilterstorageprovidersonahost.
ServiceControlAgentHealthAlarmMonitorsthehealthstatusoftheVMwareServiceControlAgent.
IdentityHealthAlarmMonitorsthehealthstatusoftheIdentityManagementService.
vSphereWebClientHealthAlarmMonitorsthehealthstatusofthevSphereWebClient.
ESXAgentManagerHealthAlarmMonitorsthehealthstatusoftheESXAgentManager.
MessageBusConfigHealthAlarmMonitorsthehealthstatusoftheMessageBusConfigurationService.
CisLicenseHealthAlarmMonitorsthehealthstatusoftheLicenseService.
ApplianceManagementHealthAlarmMonitorsthehealthstatusoftheApplianceManagementService.
InventoryHealthAlarmMonitorsthehealthstatusoftheInventoryService.
vCenterServerHealthAlarmMonitorsthehealthstatusofvCenterServer.
DatabaseHealthAlarmMonitorsthedatabasehealthstatus.
Whendatabasespacereaches80%,vCenterServerdisplaysawarningevent.
Whendatabasespacereaches95%,vCenterServerdisplaysanerroreventandshutsdown.
Youcancleanupthedatabase,orincreasedatabasestoragecapacity,andstartvCenterServer.
ThealarmistriggeredonlyforPostgreSQLandMicrosoftSQLServerdatabasehealthissues,anddoesnotworkwithOracledatabases.
DataServiceHealthAlarmMonitorsthehealthstatusoftheDataService.
RBDHealthAlarmMonitorsthehealthstatusofthevSphereAutoDeployWaiter.
vServiceManagerHealthAlarmMonitorsthehealthstatusofthevServiceManager.
vSphereMonitoringandPerformanceVMware,Inc.
148Table56.
DefaultvSphereAlarms(Continued)AlarmNameDescriptionPerformanceChartsServiceHealthAlarmMonitorsthehealthstatusofthePerformanceChartsService.
ContentLibraryServiceHealthAlarmMonitorsthehealthstatusoftheVMwareContentLibraryService.
TransferServiceHealthAlarmMonitorsthehealthstatusoftheVMwareTransferService.
VMwarevSphereESXiDumpCollectorHealthAlarmMonitorsthehealthstatusoftheVMwarevSphereESXiDumpCollectorService.
VMwarevAPIEndpointServiceHealthAlarmMonitorsthehealthstatusoftheVMwarevAPIEndpointService.
VMwareSystemandHardwareHealthManagerServiceHealthAlarmMonitorsthehealthstatusoftheVMwareSystemandHardwareHealthManagerService.
VMwarevSphereProfile-DrivenStorageServiceHealthAlarmMonitorsthehealthstatusoftheVMwarevSphereProfile-DrivenStorageService.
VMwareCommonLoggingServiceHealthAlarmMonitorsthehealthstatusoftheVMwareCommonLoggingService.
VMwarevFabricPostgresServiceHealthAlarmMonitorsthehealthstatusoftheVMwarevFabricPostgresService.
ESXiHostCertificatesUpdateFailureStatusMonitorswhethertheupdateoftheESXihostcertificatesfailed.
ESXiHostCertificateStatusMonitorsthecertificatestatusofanESXihost.
ESXiHostCertificateVerificationFailureStatusMonitorswhethertheverificationofanESXihostcertificatefailed.
vSpherevCenterHostCertificateManagementModeMonitorschangesinthecertificatemanagementmodeofvCenterServer.
RootCertificateStatusMonitorswhetherarootcertificateisgettingclosetoitsexpirationdate.
GPUECCUncorrectedMemoryAlarmMonitorstheGPUECCuncorrectedmemorystatus.
GPUECCCorrectedMemoryAlarmMonitorstheGPUECCcorrectedmemorystatus.
GPUThermalConditionAlarmMonitorstheGPUThermalconditionstatus.
NetworkconnectivitylostMonitorsthenetworkconnectivityonavirtualswitch.
NetworkuplinkredundancylostMonitorsnetworkuplinkredundancyonavirtualswitch.
Networkuplinkredundancydegraded*Monitorsnetworkuplinkredundancydegradationonavirtualswitch.
VMKernelNICnotconfiguredcorrectly*MonitorsincorrectlyconfiguredVMkernelNICs.
Cannotconnecttostorage*Monitorshostconnectivitytoastoragedevice.
Migrationerror*Monitorswhetheravirtualmachinecannotbemigratedorrelocated,orisorphaned.
ExitstandbyerrorMonitorswhetherahostcannotexitstandbymode.
vSphereMonitoringandPerformanceVMware,Inc.
149Table57.
DeprecatedvSphereAlarmsAlarmnameDescriptionCannotconnecttonetworkMonitorsthenetworkconnectivityonavirtualswitch.
IPv6TSOnotsupportedMonitorswhethertheIPv6TSOpacketssentbytheguestoperatingsystemofavirtualmachinearedropped.
SRMConsistencyGroupViolationDatastoreclusterhasdatastoresthatbelongtodifferentSRMconsistencygroups.
VirtualmachinehighavailabilityerrorMonitorsHighAvailabilityerrorsonavirtualmachine.
Clusterhighavailabilityerror*MonitorsHighAvailabilityerrorsonacluster.
HealthstatusmonitoringMonitorschangesintheoverallhealthstatusofvCenterServercomponents.
Pre-4.
1hostconnectedtoSIOC-enableddatastoreMonitorswhetherahostrunningESX/ESXi4.
1orearlierisconnectedtoaSIOC-enableddatastore.
HostserviceconsoleswapratesMonitorshostserviceconsolememoryswaprates.
vSphereMonitoringandPerformanceVMware,Inc.
150MonitoringSolutionswiththevCenterSolutionsManager6InthevSphereWebClient,youcanviewaninventoryofinstalledsolutions,viewdetailedinformationaboutthesolutions,andmonitorthesolutionhealthstatus.
AsolutionisanextensionofvCenterServerthataddsnewfunctionstoavCenterServerinstance.
VMwareproductsthatintegratewithvCenterServerarealsoconsideredsolutions.
Forexample,vSphereESXAgentManagerisasolutionprovidedbyVMwaretoletyoumanagehostagentsthataddnewcapabilitiestoESX/ESXihosts.
Youcaninstallasolutiontoaddfunctionalityfromthird-partytechnologiestothestandardfunctionsofvCenterServer.
SolutionstypicallyaredeliveredasOVFpackages.
YoucaninstallanddeploysolutionsfromthevSphereWebClient.
YoucanintegratesolutionsintothevCenterSolutionsManager,whichprovidesaviewinthevSphereWebClientthatlistsallsolutions.
IfavirtualmachineorvAppisrunningasolution,acustomiconrepresentsitintheinventoryofthevSphereWebClient.
EachsolutionregistersauniqueicontoidentifythatthevirtualmachineorvAppisbeingmanagedbythatsolution.
Theiconsshowthepowerstates(poweredon,paused,orpoweredoff).
ThesolutionsdisplaymorethanonetypeoficoniftheymanagemorethanonetypeofvirtualmachineorvApp.
WhenyoupoweronorpoweroffavirtualmachineorvApp,youarenotifiedthatyouareperformingthisoperationonanentitythatismanagedbytheSolutionsManager.
WhenyouattemptanoperationonavirtualmachineoravAppthatismanagedbyasolution,aninformationalwarningmessageappears.
Formoreinformation,seetheDevelopingandDeployingvSphereSolutions,vServices,andESXAgentsdocumentation.
Thischapterincludesthefollowingtopics:nViewSolutionsandvServicesnMonitoringAgentsnMonitoringvServicesViewSolutionsandvServicesInthevSphereWebClient,youcanviewinformationaboutsolutionsandvServiceproviders.
AvServiceisaservicethatasolutionprovidestospecificapplicationsthatruninsidevirtualmachinesandvApps.
VMware,Inc.
151Procedure1NavigatetothevCenterServersystemintheobjectnavigator.
2Double-clickthevCenterServerobject.
3ClickExtensions.
4Selectasolution.
TheSummarytabdisplaysmoreinformationaboutthesolution.
5ToviewvServiceproviderinformation,clickMonitor,andclickvServices.
MonitoringAgentsThevCenterSolutionsManagerdisplaysthevSphereESXAgentManageragentsthatyouusetodeployandmanagerelatedagentsonESX/ESXihosts.
YoucanusetheSolutionsManagertokeeptrackofwhethertheagentsofasolutionareworkingasexpected.
Outstandingissuesarereflectedbythesolution'sESXAgentManagerstatusandalistofissues.
Whenthestatusofasolutionchanges,theSolutionsManagerupdatestheESXAgentManagersummarystatusandstate.
Administratorsusethisstatustotrackwhetherthegoalstateisreached.
Theagenthealthstatusisindicatedbyaspecificcolor.
Table61.
ESXAgentManagerhealthstatusStatusDescriptionRedThesolutionmustintervenefortheESXAgentManagertoproceed.
Forexample,ifavirtualmachineagentispoweredoffmanuallyonacomputeresourceandtheESXAgentManagerdoesnotattempttopowerontheagent.
TheESXAgentManagerreportsthisactiontothesolution,andthesolutionalertstheadministratortopowerontheagent.
YellowTheESXAgentManagerisactivelyworkingtoreachagoalstate.
Thegoalstatecanbeenabled,disabled,oruninstalled.
Forexample,whenasolutionisregistered,itsstatusisyellowuntiltheESXAgentManagerdeploysthesolutionsagentstoallthespecifiedcomputeresources.
AsolutiondoesnotneedtointervenewhentheESXAgentManagerreportsitsESXAgentManagerhealthstatusasyellow.
GreenAsolutionandallitsagentshavereachedthegoalstate.
MonitoringvServicesAvServiceisaserviceorfunctionthatasolutionprovidestovirtualmachinesandvApps.
AsolutioncanprovideoneormorevServices.
ThesevServicesintegratewiththeplatformandareabletochangetheenvironmentinwhichthevApporvirtualmachineruns.
vSphereMonitoringandPerformanceVMware,Inc.
152AvServiceisatypeofserviceforavirtualmachineandavAppprovidedbyavCenterextension.
VirtualmachinesandvAppscanhavedependenciesonvServices.
EachdependencyisassociatedwithavServicetype.
ThevServicetypemustbeboundtoaparticularvCenterextensionthatimplementsthatvServicetype.
ThisvServicetypeissimilartoavirtualhardwaredevice.
Forexample,avirtualmachinecanhaveanetworkingdevicethatatdeploymentmustbeconnectedtoaparticularnetwork.
ThevServiceManagerallowsasolutiontoconnecttooperationsrelatedtoOVFtemplates:nImportingOVFtemplates.
ReceiveacallbackwhenOVFtemplateswithavServicedependencyofacertaintypeareimported.
nExportingOVFtemplates.
InsertsOVFsectionswhenavirtualmachineisexported.
nOVFenvironmentgeneration.
InsertsOVFsectionsintotheOVFenvironmentatthepower-oninstance.
ThevServicestabintheSolutionManagerprovidesdetailsforeachvCenterextension.
ThisinformationallowsyoutomonitorvServiceprovidersandlistthevirtualmachinesorvAppstowhichtheyarebound.
vSphereMonitoringandPerformanceVMware,Inc.
153MonitoringtheHealthofServicesandNodes7Youcanmonitorthehealthstatusofservicesandnodestodeterminewhetherproblemsexistinyourenvironment.
ThevSphereWebClientprovidesanoverviewofallservicesandnodesacrossthemanagementstackofthevCenterServersystem.
AlistofdefaultservicesisavailableforeachvCenterServerinstance.
ViewtheHealthStatusofServicesandNodesInthevSphereWebClient,youcanviewthehealthstatusofvCenterServerservicesandnodes.
vCenterServerinstancesandmachinesthatrunvCenterServerservicesareconsiderednodes.
Graphicalbadgesrepresentthehealthstatusofservicesandnodes.
PrerequisitesVerifythattheuseryouusetologintothevCenterServerinstanceisamemberoftheSystemConfiguration.
AdministratorsgroupinthevCenterSingleSign-Ondomain.
Procedure1Loginasadministrator@your_domain_nametothevCenterServerinstancebyusingthevSphereWebClient.
2OnthevSphereWebClientHomepage,clickSystemConfiguration.
Youcanviewthehealthstatusbadgesfortheservicesandnodes.
Table71.
HealthStatesBadgeIconDescriptionGood.
Thehealthoftheobjectisnormal.
Warning.
Theobjectisexperiencingsomeproblems.
Critical.
Theobjectiseithernotfunctioningproperlyorwillstopfunctioningsoon.
Unknown.
Nodataisavailableforthisobject.
VMware,Inc.
1543(Optional)IntheServicesHealthandNodesHealthpanes,clickthehyperlinknexttothehealthbadgetoviewallservicesandnodesinthishealthstate.
Forexample,intheServicesHealthpane,clickthehyperlinkoftheWarninghealthstatus.
Inthedialogboxthatpopsup,selectaservicetoviewmoreinformationabouttheserviceandattempttoresolvethehealthissuesoftheservice.
vSphereMonitoringandPerformanceVMware,Inc.
155PerformanceMonitoringUtilities:resxtopandesxtop8Theresxtopandesxtopcommand-lineutilitiesprovideadetailedlookathowESXiusesresourcesinrealtime.
Youcanstarteitherutilityinoneofthreemodes:interactive(default),batch,orreplay.
Thefundamentaldifferencebetweenresxtopandesxtopisthatyoucanuseresxtopremotely,whereasyoucanstartesxtoponlythroughtheESXiShellofalocalESXihost.
Thischapterincludesthefollowingtopics:nUsingtheesxtopUtilitynUsingtheresxtopUtilitynUsingesxtoporresxtopinInteractiveModenUsingBatchModenUsingReplayModeUsingtheesxtopUtilityYoucanruntheesxtoputilityusingtheESXiShelltocommunicatewiththemanagementinterfaceoftheESXihost.
Youmusthaverootuserprivileges.
Typethecommand,usingtheoptionsyouwant:esxtop[-h][-v][-b][-s][-a][-cconfigfile][-Rvm-support_dir_path][-ddelay][-niterations]Theesxtoputilityreadsitsdefaultconfigurationfrom.
esxtop50rcontheESXisystem.
Thisconfigurationfileconsistsofninelines.
ThefirsteightlinescontainlowercaseanduppercaseletterstospecifywhichfieldsappearinwhichorderontheCPU,memory,storageadapter,storagedevice,virtualmachinestorage,network,interrupt,andCPUpowerpanels.
TheletterscorrespondtothelettersintheFieldsorOrderpanelsfortherespectiveesxtoppanel.
VMware,Inc.
156Theninthlinecontainsinformationontheotheroptions.
Mostimportant,ifyousavedaconfigurationinsecuremode,youdonotgetaninsecureesxtopwithoutremovingthesfromtheseventhlineofyour.
esxtop50rcfile.
Anumberspecifiesthedelaytimebetweenupdates.
Asininteractivemode,typingc,m,d,u,v,n,I,orpdeterminesthepanelwithwhichesxtopstarts.
NoteDonoteditthe.
esxtop50rcfile.
Instead,selectthefieldsandtheorderinarunningesxtopprocess,makechanges,andsavethisfileusingtheWinteractivecommand.
UsingtheresxtopUtilityTheresxtoputilityisavSphereCLIcommand.
BeforeyoucanuseanyvSphereCLIcommands,youmusteitherdownloadandinstallavSphereCLIpackageordeploythevSphereManagementAssistant(vMA)toyourESXihostorvCenterServersystem.
NoteresxtopissupportedonlyonLinux.
Afteritissetup,startresxtopfromthecommandline.
Forremoteconnections,youcanconnecttoahosteitherdirectlyorthroughvCenterServer.
Tolaunchresxtopandconnecttoaremoteserver,enterthiscommandresxtop--server--usernameThecommand-lineoptionslistedinthefollowingtablearethesameasforesxtop(exceptfortheRoption)withadditionalconnectionoptions.
NoteresxtopdoesnotusealltheoptionssharedbyothervSphereCLIcommands.
Table81.
resxtopCommand-LineOptionsOptionDescription[server]Nameoftheremotehosttoconnectto(required).
IfconnectingdirectlytotheESXihost,usethenameofthathost.
IfyourconnectiontotheESXihostisindirect(thatis,throughvCenterServer),usethenameofthevCenterServersystemforthisoption.
[vihost]Ifyouconnectindirectly(throughvCenterServer),thisoptionshouldcontainthenameoftheESXihostyouconnectto.
Ifyouconnectdirectlytothehost,thisoptionisnotused.
NotethatthehostnameneedstobethesameaswhatappearsinthevSphereWebClient.
[portnumber]Portnumbertoconnecttoontheremoteserver.
Thedefaultportis443,andunlessthisischangedontheserver,thisoptionisnotneeded.
[username]Usernametobeauthenticatedwhenconnectingtotheremotehost.
Theremoteserverpromptsyouforapassword.
YoucanalsouseresxtoponalocalESXihostbyomittingtheserveroptiononthecommandline.
Thecommanddefaultstolocalhost.
vSphereMonitoringandPerformanceVMware,Inc.
157UsingesxtoporresxtopinInteractiveModeBydefault,resxtopandesxtoprunininteractivemode.
Interactivemodedisplaysstatisticsindifferentpanels.
Ahelpmenuisavailableforeachpanel.
InteractiveModeCommand-LineOptionsYoucanusevariouscommand-lineoptionswithesxtopandresxtopininteractivemode.
Table82.
InteractiveModeCommand-LineOptionsOptionDescriptionhPrintshelpforresxtop(oresxtop)command-lineoptions.
vPrintsresxtop(oresxtop)versionnumber.
sCallsresxtop(oresxtop)insecuremode.
Insecuremode,the-dcommand,whichspecifiesdelaybetweenupdates,isdisabled.
dSpecifiesthedelaybetweenupdates.
Thedefaultisfiveseconds.
Theminimumistwoseconds.
Changethiswiththeinteractivecommands.
Ifyouspecifyadelayoflessthantwoseconds,thedelayissettotwoseconds.
nNumberofiterations.
Updatesthedisplayntimesandexits.
Defaultvalueis10000.
serverThenameoftheremoteserverhosttoconnectto(requiredforresxtoponly).
vihostIfyouconnectindirectly(throughvCenterServer),thisoptionshouldcontainthenameoftheESXihostyouconnectto.
IfyouconnectdirectlytotheESXihost,thisoptionisnotused.
NotethatthehostnameneedstobethesameaswhatisdisplayedinthevSphereWebClient.
portnumberTheportnumbertoconnecttoontheremoteserver.
Thedefaultportis443,andunlessthisischangedontheserver,thisoptionisnotneeded.
(resxtoponly)usernameTheusernametobeauthenticatedwhenconnectingtotheremotehost.
Theremoteserverpromptsyouforapassword,aswell(resxtoponly).
aShowallstatistics.
Thisoptionoverridesconfigurationfilesetupsandshowsallstatistics.
Theconfigurationfilecanbethedefault~/.
esxtop50rcconfigurationfileorauser-definedconfigurationfile.
cfilenameLoadauser-definedconfigurationfile.
Ifthe-coptionisnotused,thedefaultconfigurationfilenameis~/.
esxtop50rc.
Createyourownconfigurationfile,specifyingadifferentfilename,usingtheWsingle-keyinteractivecommand.
CommonStatisticsDescriptionSeveralstatisticsappearonthedifferentpanelswhileresxtop(oresxtop)isrunningininteractivemode.
Thesestatisticsarecommonacrossallfourpanels.
TheUptimeline,foundatthetopofeachofthefourresxtop(oresxtop)panels,displaysthecurrenttime,timesincelastreboot,numberofcurrentlyrunningworldsandloadaverages.
AworldisanESXiVMkernelschedulableentity,similartoaprocessorthreadinotheroperatingsystems.
vSphereMonitoringandPerformanceVMware,Inc.
158Belowthattheloadaveragesoverthepastone,five,andfifteenminutesappear.
Loadaveragesconsiderbothrunningandready-to-runworlds.
Aloadaverageof1.
00meansthatthereisfullutilizationofallphysicalCPUs.
Aloadaverageof2.
00meansthattheESXisystemmightneedtwiceasmanyphysicalCPUsasarecurrentlyavailable.
Similarly,aloadaverageof0.
50meansthatthephysicalCPUsontheESXisystemarehalfutilized.
StatisticsColumnsandOrderPagesYoucandefinetheorderoffieldsdisplayedininteractivemode.
Ifyoupressf,F,o,orO,thesystemdisplaysapagethatspecifiesthefieldorderonthetoplineandshortdescriptionsofthefieldcontents.
Iftheletterinthefieldstringcorrespondingtoafieldisuppercase,thefieldisdisplayed.
Anasteriskinfrontofthefielddescriptionindicateswhetherafieldisdisplayed.
Theorderofthefieldscorrespondstotheorderofthelettersinthestring.
FromtheFieldSelectpanel,youcan:nTogglethedisplayofafieldbypressingthecorrespondingletter.
nMoveafieldtotheleftbypressingthecorrespondinguppercaseletter.
nMoveafieldtotherightbypressingthecorrespondinglowercaseletter.
InteractiveModeSingle-KeyCommandsWhenrunningininteractivemode,resxtop(oresxtop)recognizesseveralsingle-keycommands.
Allinteractivemodepanelsrecognizethecommandslistedinthefollowingtable.
Thecommandtospecifythedelaybetweenupdatesisdisabledifthesoptionisgivenonthecommandline.
Allsortinginteractivecommandssortindescendingorder.
Table83.
InteractiveModeSingle-KeyCommandsKeyDescriptionhorDisplaysahelpmenuforthecurrentpanel,givingabriefsummaryofcommands,andthestatusofsecuremode.
spaceImmediatelyupdatesthecurrentpanel.
^LErasesandredrawsthecurrentpanel.
forFDisplaysapanelforaddingorremovingstatisticscolumns(textboxes)toorfromthecurrentpanel.
oorODisplaysapanelforchangingtheorderofstatisticscolumnsonthecurrentpanel.
#Promptsyouforthenumberofstatisticsrowstodisplay.
Anyvaluegreaterthan0overridesautomaticdeterminationofthenumberofrowstoshow,whichisbasedonwindowsizemeasurement.
Ifyouchangethisnumberinoneresxtop(oresxtop)panel,thechangeaffectsallfourpanels.
sPromptsyouforthedelaybetweenupdates,inseconds.
Fractionalvaluesarerecognizeddowntomicroseconds.
Thedefaultvalueisfiveseconds.
Theminimumvalueistwoseconds.
Thiscommandisnotavailableinsecuremode.
WWritethecurrentsetuptoanesxtop(orresxtop)configurationfile.
Thisistherecommendedwaytowriteaconfigurationfile.
Thedefaultfilenameistheonespecifiedby-coption,or~/.
esxtop50rcifthe-coptionisnotused.
YoucanalsospecifyadifferentfilenameonthepromptgeneratedbythisWcommand.
qQuittheinteractivemode.
cSwitchtotheCPUresourceutilizationpanel.
vSphereMonitoringandPerformanceVMware,Inc.
159Table83.
InteractiveModeSingle-KeyCommands(Continued)KeyDescriptionpSwitchtotheCPUPowerutilizationpanel.
mSwitchtothememoryresourceutilizationpanel.
dSwitchtothestorage(disk)adapterresourceutilizationpanel.
uSwitchtostorage(disk)deviceresourceutilizationscreen.
vSwitchtostorage(disk)virtualmachineresourceutilizationscreen.
nSwitchtothenetworkresourceutilizationpanel.
iSwitchtotheinterruptpanel.
CPUPanelTheCPUpaneldisplaysserver-widestatisticsaswellasstatisticsfortheindividualworld,resourcepool,andvirtualmachineCPUutilization.
Resourcepools,virtualmachinesthatarerunning,orotherworldsareattimescalledgroups.
Forworldsbelongingtoavirtualmachine,statisticsforthevirtualmachinethatisrunningaredisplayed.
Allotherworldsarelogicallyaggregatedintotheresourcepoolsthatcontainthem.
Table84.
CPUPanelStatisticsLineDescriptionPCPUUSED(%)APCPUreferstoaphysicalhardwareexecutioncontext.
ItcanbeaphysicalCPUcoreifthehyperthreadingisunavailableordisabled,oralogicalCPU(LCPUorSMTthread)ifthehyperthreadingisenabled.
PCPUUSED(%)displaysthefollowingpercentages:npercentageofCPUusageperPCPUnpercentageofCPUusageaveragedoverallPCPUsCPUUsage(%USED)isthepercentageofPCPUnominalfrequencythatwasusedsincethelastscreenupdate.
Itequalsthetotalsumof%USEDforWorldsthatranonthisPCPU.
NoteIfaPCPUisrunningatfrequencythatishigherthanitsnominal(rated)frequency,thenPCPUUSED(%)canbegreaterthan100%.
IfaPCPUanditspartnerarebusywhenhyperthreadingisenabled,eachPCPUaccountforhalfoftheCPUusage.
PCPUUTIL(%)APCPUreferstoaphysicalhardwareexecutioncontext.
ItcanbeaphysicalCPUcoreifthehyperthreadingisunavailableordisabled,oralogicalCPU(LCPUorSMTthread)ifthehyperthreadingisenabled.
PCPUUTIL(%)representsthepercentageofrealtimethatthePCPUwasnotidle(rawPCPUutilization).
ItdisplaysthepercentageCPUutilizationperPCPU,andthepercentageCPUutilizationaveragedoverallPCPUs.
NotePCPUUTIL(%)mightdifferfromPCPUUSED(%)duetopowermanagementtechnologiesorhyperthreading.
IDResourcepoolIDorvirtualmachineIDoftheresourcepoolorvirtualmachineoftheworldthatisrunning.
Alternatively,theworldIDoftheworldthatisrunning.
GIDResourcepoolIDoftheresourcepoolorvirtualmachineoftheworldthatisrunning.
vSphereMonitoringandPerformanceVMware,Inc.
160Table84.
CPUPanelStatistics(Continued)LineDescriptionNAMENameoftheresourcepoolorvirtualmachineoftheworldthatisrunning,ornameoftheworldthatisrunning.
NWLDNumberofmembersintheresourcepoolorvirtualmachineoftheworldthatisrunning.
IfaGroupisexpandedusingtheinteractivecommande,thenNWLDforalltheresultingworldsis1.
%STATETIMESSetofCPUstatisticsmadeupofthefollowingpercentages.
Foraworld,thepercentagesareapercentageofonephysicalCPUcore.
%USEDPercentageofphysicalCPUcorecyclesusedbytheresourcepool,virtualmachine,orworld.
%USEDmightdependonthefrequencywithwhichtheCPUcoreisrunning.
WhenrunningwithlowerCPUcorefrequency,%USEDcanbesmallerthan%RUN.
OnCPUswhichsupporttheturbomode,CPUfrequencycanalsobehigherthanthenominal(rated)frequency,and%USEDcanbelargerthan%RUN.
%USED=%RUN+%SYS-%OVRLP%SYSPercentageoftimespentintheESXiVMkernelonbehalfoftheresourcepool,virtualmachine,orworldtoprocessinterruptsandtoperformothersystemactivities.
Thistimeispartofthetimeusedtocalculate%USED.
%USED=%RUN+%SYS-%OVRLP%WAITPercentageoftimetheresourcepool,virtualmachine,orworldspentintheblockedorbusywaitstate.
Thispercentageincludesthepercentageoftimetheresourcepool,virtualmachine,orworldwasidle.
100%=%RUN+%RDY+%CSTP+%WAIT%VMWAITThetotalpercentageoftimetheResourcePool/Worldspentinablockedstatewaitingforevents.
%IDLEPercentageoftimetheresourcepool,virtualmachine,orworldwasidle.
Subtractthispercentagefrom%WAITtoseethepercentageoftimetheresourcepool,virtualmachine,orworldwaswaitingforsomeevent.
Thedifference,%WAIT-%IDLE,oftheVCPUworldscanbeusedtoestimateguestI/Owaittime.
TofindtheVCPUworlds,usethesingle-keycommandetoexpandavirtualmachineandsearchfortheworldNAMEstartingwith"vcpu".
(TheVCPUworldsmightwaitforothereventsinadditiontoI/Oevents,sothismeasurementisonlyanestimate.
)%RDYPercentageoftimetheresourcepool,virtualmachine,orworldwasreadytorun,butwasnotprovidedCPUresourcesonwhichtoexecute.
100%=%RUN+%RDY+%CSTP+%WAIT%MLMTD(maxlimited)PercentageoftimetheESXiVMkerneldeliberatelydidnotruntheresourcepool,virtualmachine,orworldbecausedoingsowouldviolatetheresourcepool,virtualmachine,orworld'slimitsetting.
Becausetheresourcepool,virtualmachine,orworldisreadytorunwhenitispreventedfromrunninginthisway,the%MLMTD(maxlimited)timeisincludedin%RDYtime.
%SWPWTPercentageoftimearesourcepoolorworldspendswaitingfortheESXiVMkerneltoswapmemory.
The%SWPWT(swapwait)timeisincludedinthe%WAITtime.
EVENTCOUNTS/sSetofCPUstatisticsmadeupofpersecondeventrates.
ThesestatisticsareforVMwareinternaluseonly.
CPUALLOCSetofCPUstatisticsmadeupofthefollowingCPUallocationconfigurationparameters.
AMINResourcepool,virtualmachine,orworldattributeReservation.
AMAXResourcepool,virtualmachine,orworldattributeLimit.
Avalueof-1meansunlimited.
ASHRSResourcepool,virtualmachine,orworldattributeShares.
SUMMARYSTATSSetofCPUstatisticsmadeupofthefollowingCPUconfigurationparametersandstatistics.
Thesestatisticsapplyonlytoworldsandnottovirtualmachinesorresourcepools.
vSphereMonitoringandPerformanceVMware,Inc.
161Table84.
CPUPanelStatistics(Continued)LineDescriptionAFFINITYBITMASKBitmaskshowingthecurrentschedulingaffinityfortheworld.
HTSHARINGCurrenthyperthreadingconfiguration.
CPUThephysicalorlogicalprocessoronwhichtheworldwasrunningwhenresxtop(oresxtop)obtainedthisinformation.
HTQIndicateswhethertheworldisquarantinedornot.
NmeansnoandYmeansyes.
TIMER/sTimerrateforthisworld.
%OVRLPPercentageofsystemtimespentduringschedulingofaresourcepool,virtualmachine,orworldonbehalfofadifferentresourcepool,virtualmachine,orworldwhiletheresourcepool,virtualmachine,orworldwasscheduled.
Thistimeisnotincludedin%SYS.
Forexample,ifvirtualmachineAisbeingscheduledandanetworkpacketforvirtualmachineBisprocessedbytheESXiVMkernel,thetimespentappearsas%OVRLPforvirtualmachineAand%SYSforvirtualmachineB.
%USED=%RUN+%SYS-%OVRLP%RUNPercentageoftotaltimescheduled.
Thistimedoesnotaccountforhyperthreadingandsystemtime.
Onahyperthreadingenabledserver,the%RUNcanbetwiceaslargeas%USED.
%USED=%RUN+%SYS-%OVRLP100%=%RUN+%RDY+%CSTP+%WAIT%CSTPPercentageoftimearesourcepoolspendsinaready,co-deschedulestate.
NoteYoumightseethisstatisticdisplayed,butitisintendedforVMwareuseonly.
100%=%RUN+%RDY+%CSTP+%WAITPOWERCurrentCPUpowerconsumptionforaresourcepool(inWatts).
%LAT_CPercentageoftimetheresourcepoolorworldwasreadytorunbutwasnotscheduledtorunbecauseofCPUresourcecontention.
%LAT_MPercentageoftimetheresourcepoolorworldwasreadytorunbutwasnotscheduledtorunbecauseofmemoryresourcecontention.
%DMDCPUdemandinpercentage.
ItrepresentstheaverageactiveCPUloadinthepastminute.
COREUTIL(%)PercentageofCPUcyclespercorewhenatleastoneofthePCPUsinthiscoreisunhalted,anditsaverageoverallcores.
Thisstatisticonlyappearswhenhyperthreadingisenabled.
Inbatchmode,thecorrespondingCOREUTIL(%)statisticisdisplayedforeachPCPU.
Forexample,PCPU0andPCPU1havethesametheCOREUTIL(%)number,andthatisthenumberforcore0.
Youcanchangethedisplayusingsingle-keycommands.
vSphereMonitoringandPerformanceVMware,Inc.
162Table85.
CPUPanelSingle-KeyCommandsCommandDescriptioneToggleswhetherCPUstatisticsaredisplayedexpandedorunexpanded.
TheexpandeddisplayincludesCPUresourceutilizationstatisticsbrokendownbyindividualworldsbelongingtoaresourcepoolorvirtualmachine.
AllpercentagesfortheindividualworldsarepercentageofasinglephysicalCPU.
Considertheseexamples:nIfthe%Usedbyaresourcepoolis30%onatwo-wayserver,theresourcepoolisutilizing30percentofonephysicalcore.
nIfthe%Usedbyaworldbelongingtoaresourcepoolis30percentonatwo-wayserver,thatworldisutilizing30%ofonephysicalcore.
USortsresourcepools,virtualmachines,andworldsbytheresourcepool'sorvirtualmachine's%Usedcolumn.
Thisisthedefaultsortorder.
RSortsresourcepools,virtualmachines,andworldsbytheresourcepool'sorvirtualmachine's%RDYcolumn.
NSortsresourcepools,virtualmachines,andworldsbytheGIDcolumn.
VDisplaysvirtualmachineinstancesonly.
LChangesthedisplayedlengthoftheNAMEcolumn.
CPUPowerPanelTheCPUPowerpaneldisplaysCPUPowerutilizationstatistics.
OntheCPUPowerpanel,statisticsarearrangedperphysicalCPU.
AphysicalCPUisaphysicalhardwareexecutioncontext.
ItisthephysicalCPUcorewhenhyper-threadingisunavailableordisabled,oralogicalCPU(LCPUorSMTthread)whenhyper-threadingisenabled.
Table86.
CPUPowerPanelStatisticsLineDescriptionPowerUsageCurrenttotalpowerusage(inWatts).
PowerCapTotalpowercap(inWatts).
PSTATEMHZClockfrequencyperstate.
%USEDPercentageofphysicalCPUnominalfrequencyusedsincethelastscreenupdate.
ItisthesameasPCPUUSED(%)shownintheCPUScreen.
%UTILRawphysicalCPUutilizationisthepercentageoftimethatphysicalCPUwasnotidle.
ItisthesameasPCPUUTIL(%)shownintheCPUScreen.
%CxPercentageoftimethephysicalCPUspentinC-State'x'.
%PxPercentageoftimethephysicalCPUspentinP-State'x'.
OnsystemswithProcessorClockingControl,P-statesarenotdirectlyvisibletoESXi.
Theesxtopshowsthepercentageoftimespentatfullspeedundertheheading'P0'andthepercentageoftimespentatanylowerspeedunder'P1'.
%TxPercentageoftimethephysicalCPUspentinT-State'x'.
%A/MPERFaperfandmperfaretwohardwareregistersusedtokeeptrackoftheactualfrequencyandnominalfrequencyoftheprocessor.
Displaysthereal-timeaperftomperfratiointhelastesxtopupdateperiod.
%A/MPERF*nominalfrequencyoftheprocessor=currentfrequencyoftheprocessorvSphereMonitoringandPerformanceVMware,Inc.
163MemoryPanelTheMemorypaneldisplaysserver-wideandgroupmemoryutilizationstatistics.
AsontheCPUpanel,groupscorrespondtoresourcepools,runningvirtualmachines,orotherworldsthatareconsumingmemory.
Thefirstline,foundatthetopoftheMemorypaneldisplaysthecurrenttime,timesincelastreboot,numberofcurrentlyrunningworlds,andmemoryovercommitmentaverages.
Thememoryovercommitmentaveragesoverthepastone,five,andfifteenminutesappear.
Memoryovercommitmentof1.
00meansamemoryovercommitmentof100percent.
Table87.
MemoryPanelStatisticsFieldDescriptionPMEM(MB)Displaysthemachinememorystatisticsfortheserver.
Allnumbersareinmegabytes.
totalTotalamountofthemachinememoryintheserver.
vmkAmountofthemachinememorybeingusedbytheESXiVMkernel.
otherAmountofthemachinememorybeingusedbyeverythingotherthantheESXiVMkernel.
freeAmountofthemachinememorythatisfree.
VMKMEM(MB)DisplaysthemachinememorystatisticsfortheESXiVMkernel.
Allnumbersareinmegabytes.
managedTotalamountofthemachinememorymanagedbytheESXiVMkernel.
minfreeMinimumamountofthemachinememorythattheESXiVMkernelaimstokeepfree.
rsvdTotalamountofthemachinememorycurrentlyreservedbyresourcepools.
ursvdTotalamountofthemachinememorycurrentlyunreserved.
stateCurrentmachinememoryavailabilitystate.
Possiblevaluesarehigh,soft,hardandlow.
Highmeansthatthemachinememoryisnotunderanypressureandlowmeansthatitis.
NUMA(MB)DisplaystheESXiNUMAstatistics.
ThislineappearsonlyiftheESXihostisrunningonaNUMAserver.
Allnumbersareinmegabytes.
ForeachNUMAnodeintheserver,twostatisticsaredisplayed:nThetotalamountofmachinememoryintheNUMAnodethatismanagedbyESXi.
nTheamountofmachinememoryinthenodethatiscurrentlyfree(inparentheses).
SharedmemoryfortheESXihostmightbelargerthanthetotalamountofmemoryifmemoryisover-committed.
vSphereMonitoringandPerformanceVMware,Inc.
164Table87.
MemoryPanelStatistics(Continued)FieldDescriptionPSHARE(MB)DisplaystheESXipage-sharingstatistics.
Allnumbersareinmegabytes.
sharedAmountofthephysicalmemorythatisbeingshared.
commonAmountofthemachinememorythatiscommonacrossworlds.
savingAmountofthemachinememorythatissavedbecauseofpagesharing.
shared=common+savingSWAP(MB)DisplaystheESXiswapusagestatistics.
Allnumbersareinmegabytes.
currCurrentswapusage.
rclmtgtWheretheESXisystemexpectsthereclaimedmemorytobe.
Memorycanbereclaimedbyswappingorcompression.
r/sRateatwhichthememoryisswappedinbytheESXisystemfromdisk.
w/sRateatwhichthememoryisswappedtodiskbytheESXisystem.
ZIP(MB)DisplaystheESXimemorycompressionstatistics.
Allnumbersareinmegabytes.
zippedTotalcompressedphysicalmemory.
savedSavedmemorybycompression.
MEMCTL(MB)Displaysthememoryballoonstatistics.
Allnumbersareinmegabytes.
currTotalamountofthephysicalmemoryreclaimedusingthevmmemctlmodule.
targetTotalamountofphysicalmemorytheESXihostattemptstoreclaimusingthevmmemctlmodule.
maxMaximumamountofthephysicalmemorytheESXihostcanreclaimusingthevmmemctlmodule.
AMINMemoryreservationforthisresourcepoolorvirtualmachine.
AMAXMemorylimitforthisresourcepoolorvirtualmachine.
Avalueof-1meansUnlimited.
ASHRSMemorysharesforthisresourcepoolorvirtualmachine.
NHNCurrenthomenodefortheresourcepoolorvirtualmachine.
ThisstatisticisapplicableonlyonNUMAsystems.
Ifthevirtualmachinehasnohomenode,adash(-)appears.
NRMEM(MB)Currentamountofremotememoryallocatedtothevirtualmachineorresourcepool.
ThisstatisticisapplicableonlyonNUMAsystems.
N%LCurrentpercentageofmemoryallocatedtothevirtualmachineorresourcepoolthatislocal.
MEMSZ(MB)Amountofphysicalmemoryallocatedtoaresourcepoolorvirtualmachine.
ThevaluesarethesamefortheVMMandVMXgroups.
MEMSZ=GRANT+MCTLSZ+SWCUR+"nevertouched"vSphereMonitoringandPerformanceVMware,Inc.
165Table87.
MemoryPanelStatistics(Continued)FieldDescriptionGRANT(MB)Amountofguestphysicalmemorymappedtoaresourcepoolorvirtualmachine.
TheconsumedhostmachinememoryisequaltoGRANT-SHRDSVD.
ThevaluesarethesamefortheVMMandVMXgroups.
CNSMAmountofthememorycurrentlyconsumedbythevirtualmachine.
ThememorycurrentlyconsumedbythevirtualmachineisequaltotheamountofmemorythattheVMguestoperatingsystemcurrentlyuses,excludingtheamountofmemorysavedforsharingifmemorysharingisenabledontheVM,excludingtheamountofmemorysavedifsomeoftheVMmemoryiscompressed.
Formoreinformationonmemorysharingandmemorycompression,seethevSphereResourceManagementdocumentation.
SZTGT(MB)AmountofmachinememorytheESXiVMkernelwantstoallocatetoaresourcepoolorvirtualmachine.
ThevaluesarethesamefortheVMMandVMXgroups.
TCHD(MB)Workingsetestimatefortheresourcepoolorvirtualmachine.
ThevaluesarethesamefortheVMMandVMXgroups.
%ACTVPercentageofguestphysicalmemorythatisbeingreferencedbytheguest.
Thisisaninstantaneousvalue.
%ACTVSPercentageofguestphysicalmemorythatisbeingreferencedbytheguest.
Thisisaslowmovingaverage.
%ACTVFPercentageofguestphysicalmemorythatisbeingreferencedbytheguest.
Thisisafastmovingaverage.
%ACTVNPercentageofguestphysicalmemorythatisbeingreferencedbytheguest.
Thisisanestimation.
(Youmightseethisstatisticdisplayed,butitisintendedforVMwareuseonly.
)MCTLMemoryballoondriverisinstalledornot.
Nmeansno,Ymeansyes.
MCTLSZ(MB)Amountofphysicalmemoryreclaimedfromtheresourcepoolbywayofballooning.
MCTLTGT(MB)AmountofphysicalmemorytheESXisystemattemptstoreclaimfromtheresourcepoolorvirtualmachinebywayofballooning.
MCTLMAX(MB)MaximumamountofphysicalmemorytheESXisystemcanreclaimfromtheresourcepoolorvirtualmachinebywayofballooning.
Thismaximumdependsontheguestoperatingsystemtype.
SWCUR(MB)Currentswapusagebythisresourcepoolorvirtualmachine.
SWTGT(MB)TargetwheretheESXihostexpectstheswapusagebytheresourcepoolorvirtualmachinetobe.
SWR/s(MB)RateatwhichtheESXihostswapsinmemoryfromdiskfortheresourcepoolorvirtualmachine.
SWW/s(MB)RateatwhichtheESXihostswapsresourcepoolorvirtualmachinememorytodisk.
LLSWR/s(MB)Rateatwhichmemoryisreadfromthehostcache.
ThereadsandwritesareattributedtotheVMMgrouponly,LLSWAPstatisticsarenotdisplayedfortheVMgroup.
LLSWW/s(MB)Rateatwhichmemoryiswrittentothehostcachefromvarioussources.
ThereadsandwritesareattributedtotheVMMgrouponly,LLSWAPstatisticsarenotdisplayedfortheVMgroup.
CPTRD(MB)Amountofdatareadfromcheckpointfile.
CPTTGT(MB)Sizeofcheckpointfile.
ZERO(MB)Resourcepoolorvirtualmachinephysicalpagesthatarezeroed.
SHRD(MB)Resourcepoolorvirtualmachinephysicalpagesthatareshared.
SHRDSVD(MB)Machinepagesthataresavedbecauseofresourcepoolorvirtualmachinesharedpages.
vSphereMonitoringandPerformanceVMware,Inc.
166Table87.
MemoryPanelStatistics(Continued)FieldDescriptionOVHD(MB)Currentspaceoverheadforresourcepool.
OVHDMAX(MB)Maximumspaceoverheadthatmightbeincurredbyresourcepoolorvirtualmachine.
OVHDUW(MB)Currentspaceoverheadforauserworld.
(Youmightseethisstatisticdisplayed,butitisintendedforVMwareuseonly.
)GST_NDx(MB)GuestmemoryallocatedforaresourcepoolonNUMAnodex.
ThisstatisticisapplicableonNUMAsystemsonly.
OVD_NDx(MB)VMMoverheadmemoryallocatedforaresourcepoolonNUMAnodex.
ThisstatisticisapplicableonNUMAsystemsonly.
TCHD_W(MB)Writeworkingsetestimateforresourcepool.
CACHESZ(MB)Compressionmemorycachesize.
CACHEUSD(MB)Usedcompressionmemorycache.
ZIP/s(MB/s)Compressedmemorypersecond.
UNZIP/s(MB/s)Decompressedmemorypersecond.
Table88.
MemoryPanelInteractiveCommandsCommandDescriptionMSortresourcepoolsorvirtualmachinesbyMEMSZcolumn.
Thisisthedefaultsortorder.
BSortresourcepoolsorvirtualmachinesbyGroupMemctlcolumn.
NSortresourcepoolsorvirtualmachinesbyGIDcolumn.
VDisplayvirtualmachineinstancesonly.
LChangesthedisplayedlengthoftheNAMEcolumn.
StorageAdapterPanelStatisticsintheStorageAdapterpanelareaggregatedperstorageadapterbydefault.
Statisticscanalsobeviewedperstoragepath.
Table89.
StorageAdapterPanelStatisticsColumnDescriptionADAPTRNameofthestorageadapter.
PATHStoragepathname.
Thisnameisonlyvisibleifthecorrespondingadapterisexpanded.
SeeinteractivecommandeinTable810.
NPTHNumberofpaths.
AQLENCurrentqueuedepthofthestorageadapter.
CMDS/sNumberofcommandsissuedpersecond.
READS/sNumberofreadcommandsissuedpersecond.
WRITES/sNumberofwritecommandsissuedpersecond.
MBREAD/sMegabytesreadpersecond.
vSphereMonitoringandPerformanceVMware,Inc.
167Table89.
StorageAdapterPanelStatistics(Continued)ColumnDescriptionMBWRTN/sMegabyteswrittenpersecond.
RESV/sNumberofSCSIreservationspersecond.
CONS/sNumberofSCSIreservationconflictspersecond.
DAVG/cmdAveragedevicelatencypercommand,inmilliseconds.
KAVG/cmdAverageESXiVMkernellatencypercommand,inmilliseconds.
GAVG/cmdAveragevirtualmachineoperatingsystemlatencypercommand,inmilliseconds.
QAVG/cmdAveragequeuelatencypercommand,inmilliseconds.
DAVG/rdAveragedevicereadlatencyperreadoperation,inmilliseconds.
KAVG/rdAverageESXiVMkernelreadlatencyperreadoperation,inmilliseconds.
GAVG/rdAverageguestoperatingsystemreadlatencyperreadoperation,inmilliseconds.
QAVG/rdAveragequeuelatencyperreadoperation,inmilliseconds.
DAVG/wrAveragedevicewritelatencyperwriteoperation,inmilliseconds.
KAVG/wrAverageESXiVMkernelwritelatencyperwriteoperation,inmilliseconds.
GAVG/wrAverageguestoperatingsystemwritelatencyperwriteoperation,inmilliseconds.
QAVG/wrAveragequeuelatencyperwriteoperation,inmilliseconds.
FCMDS/sNumberoffailedcommandsissuedpersecond.
FREAD/sNumberoffailedreadcommandsissuedpersecond.
FWRITE/sNumberoffailedwritecommandsissuedpersecond.
FMBRD/sMegabytesoffailedreadoperationspersecond.
FMBWR/sMegabytesoffailedwriteoperationspersecond.
FRESV/sNumberoffailedSCSIreservationspersecond.
ABRTS/sNumberofcommandsabortedpersecond.
RESETS/sNumberofcommandsresetpersecond.
PAECMD/sThenumberofPAE(PhysicalAddressExtension)commandspersecond.
PAECP/sThenumberofPAEcopiespersecond.
SPLTCMD/sThenumberofsplitcommandspersecond.
SPLTCP/sThenumberofsplitcopiespersecond.
Thefollowingtabledisplaystheinteractivecommandsyoucanusewiththestorageadapterpanel.
Table810.
StorageAdapterPanelInteractiveCommandsCommandDescriptioneToggleswhetherstorageadapterstatisticsappearexpandedorunexpanded.
Allowsyoutoviewstorageresourceutilizationstatisticsbrokendownbyindividualpathsbelongingtoanexpandedstorageadapter.
Youarepromptedfortheadaptername.
rSortsbyREADS/scolumn.
vSphereMonitoringandPerformanceVMware,Inc.
168Table810.
StorageAdapterPanelInteractiveCommands(Continued)CommandDescriptionwSortsbyWRITES/scolumn.
RSortsbyMBREAD/sreadcolumn.
TSortsbyMBWRTN/swrittencolumn.
NSortsfirstbyADAPTRcolumn,thenbyPATHcolumn.
Thisisthedefaultsortorder.
StorageDevicePanelThestoragedevicepaneldisplaysserver-widestorageutilizationstatistics.
Bydefault,theinformationisgroupedperstoragedevice.
Youcanalsogroupthestatisticsperpath,perworld,orperpartition.
Table811.
StorageDevicePanelStatisticsColumnDescriptionDEVICENameofthestoragedevice.
PATHPathname.
Thisnameisvisibleonlyifthecorrespondingdeviceisexpandedtopaths.
SeetheinteractivecommandpinTable812.
WORLDWorldID.
ThisIDisvisibleonlyifthecorrespondingdeviceisexpandedtoworlds.
SeetheinteractivecommandeinTable812.
Theworldstatisticsareperworldperdevice.
PARTITIONPartitionID.
ThisIDisvisibleonlyifthecorrespondingdeviceisexpandedtopartitions.
SeeinteractivecommandtinTable812.
NPHNumberofpaths.
NWDNumberofworlds.
NPNNumberofpartitions.
SHARESNumberofshares.
Thisstatisticisapplicableonlytoworlds.
BLKSZBlocksizeinbytes.
NUMBLKSNumberofblocksofthedevice.
DQLENCurrentdevicequeuedepthofthestoragedevice.
WQLENWorldqueuedepth.
ThisisthemaximumnumberofESXiVMkernelactivecommandsthattheworldisallowedtohave.
Thisisaperdevicemaximumfortheworld.
Itisvalidonlyifthecorrespondingdeviceisexpandedtoworlds.
ACTVNumberofcommandsintheESXiVMkernelthatarecurrentlyactive.
Thisstatisticappliestoonlyworldsanddevices.
QUEDNumberofcommandsintheESXiVMkernelthatarecurrentlyqueued.
Thisstatisticappliestoonlyworldsanddevices.
%USDPercentageofthequeuedepthusedbyESXiVMkernelactivecommands.
Thisstatisticappliestoonlyworldsanddevices.
LOADRatioofESXiVMkernelactivecommandsplusESXiVMkernelqueuedcommandstoqueuedepth.
Thisstatisticappliestoonlyworldsanddevices.
CMDS/sNumberofcommandsissuedpersecond.
vSphereMonitoringandPerformanceVMware,Inc.
169Table811.
StorageDevicePanelStatistics(Continued)ColumnDescriptionREADS/sNumberofreadcommandsissuedpersecond.
WRITES/sNumberofwritecommandsissuedpersecond.
MBREAD/sMegabytesreadpersecond.
MBWRTN/sMegabyteswrittenpersecond.
DAVG/cmdAveragedevicelatencypercommandinmilliseconds.
KAVG/cmdAverageESXiVMkernellatencypercommandinmilliseconds.
GAVG/cmdAverageguestoperatingsystemlatencypercommandinmilliseconds.
QAVG/cmdAveragequeuelatencypercommandinmilliseconds.
DAVG/rdAveragedevicereadlatencyperreadoperationinmilliseconds.
KAVG/rdAverageESXiVMkernelreadlatencyperreadoperationinmilliseconds.
GAVG/rdAverageguestoperatingsystemreadlatencyperreadoperationinmilliseconds.
QAVG/rdAveragequeuereadlatencyperreadoperationinmilliseconds.
DAVG/wrAveragedevicewritelatencyperwriteoperationinmilliseconds.
KAVG/wrAverageESXiVMkernelwritelatencyperwriteoperationinmilliseconds.
GAVG/wrAverageguestoperatingsystemwritelatencyperwriteoperationinmilliseconds.
QAVG/wrAveragequeuewritelatencyperwriteoperationinmilliseconds.
ABRTS/sNumberofcommandsabortedpersecond.
RESETS/sNumberofcommandsresetpersecond.
PAECMD/sNumberofPAEcommandspersecond.
Thisstatisticappliestoonlypaths.
PAECP/sNumberofPAEcopiespersecond.
Thisstatisticappliestoonlypaths.
SPLTCMD/sNumberofsplitcommandspersecond.
Thisstatisticappliestoonlypaths.
SPLTCP/sNumberofsplitcopiespersecond.
Thisstatisticappliestoonlypaths.
Thefollowingtabledisplaystheinteractivecommandsyoucanusewiththestoragedevicepanel.
Table812.
StorageDevicePanelInteractiveCommandsCommandDescriptioneExpandorrollupstorageworldstatistics.
Thiscommandallowsyoutoviewstorageresourceutilizationstatisticsseparatedbyindividualworldsbelongingtoanexpandedstoragedevice.
Youarepromptedforthedevicename.
Thestatisticsareperworldperdevice.
PExpandorrollupstoragepathstatistics.
Thiscommandallowsyoutoviewstorageresourceutilizationstatisticsseparatedbyindividualpathsbelongingtoanexpandedstoragedevice.
Youarepromptedforthedevicename.
tExpandorrollupstoragepartitionstatistics.
Thiscommandallowsyoutoviewstorageresourceutilizationstatisticsseparatedbyindividualpartitionsbelongingtoanexpandedstoragedevice.
Youarepromptedforthedevicename.
rSortbyREADS/scolumn.
vSphereMonitoringandPerformanceVMware,Inc.
170Table812.
StorageDevicePanelInteractiveCommands(Continued)CommandDescriptionwSortbyWRITES/scolumn.
RSortbyMBREAD/scolumn.
TSortbyMBWRTNcolumn.
NSortfirstbyDEVICEcolumn,thenbyPATH,WORLD,andPARTITIONcolumn.
Thisisthedefaultsortorder.
LChangesthedisplayedlengthoftheDEVICEcolumn.
VirtualMachineStoragePanelThispaneldisplaysvirtualmachine-centricstoragestatistics.
Bydefault,statisticsareaggregatedonaper-resource-poolbasis.
Onevirtualmachinehasonecorrespondingresourcepool,sothepaneldisplaysstatisticsonaper-virtual-machinebasis.
Youcanalsoviewthestatisticsonper-VSCSI-devicebasis.
Table813.
VirtualMachineStoragePanelStatisticsColumnDescriptionIDResourcepoolIDorVSCSIIDofVSCSIdevice.
GIDResourcepoolID.
VMNAMENameoftheresourcepool.
VSCSINAMENameoftheVSCSIdevice.
NDKNumberofVSCSIdevicesCMDS/sNumberofcommandsissuedpersecond.
READS/sNumberofreadcommandsissuedpersecond.
WRITES/sNumberofwritecommandsissuedpersecond.
MBREAD/sMegabytesreadpersecond.
MBWRTN/sMegabyteswrittenpersecond.
LAT/rdAveragelatency(inmilliseconds)perread.
LAT/wrAveragelatency(inmilliseconds)perwrite.
Thefollowingtableliststheinteractivecommandsyoucanusewiththevirtualmachinestoragepanel.
Table814.
VirtualMachineStoragePanelInteractiveCommandsCommandDescriptioneExpandorrollupstorageVSCSIstatistics.
AllowsyoutoviewstorageresourceutilizationstatisticsbrokendownbyindividualVSCSIdevicesbelongingtoagroup.
YouarepromptedtoenterthegroupID.
ThestatisticsareperVSCSIdevice.
rSortbyREADS/scolumn.
wSortbyWRITES/scolumn.
RSortbyMBREAD/scolumn.
vSphereMonitoringandPerformanceVMware,Inc.
171Table814.
VirtualMachineStoragePanelInteractiveCommands(Continued)CommandDescriptionTSortbyMBWRTN/scolumn.
NSortfirstbyVMNAMEcolumn,andthenbyVSCSINAMEcolumn.
Itisthedefaultsortorder.
NetworkPanelTheNetworkpaneldisplaysserver-widenetworkutilizationstatistics.
Statisticsarearrangedbyportforeachvirtualnetworkdeviceconfigured.
Forphysicalnetworkadapterstatistics,seetherowinthetablethatcorrespondstotheporttowhichthephysicalnetworkadapterisconnected.
Forstatisticsonavirtualnetworkadapterconfiguredinaparticularvirtualmachine,seetherowcorrespondingtotheporttowhichthevirtualnetworkadapterisconnected.
Table815.
NetworkPanelStatisticsColumnDescriptionPORT-IDVirtualnetworkdeviceportID.
UPLINKYmeansthatthecorrespondingportisanuplink.
Nmeansitisnot.
UPYmeansthatthecorrespondinglinkisup.
Nmeansitisnot.
SPEEDLinkspeedinMegabitspersecond.
FDUPLXYmeansthecorrespondinglinkisoperatingatfullduplex.
Nmeansitisnot.
USED-BYVirtualnetworkdeviceportuser.
DTYPVirtualnetworkdevicetype.
HmeansHUBandSmeansswitch.
DNAMEVirtualnetworkdevicename.
PKTTX/sNumberofpacketstransmittedpersecond.
PKTRX/sNumberofpacketsreceivedpersecond.
MbTX/sMegaBitstransmittedpersecond.
MbRX/sMegaBitsreceivedpersecond.
%DRPTXPercentageoftransmitpacketsdropped.
%DRPRXPercentageofreceivepacketsdropped.
TEAM-PNICNameofthephysicalNICusedfortheteamuplink.
PKTTXMUL/sNumberofmulticastpacketstransmittedpersecond.
PKTRXMUL/sNumberofmulticastpacketsreceivedpersecond.
PKTTXBRD/sNumberofbroadcastpacketstransmittedpersecond.
PKTRXBRD/sNumberofbroadcastpacketsreceivedpersecond.
Thefollowingtabledisplaystheinteractivecommandsyoucanusewiththenetworkpanel.
vSphereMonitoringandPerformanceVMware,Inc.
172Table816.
NetworkPanelInteractiveCommandsCommandDescriptionTSortsbyMbTxcolumn.
RSortsbyMbRxcolumn.
tSortsbyPacketsTxcolumn.
rSortsbyPacketsRxcolumn.
NSortsbyPORT-IDcolumn.
Thisisthedefaultsortorder.
LChangesthedisplayedlengthoftheDNAMEcolumn.
InterruptPanelTheinterruptpaneldisplaysinformationabouttheuseofinterruptvectors.
Table817.
InterruptPanelStatisticsColumnDescriptionVECTORInterruptvectorID.
COUNT/sTotalnumberofinterruptspersecond.
ThisvalueiscumulativeofthecountforeveryCPU.
COUNT_xInterruptspersecondonCPUx.
TIME/intAverageprocessingtimeperinterrupt(inmicroseconds).
TIME_xAverageprocessingtimeperinterruptonCPUx(inmicroseconds).
DEVICESDevicesthatusetheinterruptvector.
Iftheinterruptvectorisnotenabledforthedevice,itsnameisenclosedinanglebrackets().
UsingBatchModeBatchmodeallowsyoutocollectandsaveresourceutilizationstatisticsinafile.
Afteryouprepareforbatchmode,youcanuseesxtoporresxtopinthismode.
PrepareforBatchModeToruninbatchmode,youmustfirstprepareforbatchmode.
Procedure1Runresxtop(oresxtop)ininteractivemode.
2Ineachofthepanels,selectthecolumnsyouwant.
3Savethisconfigurationtoafile(bydefault~/.
esxtop50rc)usingtheWinteractivecommand.
Youcannowuseresxtop(oresxtop)inbatchmode.
UseesxtoporresxtopinBatchModeAfteryouhavepreparedforbatchmode,youcanuseesxtoporresxtopinthismode.
vSphereMonitoringandPerformanceVMware,Inc.
173Procedure1Startresxtop(oresxtop)toredirecttheoutputtoafile.
Forexample:esxtop-b>my_file.
csvThefilenamemusthavea.
csvextension.
Theutilitydoesnotenforcethis,butthepost-processingtoolsrequireit.
2ProcessstatisticscollectedinbatchmodeusingtoolssuchasMicrosoftExcelandPerfmon.
Inbatchmode,resxtop(oresxtop)doesnotacceptinteractivecommands.
Inbatchmode,theutilityrunsuntilitproducesthenumberofiterationsrequested(seecommand-lineoptionn,below,formoredetails),oruntilyouendtheprocessbypressingCtrl+c.
BatchModeCommand-LineOptionsYoucanusebatchmodewithcommand-lineoptions.
Table818.
Command-LineOptionsinBatchModeOptionDescriptionaShowallstatistics.
Thisoptionoverridesconfigurationfilesetupsandshowsallstatistics.
Theconfigurationfilecanbethedefault~/.
esxtop50rcconfigurationfileorauser-definedconfigurationfile.
bRunsresxtop(oresxtop)inbatchmode.
cfilenameLoadauser-definedconfigurationfile.
Ifthe-coptionisnotused,thedefaultconfigurationfilenameis~/.
esxtop41rc.
Createyourownconfigurationfile,specifyingadifferentfilename,usingtheWsingle-keyinteractivecommand.
dSpecifiesthedelaybetweenstatisticssnapshots.
Thedefaultisfiveseconds.
Theminimumistwoseconds.
Ifadelayoflessthantwosecondsisspecified,thedelayissettotwoseconds.
nNumberofiterations.
resxtop(oresxtop)collectsandsavesstatisticsthisnumberoftimes,andthenexits.
serverThenameoftheremoteserverhosttoconnectto(required,resxtoponly).
vihostIfyouconnectindirectly(throughvCenterServer),thisoptionshouldcontainthenameoftheESXihostyouconnectto.
IfyouconnectdirectlytotheESXihost,thisoptionisnotused.
NoteThehostnameneedstobethesameaswhatappearsinthevSphereWebClient.
portnumberTheportnumbertoconnecttoontheremoteserver.
Thedefaultportis443,andunlessthisischangedontheserver,thisoptionisnotneeded.
(resxtoponly)usernameTheusernametobeauthenticatedwhenconnectingtotheremotehost.
Youarepromptedbytheremoteserverforapassword,aswell(resxtoponly).
UsingReplayModeInreplaymode,esxtopreplaysresourceutilizationstatisticscollectedusingvm-support.
vSphereMonitoringandPerformanceVMware,Inc.
174Afteryouprepareforreplaymode,youcanuseesxtopinthismode.
Seethevm-supportmanpage.
Inreplaymode,esxtopacceptsthesamesetofinteractivecommandsasininteractivemodeandrunsuntilnomoresnapshotsarecollectedbyvm-supporttobereadoruntiltherequestednumberofiterationsarecompleted.
PrepareforReplayModeToruninreplaymode,youmustprepareforreplaymode.
Procedure1Runvm-supportinsnapshotmodeintheESXiShell.
Usethefollowingcommand.
vm-support-S-dduration-Iinterval2Unzipanduntartheresultingtarfilesothatesxtopcanuseitinreplaymode.
Youcannowuseesxtopinreplaymode.
UseesxtopinReplayModeYoucanuseesxtopinreplaymode.
Replaymodecanberuntoproduceoutputinthesamestyleasbatchmode(seethecommand-lineoptionb,below).
NoteBatchoutputfromesxtopcannotbeplayedbackbyresxtop.
Snapshotscollectedbyvm-supportedcanbereplayedbyesxtop.
However,vm-supportoutputgeneratedbyESXicanbereplayedonlybyesxtoprunningonthesameversionofESXi.
ProcedureuToactivatereplaymode,enterthefollowingatthecommand-lineprompt.
esxtop-Rvm-support_dir_pathReplayModeCommand-LineOptionsYoucanusereplaymodewithcommand-lineoptions.
Thefollowingtableliststhecommand-lineoptionsavailableforesxtopreplaymode.
vSphereMonitoringandPerformanceVMware,Inc.
175Table819.
Command-LineOptionsinReplayModeOptionDescriptionRPathtothevm-supportcollectedsnapshot'sdirectory.
aShowallstatistics.
Thisoptionoverridesconfigurationfilesetupsandshowsallstatistics.
Theconfigurationfilecanbethedefault~/.
esxtop50rcconfigurationfileorauser-definedconfigurationfile.
bRunsesxtopinBatchmode.
cfilenameLoadauser-definedconfigurationfile.
Ifthe-coptionisnotused,thedefaultconfigurationfilenameis~/.
esxtop50rc.
CreateyourownconfigurationfileandspecifyadifferentfilenameusingtheWsingle-keyinteractivecommand.
dSpecifiesthedelaybetweenpanelupdates.
Thedefaultisfiveseconds.
Theminimumistwoseconds.
Ifadelayoflessthantwosecondsisspecified,thedelayissettotwoseconds.
nNumberofiterationsesxtopupdatesthedisplaythisnumberoftimesandthenexits.
vSphereMonitoringandPerformanceVMware,Inc.
176UsingthevimtopPlug-IntoMonitortheResourceUseofServices9Youcanusethevimtoputilityplug-intomonitorvSphereservicesthatruninthevCenterServerAppliance.
vimtopisatoolsimilartoesxtop,whichrunsintheenvironmentofthevCenterServerAppliance.
Byusingthetext-basedinterfaceofvimtopintheapplianceshell,youcanviewoverallinformationaboutthevCenterServerAppliance,andalistofvSphereservicesandtheirresourceuse.
Thischapterincludesthefollowingtopics:nMonitorServicesByUsingvimtopinInteractiveModenInteractiveModeCommand-LineOptionsnInteractiveModeSingle-KeyCommandsforvimtopMonitorServicesByUsingvimtopinInteractiveModeYoucanusethevimtopplug-intomonitorservicesinrealtime.
Thedefaultviewofthevimtopinteractivemodeconsistsoftheoverviewtablesandthemaintable.
Youcanusesingle-keycommandsininteractivemodetoswitchtheviewfromprocessestodisksornetwork.
Procedure1FromanSSHclientapplication,logintothevCenterServerApplianceshell.
2Runthevimtopcommandtoaccesstheplug-inininteractivemode.
InteractiveModeCommand-LineOptionsYoucanusevariouscommand-lineoptionswhenyourunthevimtopcommandtoentertheplug-ininteractivemode.
Table91.
InteractiveModeCommand-LineOptionsOptionDescription-hPrintshelpforthevimtopcommand-lineoptions.
-vPrintsthevimtopversionnumber.
VMware,Inc.
177Table91.
InteractiveModeCommand-LineOptions(Continued)OptionDescription-cfilenameLoadsauser-definedvimtopconfigurationfile.
Ifthe-coptionisnotused,thedefaultconfigurationfileis/root/vimtop/vimtop.
xml.
Youcancreateyourownconfigurationfile,specifyingadifferentfilenameandpathbyusingtheWsingle-keyinteractivecommand.
-nnumberSetsthenumberofperformediterationsbeforethevimtopexitsinteractivemode.
vimtopupdatesthedisplaynumbernumberoftimesandexits.
Thedefaultvalueis10000.
-p/-dsecondsSetstheupdateperiodinseconds.
InteractiveModeSingle-KeyCommandsforvimtopWhenrunningininteractivemode,vimtoprecognizesseveralsingle-keycommands.
Allinteractivemodepanelsrecognizethecommandslistedinthefollowingtable.
Table92.
InteractiveModeSingle-KeyCommandsKeyNamesDescriptionhShowahelpmenuforthecurrentpanel,givingabriefsummaryofcommands,andthestatusofsecuremode.
iShoworhidethetoplineviewoftheoverviewpanelofthevimtopplug-in.
tShoworhidetheTaskssection,whichdisplaysinformationintheoverviewpanelaboutthetaskscurrentlyrunningonthevCenterServerinstance.
mShoworhidetheMemorysectionintheoverviewpanel.
fShoworhidetheCPUsectionwhichdisplaysinformationintheoverviewpanelaboutallavailableCPUs.
gShoworhidetheCPUssectionwhichdisplaysinformationintheoverviewpanelaboutthetop4physicalCPUs.
spacebarImmediatelyrefreshesthecurrentpane.
pPausethedisplayedinformationabouttheservicesresourceuseinthecurrentpanels.
rRefreshthedisplayedinformationabouttheservicesresourceuseinthecurrentpanels.
sSetrefreshperiod.
qExittheinteractivemodeofthevimtopplug-in.
kDisplaystheDisksviewofthemainpanel.
oSwitchthemainpaneltoNetworkview.
EscClearselectionorreturntotheProcessesviewofthemainpanel.
EnterSelectaservicetoviewadditionaldetails.
nShoworhidenamesoftheheadersinthemainpanel.
uShoworhidethemeasurementunitsintheheadersinthemainpanel.
left,rightarrowsSelectcolumns.
up,downarrowsSelectrows.
Moveaselectedcolumn.
vSphereMonitoringandPerformanceVMware,Inc.
178Table92.
InteractiveModeSingle-KeyCommands(Continued)KeyNamesDescriptionDeleteRemoveselectedcolumn.
cAddacolumntothecurrentviewofthemainpanel.
Usespacebartoaddorremovecolumnsfromthedisplayedlist.
aSorttheselectedcolumninascendingorder.
dSorttheselectedcolumnindescendingorder.
zClearthesortorderforallcolumns.
lSetwidthfortheselectedcolumn.
xReturnthecolumnwidthstotheirdefaultvalues.
+Expandselecteditem.
-Collapseselecteditem.
wWritethecurrentsetuptoavimtopconfigurationfile.
Thedefaultfilenameistheonespecifiedby-coption,or/root/vimtop/vimtop.
xmlifthe-coptionisnotused.
Youcanalsospecifyadifferentfilenameonthepromptgeneratedbythewcommand.
vSphereMonitoringandPerformanceVMware,Inc.
179MonitoringNetworkedDeviceswithSNMPandvSphere10SimpleNetworkManagementProtocol(SNMP)iscommonlyusedbymanagementprogramstomonitoravarietyofnetworkeddevices.
vSpheresystemsrunSNMPagents,whichcanprovideinformationtoamanagementprograminatleastoneofthefollowingways:nInresponsetoaGET,GETBULK,orGETNEXToperation,whichisaspecificrequestforinformationfromthemanagementsystem.
nBysendinganotificationwhichisanalertsentbytheSNMPagenttonotifythemanagementsystemofaparticulareventorcondition.
ManagementInformationBase(MIB)filesdefinetheinformationthatcanbeprovidedbymanageddevices.
TheMIBfilesdefinemanagedobjects,describedbyobjectidentifiers(OIDs)andvariablesarrangedinahierarchy.
vCenterServerandESXihaveSNMPagents.
Theagentprovidedwitheachproducthasdifferentcapabilities.
Thischapterincludesthefollowingtopics:nUsingSNMPTrapswithvCenterServernConfigureSNMPforESXinSNMPDiagnosticsnMonitorGuestOperatingSystemswithSNMPnVMwareMIBFilesnSNMPv2DiagnosticCountersUsingSNMPTrapswithvCenterServerTheSNMPagentincludedwithvCenterServercanbeusedtosendtrapswhenvCenterServerstartsandwhenanalarmistriggeredonvCenterServer.
ThevCenterServerSNMPagentfunctionsonlyasatrapemitteranddoesnotsupportotherSNMPoperations,suchasreceivingGET,GETBULK,andGETNEXTrequests.
vCenterServercansendSNMPv1trapstoothermanagementapplications.
YoumustconfigureyourmanagementservertointerprettheSNMPtrapssentbyvCenterServer.
VMware,Inc.
180TousethevCenterServerSNMPtraps,configuretheSNMPsettingsonvCenterServerandyourmanagementclientsoftwaretoacceptthetrapsfromvCenterServer.
ThetrapssentbyvCenterServeraredefinedinVMWARE-VC-EVENT-MIB.
mib.
ConfigureSNMPSettingsforvCenterServerIfyouplantouseSNMPwithvCenterServer,youmustusethevSphereWebClienttoconfiguretheSNMPsettings.
PrerequisitesnVerifythatthevSphereWebClientisconnectedtoavCenterServerinstance.
nVerifythatyouhavethedomainnameorIPaddressoftheSNMPreceiver,theportnumberofthereceiver,andthecommunitystring.
Procedure1InthevSphereWebClient,navigatetoavCenterServerinstance.
2ClicktheConfiguretab.
3UnderSettings,clickGeneral.
4OnthevCenterServerSettingscentralpane,clickEdit.
TheEditvCenterServerSettingswizardopens.
5ClickSNMPreceiverstoedittheirsettings.
6EnterthefollowinginformationfortheprimaryreceiveroftheSNMPtraps.
OptionDescriptionPrimaryReceiverURLEnterthedomainnameorIPaddressofthereceiverofSNMPtraps.
EnablereceiverSelectthecheckboxtoenabletheSNMPreceiver.
ReceiverportEntertheportnumberofthereceivertowhichtheSNMPagentsendstraps.
Iftheportvalueisempty,vCenterServerusesport162bydefault.
CommunitystringEnterthecommunitystringthatisusedforauthentication.
7(Optional)EnterinformationaboutotherSNMPreceiversintheReceiver2URL,Receiver3URL,andReceiver4URLoptions,andselectEnabled.
8ClickOK.
ThevCenterServersystemisnowreadytosendtrapstothemanagementsystemyouhavespecified.
WhattodonextConfigureyourSNMPmanagementsoftwaretoreceiveandinterpretdatafromthevCenterServerSNMPagent.
SeeConfigureSNMPManagementClientSoftware.
vSphereMonitoringandPerformanceVMware,Inc.
181ConfigureSNMPforESXiESXiincludesanSNMPagentthatcansendnotifications(trapsandinforms)andreceiveGET,GETBULK,andGETNEXTrequests.
InESXi5.
1andlaterreleases,theSNMPagentaddssupportforversion3oftheSNMPprotocol,offeringincreasedsecurityandimprovedfunctionality,includingtheabilitytosendinforms.
YoucanuseesxclicommandstoenableandconfiguretheSNMPagent.
YouconfiguretheagentdifferentlydependingonwhetheryouwanttouseSNMPv1/v2corSNMPv3.
AsanalternativetoconfiguringSNMPmanuallyusingesxclicommands,youcanusehostprofilestoconfigureSNMPforanESXihost.
SeethevSphereHostProfilesdocumentationformoreinformation.
NoteForinformationonconfiguringSNMPforESXi5.
0orearlierorESX4.
1orearlier,seethedocumentationfortheappropriateproductversion.
nConfiguretheSNMPAgentforPollingIfyouconfiguretheESXiSNMPagentforpolling,itcanlistenforandrespondtorequestsfromSNMPmanagementclientsystems,suchasGET,GETNEXTandGETBULKrequests.
nConfigureESXiforSNMPv1andSNMPv2cWhenyouconfiguretheESXiSNMPagentforSNMPv1andSNMPv2c,theagentsupportssendingnotificationsandreceivingGETrequests.
nConfigureESXiforSNMPv3WhenyouconfiguretheESXiSNMPagentforSNMPv3,theagentsupportssendinginformsandtraps.
SNMPv3alsoprovidesstrongersecuritythanSNMPv1orSNMPv2c,includingkeyauthenticationandencryption.
nConfiguretheSourceofHardwareEventsReceivedbytheSNMPAgentYoucanconfiguretheESXiSNMPagenttoreceivehardwareeventseitherfromIPMIsensorsorCIMindications.
nConfiguretheSNMPAgenttoFilterNotificationsYoucanconfiguretheESXiSNMPagenttofilteroutnotificationsifyoudon'twantyourSNMPmanagementsoftwaretoreceivethosenotifications.
nConfigureSNMPManagementClientSoftwareAfteryouhaveconfiguredavCenterServerinstanceoranESXihosttosendtraps,configureyourmanagementclientsoftwaretoreceiveandinterpretthosetraps.
ConfiguretheSNMPAgentforPollingIfyouconfiguretheESXiSNMPagentforpolling,itcanlistenforandrespondtorequestsfromSNMPmanagementclientsystems,suchasGET,GETNEXTandGETBULKrequests.
vSphereMonitoringandPerformanceVMware,Inc.
182Bydefault,theembeddedSNMPagentlistensonUDPport161forpollingrequestsfrommanagementsystems.
Youcanusetheesxclisystemsnmpsetcommandwiththe--portoptiontoconfigureanalternativeport.
Toavoidconflictingwithotherservices,useaUDPportthatisnotdefinedin/etc/services.
IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
Procedure1Runtheesxclisystemsnmpsetcommandwiththe--portoptiontoconfiguretheport.
Forexample,runthefollowingcommand:esxclisystemsnmpset--portportHere,portistheporttheSNMPagentusestolistenforpollingrequests.
NoteTheportyouspecifymustnotbealreadyinusebyotherservices.
UseIPaddressesfromthedynamicrange,port49152andup.
2(Optional)IftheESXiSNMPagentisnotenabled,runthefollowingcommand:esxclisystemsnmpset--enabletrueConfigureESXiforSNMPv1andSNMPv2cWhenyouconfiguretheESXiSNMPagentforSNMPv1andSNMPv2c,theagentsupportssendingnotificationsandreceivingGETrequests.
InSNMPv1andSNMPv2c,authenticationisperformedbyusingcommunitystrings.
Communitystringsarenamespaceswhichcontainoneormoremanagedobjects.
ThisformofauthenticationdoesnotsecurethecommunicationbetweentheSNMPagentandthemanagementsystem.
TosecuretheSNMPcommunicationinyourenvironment,useSNMPv3.
Procedure1ConfigureSNMPCommunitiesToenabletheESXiSNMPagenttosendandreceiveSNMPv1andv2cmessages,youmustconfigureatleastonecommunityfortheagent.
vSphereMonitoringandPerformanceVMware,Inc.
1832ConfiguretheSNMPAgenttoSendSNMPv1orv2cNotificationsYoucanusetheESXiSNMPagenttosendvirtualmachineandenvironmentalnotificationstomanagementsystems.
ConfigureSNMPCommunitiesToenabletheESXiSNMPagenttosendandreceiveSNMPv1andv2cmessages,youmustconfigureatleastonecommunityfortheagent.
AnSNMPcommunitydefinesagroupofdevicesandmanagementsystems.
OnlydevicesandmanagementsystemsthataremembersofthesamecommunitycanexchangeSNMPmessages.
Adeviceormanagementsystemcanbeamemberofmultiplecommunities.
IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
ProcedureuRuntheesxclisystemsnmpsetcommandwiththe--communitiesoptiontoconfigureanSNMPcommunity.
Forexample,toconfigurepublic,East,andWestnetworkoperationcenterscommunities,runthefollowingcommand:esxclisystemsnmpset--communitiespublic,eastnoc,westnocEachtimeyouspecifyacommunitywiththiscommand,thesettingsyouspecifyoverwritethepreviousconfiguration.
Tospecifymultiplecommunities,separatethecommunitynameswithacomma.
ConfiguretheSNMPAgenttoSendSNMPv1orv2cNotificationsYoucanusetheESXiSNMPagenttosendvirtualmachineandenvironmentalnotificationstomanagementsystems.
TosendSNMPv1/v2cnotificationswiththeSNMPagent,youmustconfigurethetarget(receiver)unicastaddress,community,andanoptionalport.
Ifyoudonotspecifyaport,theSNMPagentsendstrapstoUDPport162onthetargetmanagementsystembydefault.
ToconfigureSNMPv3traps,seeConfigureSNMPv3Targets.
vSphereMonitoringandPerformanceVMware,Inc.
184IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
Procedure1Runtheesxclisystemsnmpsetcommandwiththe--targetsoption:esxclisystemsnmpset--targetstarget_address@port/communityHere,target_addressistheaddressofthetargetsystem,portistheportnumbertosendthenotificationsto,andcommunityisthecommunityname.
Eachtimeyouspecifyatargetwiththiscommand,thesettingsyouspecifyoverwriteallpreviouslyspecifiedsettings.
Tospecifymultipletargets,separatethemwithacomma.
Forexample,runthefollowingcommandforconfiguringthetargets192.
0.
2.
1@163/westnocand2001:db8::1@163/eastnoc:esxclisystemsnmpset--targets192.
0.
2.
1@163/westnoc,2001:db8::1@163/eastnoc2(Optional)IftheESXiSNMPagentisnotenabled,runthefollowingcommand:esxclisystemsnmpset--enabletrue3(Optional)Sendatesttraptoverifythattheagentisconfiguredcorrectlybyrunningtheesxclisystemsnmptestcommand.
TheagentsendsawarmStarttraptotheconfiguredtarget.
ConfigureESXiforSNMPv3WhenyouconfiguretheESXiSNMPagentforSNMPv3,theagentsupportssendinginformsandtraps.
SNMPv3alsoprovidesstrongersecuritythanSNMPv1orSNMPv2c,includingkeyauthenticationandencryption.
Informisanotificationthatthesenderresendsuptothreetimesoruntilthereceiveracknowledgesthenotification.
Procedure1ConfiguretheSNMPEngineIDEverySNMPv3agenthasanengineIDwhichservesasauniqueidentifierfortheagent.
TheengineIDisusedwithahashingfunctiontogeneratekeysforauthenticationandencryptionofSNMPv3messages.
vSphereMonitoringandPerformanceVMware,Inc.
1852ConfigureSNMPAuthenticationandPrivacyProtocolsSNMPv3optionallysupportsauthenticationandprivacyprotocols.
3ConfigureSNMPUsersYoucanconfigureupto5userswhocanaccessSNMPv3information.
Usernamesmustbenomorethan32characterslong.
4ConfigureSNMPv3TargetsConfigureSNMPv3targetstoallowtheESXiSNMPagenttosendSNMPv3trapsandinforms.
ConfiguretheSNMPEngineIDEverySNMPv3agenthasanengineIDwhichservesasauniqueidentifierfortheagent.
TheengineIDisusedwithahashingfunctiontogeneratekeysforauthenticationandencryptionofSNMPv3messages.
IfyoudonotspecifyanengineID,whenyouenabletheSNMPagent,anengineIDisautomaticallygenerated.
IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
ProcedureuRuntheesxclisystemsnmpsetcommandwiththe--engineidoptiontoconfiguretheSNMPengineID.
Forexample,runthefollowingcommand:esxclisystemsnmpset--engineididHere,idistheengineIDanditmustbeahexadecimalstringbetween5and32characterslong.
ConfigureSNMPAuthenticationandPrivacyProtocolsSNMPv3optionallysupportsauthenticationandprivacyprotocols.
Authenticationisusedtoensuretheidentityofusers.
PrivacyallowsforencryptionofSNMPv3messagestoensureconfidentialityofdata.
TheseprotocolsprovideahigherlevelofsecuritythanisavailableinSNMPv1andSNMPv2c,whichusecommunitystringsforsecurity.
Bothauthenticationandprivacyareoptional.
However,youmustenableauthenticationtoenableprivacy.
TheSNMPv3authenticationandprivacyprotocolsarelicensedvSpherefeaturesandmightnotbeavailableinsomevSphereeditions.
vSphereMonitoringandPerformanceVMware,Inc.
186IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
Procedure1(Optional)Runtheesxclisystemsnmpsetcommandwiththe--authenticationoptiontoconfigureauthentication.
Forexample,runthefollowingcommand:esxclisystemsnmpset--authenticationprotocolHere,protocolmustbeeithernone(fornoauthentication),SHA1,orMD5.
2(Optional)Runtheesxclisystemsnmpsetcommandwiththe--privacyoptiontoconfigureprivacy.
Forexample,runthefollowingcommand:esxclisystemsnmpset--privacyprotocolHere,protocolmustbeeithernone(fornoprivacy)orAES128.
ConfigureSNMPUsersYoucanconfigureupto5userswhocanaccessSNMPv3information.
Usernamesmustbenomorethan32characterslong.
Whileconfiguringauser,yougenerateauthenticationandprivacyhashvaluesbasedontheuser'sauthenticationandprivacypasswordsandtheSNMPagent'sengineID.
IfyouchangetheengineID,theauthenticationprotocol,ortheprivacyprotocolafterconfiguringusers,theusersarenolongervalidandmustbereconfigured.
IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesnVerifythatyouhaveconfiguredtheauthenticationandprivacyprotocolsbeforeconfiguringusers.
nVerifythatyouknowtheauthenticationandprivacypasswordsforeachuseryouplantoconfigure.
Passwordsmustbeatleast7characterslong.
Storethesepasswordsinfilesonthehostsystem.
vSphereMonitoringandPerformanceVMware,Inc.
187nConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
Procedure1Ifyouareusingauthenticationorprivacy,gettheauthenticationandprivacyhashvaluesfortheuserbyrunningtheesxclisystemsnmphashcommandwiththe--auth-hashand--priv-hashflags.
Forexample,runthefollowingcommand:esxclisystemsnmphash--auth-hashsecret1--priv-hashsecret2Here,secret1isthepathtothefilecontainingtheuser'sauthenticationpasswordandsecret2isthepathtothefilecontainingtheuser'sprivacypassword.
Alternatively,youcanpassthe--raw-secretflagandspecifythepasswordsdirectlyonthecommandline.
Forexample,youcanrunthefollowingcommand:esxclisystemsnmphash--auth-hashauthsecret--priv-hashprivsecret--raw-secretTheproducedoutputmightbethefollowing:Authhash:08248c6eb8b333e75a29ca0af06b224faa7d22d6Privhash:232ba5cbe8c55b8f979455d3c9ca8b48812adb97Theauthenticationandprivacyhashvaluesaredisplayed.
2Configuretheuserbyrunningtheesxclisystemsnmpsetcommandwiththe--usersflag.
Forexample,youcanrunthefollowingcommand:esxclisystemsnmpset--usersuserid/authhash/privhash/securityThecommandacceptsthefollowingparameters:ParameterDescriptionuseridTheusername.
authhashTheauthenticationhashvalue.
vSphereMonitoringandPerformanceVMware,Inc.
188ParameterDescriptionprivhashTheprivacyhashvalue.
securityThelevelofsecurityenabledforthatuser,whichcanbeauth(forauthenticationonly),priv(forauthenticationandprivacy),ornone(fornoauthenticationorprivacy).
Forexample,runthefollowingcommandtoconfigureuser1foraccesswithauthenticationandprivacy:esxclisystemsnmpset--usersuser1/08248c6eb8b333e75a29ca0af06b224faa7d22d6/232ba5cbe8c55b8f979455d3c9ca8b48812adb97/privYoumustrunthefollowingcommandtoconfigureuser2foraccesswithnoauthenticationorprivacy:esxclisystemsnmpset--usersuser2/-/-/none3(Optional)Testtheuserconfigurationbyrunningthefollowingcommand:esxclisystemsnmptest--usersusername--auth-hashsecret1--priv-hashsecret2Iftheconfigurationiscorrect,thiscommandreturnsthefollowingmessage:"Userusernamevalidatedcorrectlyusingengineidandsecuritylevel:protocols".
Here,protocolsindicatesthesecurityprotocolsconfigured.
ConfigureSNMPv3TargetsConfigureSNMPv3targetstoallowtheESXiSNMPagenttosendSNMPv3trapsandinforms.
SNMPv3allowsforsendingbothtrapsandinforms.
Aninformmessageisatypeofamessagethatthesenderresendsamaximumofthreetimes.
Thesenderwaitsfor5secondsbetweeneachattempt,unlessthemessageisacknowledgedbythereceiver.
YoucanconfigureamaximumofthreeSNMPv3targets,inadditiontoamaximumofthreeSNMPv1/v2ctargets.
Toconfigureatarget,youmustspecifyahostnameorIPaddressofthesystemthatreceivesthetrapsorinforms,ausername,asecuritylevel,andwhethertosendtrapsorinforms.
Thesecuritylevelcanbeeithernone(fornosecurity),auth(forauthenticationonly),orpriv(forauthenticationandprivacy).
IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesnEnsurethattheuserswhoaccessthetrapsorinformsareconfiguredasSNMPusersforboththeESXiSNMPagentandthetargetmanagementsystem.
nIfyouareconfiguringinforms,youneedtheengineIDfortheSNMPagentontheremotesystemthatreceivestheinformmessage.
vSphereMonitoringandPerformanceVMware,Inc.
189nConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
Procedure1(Optional)Ifyouareconfiguringinforms,configuretheremoteusersbyrunningtheesxclisystemsnmpsetcommandwiththe--remote-usersoption.
Forexample,runthefollowingcommand:esxclisystemsnmpset--remote-usersuserid/auth-protocol/auth-hash/priv-protocol/priv-hash/engine-idThecommandacceptsthefollowingparameters:ParameterDescriptionuseridTheusername.
auth-protocolTheauthenticationprotocol,none(fornoauthentication),MD5,orSHA1.
auth-hashTheauthenticationhashor-iftheauthenticationprotocolisnone.
priv-protocolTheprivacyprotocol,AES128,ornone.
priv-hashTheprivacyhash,or-iftheprivacyprotocolisnone.
engine-idTheengineIDoftheSNMPagentontheremotesystemthatreceivestheinformmessage.
2Runtheesxclisystemsnmpsetcommandwiththe--v3targetsoption.
Forexample,runthefollowingcommand:esxclisystemsnmpset--v3targetshostname@port/userid/secLevel/message-typeTheparametersofthecommandareasfollows.
ParameterDescriptionhostnameThehostnameorIPaddressofthemanagementsystemthatreceivesthetrapsorinforms.
portTheportonthemanagementsystemthatreceivesthetrapsorinforms.
Ifyoudonotspecifyaport,thedefaultport,162,isused.
useridTheusername.
secLevelThelevelofauthenticationandprivacyyouhaveconfigured.
Useauthifyouhaveconfiguredauthenticationonly,privifyouhaveconfiguredbothauthenticationandprivacy,andnoneifyouhaveconfiguredneither.
message-typeThetypeofthemessagesreceivedbythemanagementsystem.
Usetraporinform.
3(Optional)IftheESXiSNMPagentisnotenabled,runthefollowingcommand:esxclisystemsnmpset--enabletruevSphereMonitoringandPerformanceVMware,Inc.
1904(Optional)Sendatestnotificationtoverifythattheagentisconfiguredcorrectlybyrunningtheesxclisystemsnmptestcommand.
TheagentsendsawarmStartnotificationtotheconfiguredtarget.
ConfiguretheSourceofHardwareEventsReceivedbytheSNMPAgentYoucanconfiguretheESXiSNMPagenttoreceivehardwareeventseitherfromIPMIsensorsorCIMindications.
IPMIsensorsareusedforhardwaremonitoringinESX/ESXi4.
xandearlier.
TheconversionofCIMindicationstoSNMPnotificationsisavailableinESXi5.
0andlater.
IfyourunESXCLIcommandsthroughvCLI,youmustsupplyconnectionoptionsthatspecifythetargethostandlogincredentials.
IfyouuseESXCLIcommandsdirectlyonahostusingtheESXiShell,youcanusethecommandsasgivenwithoutspecifyingconnectionoptions.
FormoreinformationonconnectionoptionsseevSphereCommand-LineInterfaceConceptsandExamples.
PrerequisitesConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
Procedure1Runtheesxclisystemsnmpset--hwsrcsourcecommandtoconfigurethesourceforhardwareevents.
Here,sourceissensorsorindications,forhardwareeventreceivedfromIPMIsensorsorCIMindicationsrespectively.
2(Optional)IftheESXiSNMPagentisnotenabled,runthefollowingcommand:esxclisystemsnmpset--enabletrueConfiguretheSNMPAgenttoFilterNotificationsYoucanconfiguretheESXiSNMPagenttofilteroutnotificationsifyoudon'twantyourSNMPmanagementsoftwaretoreceivethosenotifications.
PrerequisitesConfiguretheESXiSNMPagentbyusingtheESXCLIcommands.
SeeGettingStartedwithvSphereCommand-LineInterfacesformoreinformationonhowtouseESXCLI.
Procedure1Runtheesxclisystemsnmpsetcommandtofilternotifications:esxclisystemsnmpset--notrapsoid_listvSphereMonitoringandPerformanceVMware,Inc.
191Here,oid_listisalistofOIDsforthenotificationstofilter,separatedbycommas.
ThislistreplacesanyOIDsthatwerepreviouslyspecifiedusingthiscommand.
Forexample,tofilteroutcoldStart(OID1.
3.
6.
1.
4.
1.
6876.
4.
1.
1.
0)andwarmStart(OID1.
3.
6.
1.
4.
1.
6876.
4.
1.
1.
1)traps,runthefollowingcommand:esxclisystemsnmpset--notraps1.
3.
6.
1.
4.
1.
6876.
4.
1.
1.
0,1.
3.
6.
1.
4.
1.
6876.
4.
1.
1.
12(Optional)IftheESXiSNMPagentisnotenabled,runthefollowingcommand:esxclisystemsnmpset--enabletrueThetrapsidentifiedbythespecifiedOIDsarefilteredoutoftheoutputoftheSNMPagent,andarenotsenttoSNMPmanagementsoftware.
WhattodonextToclearallnotificationfilters,runtheesxclisystemsnmpset--notrapsresetcommand.
ConfigureSNMPManagementClientSoftwareAfteryouhaveconfiguredavCenterServerinstanceoranESXihosttosendtraps,configureyourmanagementclientsoftwaretoreceiveandinterpretthosetraps.
Toconfigureyourmanagementclientsoftware,specifythecommunitiesforthemanageddevice,configuretheportsettings,andloadtheVMwareMIBfiles.
Seethedocumentationforyourmanagementsystemforspecificinstructionsforthesesteps.
PrerequisitesTocompletethistask,downloadtheVMwareMIBfilesfromtheVMwarewebsite:http://communities.
vmware.
com/community/developer/managementapi.
OntheWebpage,searchDownloadingMIBmodules.
Procedure1Inyourmanagementsoftware,specifythevCenterServerinstanceorESXihostasanSNMP-basedmanageddevice.
2IfyouareusingSNMPv1orSNMPv2c,setupappropriatecommunitynamesinthemanagementsoftware.
ThesenamesmustcorrespondtothecommunitiessetfortheSNMPagentonthevCenterServerinstanceorESXihost.
3IfyouareusingSNMPv3,configureusersandauthenticationandprivacyprotocolstomatchthoseconfiguredontheESXihost.
4IfyouconfiguredtheSNMPagenttosendtrapstoaportonthemanagementsystemotherthanthedefaultUDPport162,configurethemanagementclientsoftwaretolistenontheportyouconfigured.
vSphereMonitoringandPerformanceVMware,Inc.
1925LoadtheVMwareMIBsintothemanagementsoftwaresoyoucanviewthesymbolicnamesforvCenterServerorthehostvariables.
Topreventlookuperrors,loadtheseMIBfilesinthefollowingorderbeforeloadingotherMIBfiles:aVMWARE-ROOT-MIB.
mibbVMWARE-TC-MIB.
mibcVMWARE-PRODUCTS-MIB.
mibThemanagementsoftwarecannowreceiveandinterprettrapsfromvCenterServerorESXihosts.
SNMPDiagnosticsYoucanuseSNMPtoolstodiagnoseconfigurationproblems.
nRuntheesxclisystemsnmptestcommandfromthevSphereCLIsettoprompttheSNMPagenttosendatestwarmStarttrap.
nRuntheesxclisystemsnmpgetcommandtodisplaythecurrentconfigurationoftheSNMPagent.
nTheSNMPv2-MIB.
mibfileprovidesseveralcounterstoaidindebuggingSNMPproblems.
SeeSNMPv2DiagnosticCounters.
nTheVMWARE-AGENTCAP-MIB.
mibfiledefinesthecapabilitiesoftheVMwareSNMPagentsbyproductversion.
UsethisfiletodetermineiftheSNMPfunctionalitythatyouwanttouseissupported.
MonitorGuestOperatingSystemswithSNMPYoucanuseSNMPtomonitorguestoperatingsystemsorapplicationsrunninginvirtualmachines.
Thevirtualmachineusesitsownvirtualhardwaredevices.
Donotinstallagentsinthevirtualmachinesthatareintendedtomonitorphysicalhardware.
ProcedureuInstalltheSNMPagentsyounormallywoulduseforthatpurposeintheguestoperatingsystems.
VMwareMIBFilesVMwareMIBfilesdefinetheinformationprovidedbyESXihostsandvCenterServertoSNMPmanagementsoftware.
YoucandownloadtheseMIBfilesfromhttp://communities.
vmware.
com/community/developer/forums/managementapi#SNMP-MIB.
OntheWebpage,searchforDownloadingMIBmodules.
ThetableVMwareMIBFilesliststheMIBfilesprovidedbyVMwareanddescribestheinformationthateachfileprovides.
vSphereMonitoringandPerformanceVMware,Inc.
193Table101.
VMwareMIBFilesMIBFileDescriptionVMWARE-ROOT-MIB.
mibContainsVMware'senterpriseOIDandtop-levelOIDassignments.
VMWARE-AGENTCAP-MIB.
mibDefinesthecapabilitiesoftheVMwareagentsbyproductversions.
Thisfileisoptionalandmightnotbesupportedbyallmanagementsystems.
VMWARE-CIMOM-MIB.
mibDefinesvariablesandtraptypesusedtoreportonthestateoftheCIMObjectManagementsubsystem.
VMWARE-ENV-MIB.
mibDefinesvariablesandtraptypesusedtoreportonthestateofphysicalhardwarecomponentsofthehostcomputer.
EnablesconversionofCIMindicationstoSNMPtraps.
VMWARE-OBSOLETE-MIB.
mibForusewithversionsofESX/ESXipriorto4.
0.
DefinesOIDsthathavebeenmadeobsoletetomaintainbackwardcompatibilitywithearlierversionsofESX/ESXi.
IncludesvariablesformerlydefinedinthefilesVMWARE-TRAPS-MIB.
mibandVMWARE-VMKERNEL-MIB.
mib.
VMWARE-PRODUCTS-MIB.
mibDefinesOIDstouniquelyidentifyeachSNMPagentoneachVMwareplatformbyname,version,andbuildplatform.
VMWARE-RESOURCES-MIB.
mibDefinesvariablesusedtoreportinformationonresourceusageoftheVMkernel,includingphysicalmemory,CPU,anddiskutilization.
VMWARE-SYSTEM-MIB.
mibTheVMWARE-SYSTEM-MIB.
mibfileisobsolete.
UsetheSNMPv2-MIBtoobtaininformationfromsysDescr.
0andsysObjecID.
0.
VMWARE-TC-MIB.
mibDefinescommontextualconventionsusedbyVMwareMIBfiles.
VMWARE-VC-EVENTS-MIB.
mibDefinestrapssentbyvCenterServer.
LoadthisfileifyouusevCenterServertosendtraps.
VMWARE-VMINFO-MIB.
mibDefinesvariablesforreportinginformationaboutvirtualmachines,includingvirtualmachinetraps.
ThetableOtherMIBFileslistsMIBfilesincludedintheVMwareMIBfilespackagethatarenotcreatedbyVMware.
ThesecanbeusedwiththeVMwareMIBfilestoprovideadditionalinformation.
Table102.
OtherMIBFilesMIBFileDescriptionENTITY-MIB.
mibAllowsthedescriptionofrelationshipsbetweenphysicalentitiesandlogicalentitiesmanagedbythesameSNMPagent.
SeeRFC4133formoreinformation.
HOST-RESOURCES-MIB.
mibDefinesobjectsthatareusefulformanaginghostcomputers.
HOST-RESOURCES-TYPES.
mibDefinesstorage,device,andfilesystemtypesforusewithHOST-RESOURCES-MIB.
mib.
IEEE8021-BRIDGE-MIBDefinesobjectsformanagingdevicesthatsupportIEEE802.
1D.
IEEE8023-LAG-MIBDefinesobjectsformanagingdevicesthatsupportIEEE802.
3adlinkaggregation.
IEEE8021-Q-BRIDGE-MIBDefinesobjectsformanagingVirtualBridgedLocalAreaNetworks.
IF-MIB.
mibDefinesattributesrelatedtophysicalNICsonthehostsystem.
vSphereMonitoringandPerformanceVMware,Inc.
194Table102.
OtherMIBFiles(Continued)MIBFileDescriptionIP-MIB.
mibDefinesobjectsformanagingimplementationsoftheInternetProtocol(IP)inanIPversion-independentmanner.
IP-FORWARD-MIB.
mibDefinesobjectsformanagingIPforwarding.
LLDP-V2-MIB.
mibDefinesobjectsformanagingdevicesusingLinkedLayerDiscoveryProtocol(LLDP).
SNMPv2-CONF.
mibDefinesconformancegroupsforMIBs.
SNMPv2-MIB.
mibDefinestheSNMPversion2MIBobjects.
SNMPv2-SMI.
mibDefinestheStructureofManagementInformationforSNMPversion2.
SNMPv2-TC.
mibDefinestextualconventionsforSNMPversion2.
TCP-MIB.
mibDefinesobjectsformanagingdevicesusingtheTCPprotocol.
UDP-MIB.
mibDefinesobjectsformanagingdevicesusingtheUDPprotocol.
SNMPv2DiagnosticCountersTheSNMPv2-MIB.
mibfileprovidesanumberofcounterstoaidindebuggingSNMPproblems.
Table103listssomeofthesediagnosticcounters.
Table103.
DiagnosticCountersfromSNMPv2-MIBVariableIDMappingDescriptionsnmpInPktssnmp1ThetotalnumberofmessagesdeliveredtotheSNMPentityfromthetransportservice.
snmpInBadVersionssnmp3ThetotalnumberofSNMPmessagesthatweredeliveredtotheSNMPentityandwereforanunsupportedSNMPversion.
snmpInBadCommunityNamessnmp4Thetotalnumberofcommunity-basedSNMPmessagesdeliveredtotheSNMPentitythatusedaninvalidSNMPcommunityname.
snmpInBadCommunityUsessnmp5Thetotalnumberofcommunity-basedSNMPmessagesdeliveredtotheSNMPentitythatrepresentedanSNMPoperationthatwasnotallowedforthecommunitynamedinthemessage.
snmpInASNParseErrssnmp6ThetotalnumberofASN.
1orBERerrorsencounteredbytheSNMPentitywhendecodingreceivedSNMPmessages.
snmpEnableAuthenTrapssnmp30IndicateswhethertheSNMPentityispermittedtogenerateauthenticationFailuretraps.
Thevalueofthisobjectoverridesanyconfigurationinformation.
ItthereforeprovidesameansofdisablingallauthenticationFailuretraps.
vSphereMonitoringandPerformanceVMware,Inc.
195Table103.
DiagnosticCountersfromSNMPv2-MIB(Continued)VariableIDMappingDescriptionsnmpSilentDropssnmp31ThetotalnumberofConfirmedClassPDUsdeliveredtotheSNMPentitythatweresilentlydroppedbecausethesizeofareplycontaininganalternateResponseClassPDUwithanemptyvariable-bindingsfieldwasgreaterthaneitheralocalconstraintorthemaximummessagesizeassociatedwiththeoriginatoroftherequest.
snmpProxyDropssnmp32ThetotalnumberofConfirmedClassPDUsdeliveredtotheSNMPentitythatweresilentlydroppedbecausethetransmissionofthemessagetoaproxytargetfailedinamannerotherthanatime-outsuchthatnoResponseClassPDUcouldbereturned.
vSphereMonitoringandPerformanceVMware,Inc.
196SystemLogFiles11Inadditiontolistsofeventsandalarms,vSpherecomponentsgenerateassortedlogs.
TheselogscontainadditionalinformationaboutactivitiesinyourvSphereenvironment.
Thischapterincludesthefollowingtopics:nViewSystemLogEntriesnViewSystemLogsonanESXiHostnSystemLogsnExportSystemLogFilesnESXiLogFilesnUploadLogsPackagetoaVMwareServiceRequestnConfigureSyslogonESXiHostsnConfiguringLoggingLevelsfortheGuestOperatingSystemnCollectingLogFilesnViewingLogFileswiththeLogBrowserViewSystemLogEntriesYoucanviewthesystemlogsgeneratedbyvSpherecomponents.
TheseinstructionsapplyonlytovCenterServermanagementnodes.
Procedure1InthevSphereWebClient,navigatetoavCenterServer.
2FromtheMonitortab,clickSystemLogs.
3Fromthedrop-downmenu,selectthelogandentryyouwanttoview.
ViewSystemLogsonanESXiHostYoucanusethedirectconsoleinterfacetoviewthesystemlogsonanESXihost.
Theselogsprovideinformationaboutsystemoperationalevents.
VMware,Inc.
197Procedure1Fromthedirectconsole,selectViewSystemLogs.
2Pressacorrespondingnumberkeytoviewalog.
vCenterServeragent(vpxa)logsappearifthehostismanagedbyvCenterServer.
3PressEnterorthespacebartoscrollthroughthemessages.
4(Optional)Performaregularexpressionsearch.
aPresstheslashkey(/).
bTypethetexttofind.
cPressEnterThefoundtextishighlightedonthescreen.
5Pressqtoreturntothedirectconsole.
SystemLogsVMwaretechnicalsupportmightrequestseveralfilestohelpresolveanyissuesyoumighthavewiththeproduct.
ThissectiondescribesthetypesandlocationsoflogfilesfoundonESXihostsandvSphereWebClient.
ESXiSystemLogsYoumightneedtheESXisystemlogfilestoresolvetechnicalissues.
TheESXisystemlogscanbefoundinthe/var/run/logdirectory.
vSphereWebClientLogsYoumightneedthevSphereWebClientsystemlogfilestoresolvetechnicalissues.
Dependingon,whetheryouuseavCenterServerinstancethatrunsonWindows,oravCenterServerAppliance,thevSphereWebClientsystemlogscanbefoundinthelocationlistedinthetable.
Table111.
LocationofvSphereWebClientLogsvCenterServerSystemLocationvCenterServerthatrunsonWindowsC:\ProgramData\VMware\vCenterServer\logs\vsphere-client\logsvCenterServerAppliance/var/log/vmware/vsphere-client/logsThemainvSphereWebClientlogfileisvsphere_client_virgo.
log.
vSphereMonitoringandPerformanceVMware,Inc.
198ExportSystemLogFilesWhenthevSphereWebClientisconnectedtovCenterServer,youcanselecthostsfromwhichtodownloadsystemlogfiles.
TosavediagnosticdataforESXihostsandvCenterServer,thevSphereWebClientmustbeconnectedtothevCenterServersystem.
Requiredprivileges:nToviewdiagnosticdata:Read-OnlyUsernTomanagediagnosticdata:Global.
DiagnosticsProcedure1Intheinventory,navigatetoavCenterServerinstance,andclicktheMonitortab.
2ClickSystemLogs.
3ClickExportSystemLogs.
4IfyouareconnectedtovCenterServer,selecttheobjectforwhichyouwanttoexportdata.
Selectinganobjectselectsallofitschildobjects.
5IfyouareconnectedtovCenterServer,selectIncludeinformationfromvCenterServerandvSphereWebClienttodownloadvCenterServerandvSphereWebClientlogfilesandhostlogfiles,andclickNext.
6Iftheselectedhostsupportsmanifestdrivenexportsofsystemlogfiles,selectthesystemlogfilestocollect.
Selectthespecificsystemlogfilestodownload.
Ifthehostdoesnotsupportmanifestexportsoflogfiles,allsystemlogfilesareexported.
7SelectGatherperformancedatatoincludeperformancedatainformationinthelogfiles.
Youcanupdatethedurationandintervaltimeyouwantthedatacollected.
8(Optional)Selecttoapplyapasswordforencryptedcoredumpstothesupportpackage.
Youcanmakethatpasswordavailabletoyoursupportrepresentativeinasecurechannel.
Ifonlysomeofthehostinyourenvironmentuseencryption,someofthefilesinthepackageareencrypted.
9ClickFinish.
10Specifythelocationtowhichtosavethelogfiles.
ThehostorvCenterServergeneratesa.
zipfilecontainingthelogfiles.
11ClickSave.
TheRecentTaskspanelshowstheGeneratediagnosticbundlestaskinprogress.
vSphereMonitoringandPerformanceVMware,Inc.
199TheDownloadingLogBundlesdialogboxappearswhentheGeneratingDiagnosticBundletaskisfinished.
Thedownloadstatusofeachbundleappearsinthedialogbox.
Somenetworkerrorscancausedownloadfailures.
Whenyouselectanindividualdownloadinthedialogbox,theerrormessageforthatoperationappearsunderthenameandlocationofthelogbundlefile.
12VerifytheinformationintheSummaryandclickFinishtodownloadthelogfiles.
Diagnosticbundlescontaininglogfilesforthespecifiedobjectsaredownloadedtothelocationspecified.
WhattodonextUploadLogsPackagetoaVMwareServiceRequest.
ESXiLogFilesLogfilesareanimportantcomponentoftroubleshootingattacksandobtaininginformationaboutbreaches.
Loggingtoasecure,centralizedlogservercanhelppreventlogtampering.
Remoteloggingalsoprovidesalong-termauditrecord.
Toincreasethesecurityofthehost,takethefollowingmeasuresnConfigurepersistentloggingtoadatastore.
Bydefault,thelogsonESXihostsarestoredinthein-memoryfilesystem.
Therefore,theyarelostwhenyourebootthehost,andonly24hoursoflogdataisstored.
Whenyouenablepersistentlogging,youhaveadedicatedactivityrecordforthehost.
nRemoteloggingtoacentralhostallowsyoutogatherlogfilesonacentralhost.
Fromthathost,youcanmonitorallhostswithasingletool,doaggregateanalysis,andsearchlogdata.
Thisapproachfacilitatesmonitoringandrevealsinformationaboutcoordinatedattacksonmultiplehosts.
nConfiguretheremotesecuresyslogonESXihostsbyusingaCLIsuchasvCLIorPowerCLI,orbyusinganAPIclient.
nQuerythesyslogconfigurationtomakesurethatthesyslogserverandportarevalid.
SeethevSphereMonitoringandPerformancedocumentationforinformationaboutsyslogsetup,andforadditionalinformationonESXilogfiles.
UploadLogsPackagetoaVMwareServiceRequestIfyoualreadyhaveaServiceRequestIDwithVMware,youcanusethevSphereWebClienttouploadthesystemlogbundlesdirectlytoyourservicerequest.
PrerequisitesRequestaServiceRequestIDfromVMwareTechnicalSupport.
Procedure1InthevSphereWebClient,navigatetoAdministration.
vSphereMonitoringandPerformanceVMware,Inc.
2002ClickSupport,andclickUploadFiletoServiceRequest.
AnUploadFiletoServiceRequestdialogboxopens.
3EnteryourServiceRequestIDwithVMware.
4ClickChooseFile,andselectthelogbundleyouwanttoattachtoyourservicerequestwithVMware,andclickOK.
5Ifyouprotectedyoursupportpackagewithapassword,providethepasswordtoVMwareTechnicalSupportbyusingasecurechannel.
Thelogbundleissenttoyourservicerequest.
ConfigureSyslogonESXiHostsYoucanusethevSphereWebClientortheesxclisystemsyslogvCLIcommandtoconfigurethesyslogservice.
ForinformationaboutusingtheesxclisystemsyslogcommandandothervCLIcommands,seeGettingStartedwithvSphereCommand-LineInterfaces.
Procedure1InthevSphereWebClientinventory,selectthehost.
2ClickConfigure.
3UnderSystem,clickAdvancedSystemSettings.
4Filterforsyslog.
5Tosetuploggingglobally,selectthesettingtochangeandclickEdit.
OptionDescriptionSyslog.
global.
defaultRotateMaximumnumberofarchivestokeep.
Youcansetthisnumbergloballyandforindividualsubloggers.
Syslog.
global.
defaultSizeDefaultsizeofthelog,inKB,beforethesystemrotateslogs.
Youcansetthisnumbergloballyandforindividualsubloggers.
Syslog.
global.
LogDirDirectorywherelogsarestored.
ThedirectorycanbelocatedonmountedNFSorVMFSvolumes.
Onlythe/scratchdirectoryonthelocalfilesystemispersistentacrossreboots.
Specifythedirectoryas[datastorename]path_to_file,wherethepathisrelativetotherootofthevolumebackingthedatastore.
Forexample,thepath[storage1]/systemlogsmapstothepath/vmfs/volumes/storage1/systemlogs.
vSphereMonitoringandPerformanceVMware,Inc.
201OptionDescriptionSyslog.
global.
logDirUniqueSelectingthisoptioncreatesasubdirectorywiththenameoftheESXihostunderthedirectoryspecifiedbySyslog.
global.
LogDir.
AuniquedirectoryisusefulifthesameNFSdirectoryisusedbymultipleESXihosts.
Syslog.
global.
LogHostRemotehosttowhichsyslogmessagesareforwardedandportonwhichtheremotehostreceivessyslogmessages.
Youcanincludetheprotocolandtheport,forexample,ssl://hostName1:1514.
UDP(default),TCP,andSSLaresupported.
Theremotehostmusthavesysloginstalledandcorrectlyconfiguredtoreceivetheforwardedsyslogmessages.
Seethedocumentationforthesyslogserviceinstalledontheremotehostforinformationonconfiguration.
6(Optional)Tooverwritethedefaultlogsizeandlogrotationforanyofthelogs.
aClickthenameofthelogthatyouwanttocustomize.
bClickEditandenterthenumberofrotationsandthelogsizeyouwant.
7ClickOK.
Changestothesyslogoptionstakeeffectimmediately.
ConfiguringLoggingLevelsfortheGuestOperatingSystemVirtualmachinescanwritesupportandtroubleshootinginformationintoavirtualmachinelogfilestoredonaVMFSvolume.
Thedefaultsettingsforvirtualmachinesareappropriateformostsituations.
IfyourenvironmentreliesheavilyonusingvMotion,orifthedefaultsdonotseemsuitableforotherreasons,youcanmodifytheloggingsettingsforvirtualmachineguestoperatingsystems.
Newlogfilecreationhappensasfollows:nEachtimeyoupoweronorresumeavirtualmachine,andeachtimeyoumigrateavirtualmachinewithvMotion,anewlogfileiscreated.
nEachtimeanentryiswrittentothelog,thesizeofthelogischecked.
Ifvmx.
log.
rotateSizeissettoanondefaultvalue,andthesizeisoverthelimit,thenextentryiswrittentoanewlog.
Ifthemaximumnumberoflogfilesexists,theoldestlogfileisdeleted.
Thedefaultforvmx.
log.
rotateSizeiszero(0),whichmeansnewlogsarecreatedduringpower-on,resume,andsoon.
Youcanensurethenewlogfilecreationhappensmorefrequentlybylimitingthemaximumsizeofthelogfileswiththevmx.
log.
rotateSizeconfigurationparameter.
VMwarerecommendssaving10-logfiles,eachonelimitedtonolessthan2MB.
Thesevaluesarelargeenoughtocapturesufficientinformationtodebugmostproblems.
Ifyouneedlogsforalongertimespan,youcansetvmx.
log.
keepOldto20.
ChangetheNumberofVirtualMachineLogFilesYoucanchangethenumberofthelogfilesforallvirtualmachinesonanESXihostorforindividualvirtualmachines.
vSphereMonitoringandPerformanceVMware,Inc.
202Thisprocedurediscusseslimitingthevirtualmachinelogfilenumberonanindividualvirtualmachine.
Tolimitthenumberoflogfilesforallvirtualmachinesonahost,editthe/etc/vmware/configfile.
Ifthevmx.
log.
KeepOldpropertyisnotdefinedinthefile,youcanaddit.
Forexample,tokeeptenlogfilesforeachvirtualmachine,addthefollowingto/etc/vmware/config:vmx.
log.
keepOld="10"YoucanuseaPowerCLIscripttochangethispropertyonallthevirtualmachinesonahost.
Youcanusethelog.
keepOldparametertoaffectalllogfiles,notjustthevirtualmachinelogfiles.
PrerequisitesTurnoffthevirtualmachine.
Procedure1LogintoavCenterServersystemusingthevSphereWebClientandfindthevirtualmachine.
aIntheNavigator,selectVMsandTemplates.
bFindthevirtualmachineinthehierarchy.
2Right-clickthevirtualmachineandclickEditSettings.
3SelectVMOptions.
4ClickAdvancedandclickEditConfiguration.
5Addoreditthevmx.
log.
keepOldparametertothenumberoffilestokeepforthisvirtualmachine.
Forexample,tokeep20logfilesandbegindeletingtheoldestfilesasnewonesarecreated,enter20.
6ClickOK.
ControlWhentoSwitchtoNewVirtualMachineLogFilesThevmx.
log.
rotateSizeparameterspecifiesthelogfilesizeatwhichtheswitchtonewlogfileshappensforthelogsforindividualvirtualmachines.
Usethisparametertogetherwiththevmx.
log.
keepOldparametertoensureacceptablelogfilesizeswithoutlosingcriticallogginginformation.
Thevmx.
log.
keepOldparameterdetermineshowmanyvirtualmachinelogfileinstancestheESXihostretainsbeforeoverwritingthefirstlogfile.
Thedefaultvalueofvmx.
log.
keepOldis10,asuitablenumbertoproperlylogcomplexoperationssuchasvMotion.
Youmustincreasethisnumbersignificantlywhenyouchangethevalueofvmx.
log.
rotateSize.
Thisprocedurediscusseschangingthevirtualmachinerotatesizeonanindividualvirtualmachine.
Tolimittherotatesizeforallvirtualmachinesonahost,editthe/etc/vmware/configfile.
Ifthevmx.
log.
KeepOldpropertyisnotdefinedinthefile,youcanaddit.
YoucanuseaPowerCLIscripttochangethisparameterforselectedvirtualmachinesonahost.
vSphereMonitoringandPerformanceVMware,Inc.
203Youcanusethelog.
rotateSizeparametertoaffectalllogfiles,notjustthevirtualmachinelogfiles.
Youcanchangethevalueofvmx.
log.
rotateSizeforallvirtualmachinesfromthevSphereWebClientorbyusingaPowerCLIscript.
PrerequisitesTurnoffthevirtualmachine.
Procedure1LogintoavCenterServersystemusingthevSphereWebClientandfindthevirtualmachine.
aIntheNavigator,selectVMsandTemplates.
bFindthevirtualmachineinthehierarchy.
2Right-clickthevirtualmachineandclickEditSettings.
3SelectVMOptions.
4ClickAdvancedandclickEditConfiguration.
5Addoreditthevmx.
log.
rotateSizeparametertothemaximumfilesizebeforeloginformationisaddedtoanewfile.
Alternatively,youcanaddoreditthefirstlogfileifyouhavemorelogfilesthanthevmx.
log.
keepOldparameterspecifies.
Specifythesizeinbytes.
6ClickOK.
CollectingLogFilesVMwaretechnicalsupportmightrequestseveralfilestohelpresolvetechnicalissues.
Thefollowingsectionsdescribescriptprocessesforgeneratingandcollectingsomeofthesefiles.
SetVerboseLoggingYoucansettheverboselogfilespecificationYoucanonlysetverboseloggingforvpxdlogs.
Procedure1SelectAdministration>vCenterServerSettings.
2SelectLoggingOptions.
3SelectVerbosefromthepop-upmenu.
4ClickOK.
vSphereMonitoringandPerformanceVMware,Inc.
204CollectvSphereLogFilesYoucancollectvSpherelogfilesintoasinglelocation.
ProcedureuViewthelogfileusingoneofthefollowingmethods.
TaskActionViewtheviclient-*.
logfileChangetothedirectory,%temp%.
DownloadthelogbundlefromvSphereWebClientconnectedtoavCenterServersystemTodownloadthelogbundle,dothefollowing:aSelectAdministration>SystemConfiguration.
bFromtheObjectstab,selectActions>ExportSupportBundles.
.
.
Thelogbundleisgeneratedasa.
zipfile.
Bydefault,thevpxdlogswithinthebundlearecompressedas.
tgzfiles.
Youmustusegunziptouncompressthesefiles.
GeneratevCenterServerlogbundlesfromavCenterServersystemSelectStart>Programs>VMware>GeneratevCenterServerlogbundle.
YoucanusethistogeneratevCenterServerlogbundlesevenwhenyouareunabletoconnecttothevCenterServerusingthevSphereWebClient.
Thelogbundleisgeneratedasa.
zipfile.
Bydefault,thevpxdlogswithinthebundlearecompressedas.
tgzfiles.
Youmustusegunziptouncompressthesefiles.
CollectESXiLogFilesYoucancollectandpackageallrelevantESXisystemandconfigurationinformation,awellasESXilogfiles.
Thisinformationcanbeusedtoanalyzetheproblems.
ProcedureuRunthefollowingscriptontheESXiShell:/usr/bin/vm-supportTheresultingfilehasthefollowingformat:esx-date-unique-xnumber.
tgzESXiLogFileLocationsESXirecordshostactivityinlogfiles,usingasyslogfacility.
ComponentLocationPurposeVMkernel/var/log/vmkernel.
logRecordsactivitiesrelatedtovirtualmachinesandESXi.
VMkernelwarnings/var/log/vmkwarning.
logRecordsactivitiesrelatedtovirtualmachines.
VMkernelsummary/var/log/vmksummary.
logUsedtodetermineuptimeandavailabilitystatisticsforESXi(commaseparated).
vSphereMonitoringandPerformanceVMware,Inc.
205ComponentLocationPurposeESXihostagentlog/var/log/hostd.
logContainsinformationabouttheagentthatmanagesandconfigurestheESXihostanditsvirtualmachines.
vCenteragentlog/var/log/vpxa.
logContainsinformationabouttheagentthatcommunicateswithvCenterServer(ifthehostismanagedbyvCenterServer).
Shelllog/var/log/shell.
logContainsarecordofallcommandstypedintotheESXiShellaswellasshellevents(forexample,whentheshellwasenabled).
Authentication/var/log/auth.
logContainsalleventsrelatedtoauthenticationforthelocalsystem.
Systemmessages/var/log/syslog.
logContainsallgenerallogmessagesandcanbeusedfortroubleshooting.
Thisinformationwasformerlylocatedinthemessageslogfile.
VirtualmachinesThesamedirectoryastheaffectedvirtualmachine'sconfigurationfiles,namedvmware.
logandvmware*.
log.
Forexample,/vmfs/volumes/datastore/virtualmachine/vwmare.
logContainsvirtualmachinepowerevents,systemfailureinformation,toolsstatusandactivity,timesync,virtualhardwarechanges,vMotionmigrations,machineclones,andsoon.
ConfigureLogFilteringonESXiHostsThelogfilteringcapabilityletsyoumodifytheloggingpolicyofthesyslogservicethatisrunningonanESXihost.
YoucancreatelogfilterstoreducethenumberofrepetitiveentriesintheESXilogsandtoblacklistspecificlogeventsentirely.
LogfiltersaffectalllogeventsthatareprocessedbytheESXihostvmsyslogddaemon,whethertheyarerecordedtoalogdirectoryortoaremotesyslogserver.
Whenyoucreatealogfilter,yousetamaximumnumberoflogentriesforthelogmessages.
Thelogsmessagesaregeneratedbyoneormorespecifiedsystemcomponentsandthatmatchaspecifiedphrase.
YoumustenablethelogfilteringcapabilityandreloadthesyslogdaemontoactivatethelogfiltersontheESXihost.
ImportantSettingalimittotheamountoflogginginformation,restrictsyourabilitytotroubleshootpotentialsystemfailuresproperly.
Ifalogrotateoccursafterthemaximumnumberoflogentriesisreached,youmightloseallinstancesofafilteredmessage.
Procedure1LogintotheESXiShellasroot.
vSphereMonitoringandPerformanceVMware,Inc.
2062Inthe/etc/vmware/logfiltersfile,addthefollowingentrytocreatealogfilter.
numLogs|ident|logRegexpwhere:nnumLogssetsthemaximumnumberoflogentriesforthespecifiedlogmessages.
Afterreachingthisnumber,thespecifiedlogmessagesarefilteredandignored.
Use0tofilterandignoreallthespecifiedlogmessages.
nidentspecifiesoneormoresystemcomponentstoapplythefiltertothelogmessagesthatthesecomponentsgenerate.
Forinformationaboutthesystemcomponentsthatgeneratelogmessages,seethevaluesoftheidentsparametersinthesyslogconfigurationfiles.
Thefilesarelocatedinthe/etc/vmsyslog.
conf.
ddirectory.
Useacomma-separatedlisttoapplyafiltertomorethanonesystemcomponent.
Use*toapplyafiltertoallsystemcomponents.
nlogRegexpspecifiesacase-sensitivephrasewithPythonregularexpressionsyntaxtofilterthelogmessagesbytheircontent.
Forexample,tosetalimitofmaximumtwo-logentriesfromthehostdcomponentformessagesthatresembletheSOCKETconnectfailed,error2:Nosuchfileordirectoryphrasewithanyerrornumber,addthefollowingentry:2|hostd|SOCKETconnectfailed,error.
*:NosuchfileordirectoryNoteAlinestartingwith#denotesacommentandtherestofthelineisignored.
3Inthe/etc/vmsyslog.
conffile,addthefollowingentrytoenablethelogfilteringcapability.
enable_logfilters=true4Runtheesxclisystemsyslogreloadcommandtoreloadthesyslogdaemonandapplytheconfigurationchanges.
TurnOffCompressionforvpxdLogFilesBydefault,vCenterServervpxdlogfilesarerolledupandcompressedinto.
gzfiles.
Youcanturnoffthissettingtoleavethevpxdlogsuncompressed.
Procedure1LogintothevCenterServerusingthevSphereWebClient.
2SelectAdministration>vCenterServerSettings.
3SelectAdvancedSettings.
4IntheKeytextbox,typelog.
compressOnRoll.
5IntheValuetextbox,typefalse.
6ClickAdd,andclickOK.
vSphereMonitoringandPerformanceVMware,Inc.
207ESXiVMkernelFilesIftheVMkernelfails,anerrormessageappearsandthenthevirtualmachinereboots.
IfyouspecifiedaVMwarecoredumppartitionwhenyouconfiguredyourvirtualmachine,theVMkernelalsogeneratesacoredumpanderrorlog.
MoreseriousproblemsintheVMkernelcanfreezethemachinewithoutanerrormessageorcoredump.
ViewingLogFileswiththeLogBrowserLogbrowserisaplug-intothevSphereWebClient,andispartofthevCenterServerinstallationpackage.
Tousethelogbrowser,youmustdeploythelogbrowserplug-in.
Ifyoudeploythelogbrowserplug-in,youcanview,search,andexportoneormorevCenterServerandESXilogfilesatatimeusingthelogbrowser.
Youcanalsoexport,manage,andviewdifferentlogtypes.
NoteThelogbrowsercannotbeusedforthePlatformServicesControllerinthevCenterServerApplianceorvCenterServeronWindows.
EnabletheLogBrowserPlug-InonthevCenterServerApplianceInvSphere6.
5thelogbrowserplug-inispartofthevCenterServerAppliance,butisnotenabledbydefaultandthereforethevSphereWebClientdoesnotdisplayit.
Youcanmanuallydeploythelogbrowserplug-inonyourvCenterServerAppliance.
PrerequisitesnVerifyyouhaveadministrativerightstoaccessthevCenterServerAppliance.
Procedure1LogintothevCenterServerApplianceBashShellasanAdministrator.
2Navigatetothelocationofthelogbrowsermanifestfile.
Thedefaultlocationis:/usr/lib/vmware-vsphere-client/plugin-packages/logbrowser3Renamethefileplugin-package.
xml.
unusedtoplugin-package.
xml,andsaveit.
4FromthevSphereWebClient,restarttheVMwareServiceLifecycleManagerAPIservice.
FormoreinformationhowtorestartservicesinthevSphereWebClient,seevCenterServerandHostManagementdocumentation.
TheLogBrowsertabappearsundertheMonitortabinthevSphereWebClient.
vSphereMonitoringandPerformanceVMware,Inc.
208EnabletheLogBrowserPlug-InonavCenterServerInstanceThatRunsonWindowsInvSphere6.
5thelogbrowserplug-inispartofthevCenterServerinstallationpackage,butisnotenabledbydefaultandthereforethevSphereWebClientdoesnotdisplayit.
Youcanmanuallydeploythelogbrowserplug-inonyourvCenterServersystemthatrunsonWindows.
PrerequisitesnVerifyyouhaveadministrativeprivilegestoaccesstheWindowsmachinewherevCenterServerruns.
Procedure1LoginasanadministratortotheWindowsmachinewherevCenterServerruns.
2Navigatetothelocationofthelogbrowsermanifestfile.
ThelocationofthisfileinWindowsServer2008/2012isC:\ProgramData\VMware\vCenterServer\runtime\vsphere-client\plugin-packages\logbrowser.
3Renamethefileplugin-package.
xml.
unusedtoplugin-package.
xml,andsaveit.
4FromthevSphereWebClient,restarttheVMwareServiceLifecycleManagerAPIservice.
FormoreinformationhowtorestartservicesinthevSphereWebClient,seevCenterServerandHostManagementdocumentation.
ThevCenterServerinstancerestarts.
TheLogBrowsertabappearsundertheMonitortabinthevSphereWebClient.
RetrieveLogsWhenyouretrievelogsforahostorvCenterServer,youcanusetheselogstoview,search,filter,andcomparewithothersystemlogs.
Procedure1NavigatetothehostorvCenterServerthatcontainthelogsyouwanttoretrieve.
2ClicktheMonitortab.
3ClickLogBrowser.
4(Optional)IfnologsforthehostorvCenterServerareavailable,clickRetrievenowtoretrievethelogsforthatobject.
Theretrievedlogsarebasedonacurrentsnapshotofthesystem.
Retrievinglogscantakeafewminutes.
Youcanperformothertaskswhilethelogsarebeingretrieved.
5(Optional)ClickRefreshtoretrievenewerlogs.
6Selectthetypeoflogyouwanttobrowse.
vSphereMonitoringandPerformanceVMware,Inc.
209Thelogdisplaysinthebrowser.
SearchLogFilesYoucansearchthelogfilesbytextorbytime.
PrerequisitesIfthelogisunavailable,youmustretrieveit.
SeeRetrieveLogs.
Procedure1NavigatetotheLogBrowser.
2Selectthetypeoflogyouwanttobrowse.
3IntheActionsmenu,selecteitherFindbyTextorFindbyTime.
4InthesearchareaatthebottomoftheLogBrowsertypethetextorselectthetimeyouwanttosearch.
5ClickNexttoviewthenextlinecontainingthetextortimesearchedorPrevioustoviewthepreviousline.
TheLogBrowserdisplaystheline(inthe3rdrow)thatcontainsthetextortimeyousearched.
FilterLogFilesTheLogBrowserdisplaysfilteredsearches.
Procedure1NavigatetotheLogBrowserandselectalogfiletobrowse.
2SelectthenumberofAdjacentlinesyouwanttheLogBrowsertodisplay.
3Typethetextthatyouwantfilteredinthesearchbox.
Whendisplayingadjacentlines,groupsofconsecutiveentriesarehighlightedwithadifferentbackgroundcolor.
Thelogbrowserdisplaysthelinesinthelogthatcontainthewordyoutyped,withthenumberofadjacent(beforeandafter)lines.
CreateAdvancedLogFiltersYoucancreateandsavelogfilefilterstoyourlocalsystem.
Procedure1NavigatetotheLogBrowserandretrievealogfileobject.
2ClickAdvancedfilter.
3Entertheconditionsyouwantincludedinthefilter.
vSphereMonitoringandPerformanceVMware,Inc.
2104Typeafiltername.
5ClickSavetosavethefilter.
ThefilterissavedonthevSphereWebClientserverandisavailablethenexttimeyoustartthevSphereWebClient.
6ClickFiltertoviewtheresultsintheLogBrowser.
WhattodonextYoucanloadsavedfiltersfromyourlocalsystembyclickingSavetolocalsystem.
ThefiltersaresavedinXMLformat.
YoucanalsoloadfiltersfromanXMLfilefromyourlocalsystembyclickingLoadfromlocalsystem.
AdjustLogTimesYoumightwanttoadjustthetimesinthelogfilestoadifferenttimezoneortocomparemultiplelogfiles.
Procedure1NavigatetotheLogBrowserandretrievealogfilefromanobject.
2IntheActionsmenu,selectAdjustbyTime.
3SelectAddorSubtractandadjustthedays,hours,minutes,seconds,ormillisecondsfromtheoriginaltimestampsinthelog.
Theadjustedtimestampappears.
4(Optional)ClickResettoadjustthetimestampbacktotheoriginaltimes.
5ClickApply.
Thelogbrowserdisplaysthelogentrieswiththeadjustedtimes.
ExportLogsfromtheLogBrowserYoucanexportlogfilesusingtheLogBrowser.
Procedure1NavigatetotheLogBrowserandselectanobjecttobrowse.
2SelectAction>Export.
3Selectthetypeoffilethatyouwanttoexport.
Selectingthelogfilebundledownloadsapotentiallylargefile.
4ClickExport.
Afterafewsecondsanewwebbrowserdisplays.
5Enterthelocationwhereyouwanttosavethefile.
Thelogfileisdownloadedtoyourlocalmachineandyoucanclosethenewbrowserwindow.
vSphereMonitoringandPerformanceVMware,Inc.
211CompareLogFilesYoucanopenmultiplewindowsintheLogBrowsertocomparelogfiles.
Procedure1NavigatetotheLogBrowserandretrievealogfilefromanobject.
2SelectActions>NewBrowserWindowtoopenawindowintheLogBrowser.
3IntheLogBrowserwindow,retrieveanotherlogfiletoview.
YoucanperformthesameactionswiththelogfileopenedinthenewwindowasyoucanwiththeoriginalLogBrowserwindow.
ManageLogsUsingtheLogBrowserFromtheLogBrowser,youcanupdate,remove,andseealistofavailablelogfilebundles.
Tomanagelogfilebundles,youmustaccesstheLogBrowserfromthevSphereWebClienthome.
Procedure1FromthevSphereWebClienthome,clickLogBrowser.
2ClicktheManagetab.
3Selectanobject'slogfileinthelistofsources.
4(Optional)ClickRemovetodeletethelogfilebundle.
DeletingthelogfilebundlereclaimsdiskspaceonthevSphereWebClientserver.
Alllogfilesgeneratedfromthatbundlearedeleted.
5(Optional)ClickUpdatetoupdatethelistoflogfilebundles.
YoucanviewthelogbundlescreatedbyothervSphereWebClientsessions.
Thelogdoesnotappearintheretrievableobjectslist.
BrowseLogFilesfromDifferentObjectsYoucanbrowsemultiplelogfilescomingfromdifferentobjectswithintheLogBrowseratthesametime.
Ithelpsincomparinglogfilessimultaneously.
Procedure1FromthevSphereWebClienthome,clickLogBrowser.
2ClicktheViewtab.
3Toviewitslogs,selectanobject(ESXihostorvCenterServer)4OpenanewbrowserwindowbyselectingActions>NewBrowserWindowandselectanotherobjecttoviewitslogs.
vSphereMonitoringandPerformanceVMware,Inc.
212

FlashFXP FTP工具无法连接主机常见原因及解决办法

目前,我们都在用哪个FTP软件?喜欢用的是WinSCP,是一款免费的FTP/SFTP软件。今天在帮助一个网友远程解决问题的时候看到他用的是FlashFXP FTP工具,这个工具以前我也用过,不过正版是需要付费的,但是网上有很多的绿色版本和破解版本。考虑到安全的问题,个人不建议选择破解版。但是这款软件还是比较好用的。今天主要是遇到他的虚拟主机无法通过FTP连接主机,这里我就帮忙看看到底是什么问题。一...

CYUN专注海外精品服务器资源 国庆钜惠 最低5折起 限量促销

国庆钜惠 最低5折起 限量促销CYUN专注海外精品服务器资源,主营香港CN2 GIA、美国CERA、美国高防服务器资源,实体公司,ISP/IDC资质齐全,客服配备齐全。本次针对国庆推出非常给力的促销活动,旗下所有平台同享,新老客户同享,限时限量,售完截止。活动截止时间:2021年10月9日官网地址:www.cyun.net参与机型:香港CN2 GIA云服务器、香港双程CN2云服...

Sharktech($49/月),10G端口 32GB内存,鲨鱼机房新用户赠送$50

Sharktech 鲨鱼机房商家我们是不是算比较熟悉的,因为有很多的服务商渠道的高防服务器都是拿他们家的机器然后部署高防VPS主机的,不过这几年Sharktech商家有自己直接销售云服务器产品,比如看到有新增公有云主机有促销活动,一般有人可能买回去自己搭建虚拟主机拆分销售的,有的也是自用的。有看到不少网友在分享到鲨鱼机房商家促销活动期间,有赠送开通公有云主机$50,可以购买最低配置的,$49/月的...

freehost为你推荐
淘宝门户淘宝网怎么样从个人中心进入首页vc组合有一首歌好像是什么昆虫组合?跟青春有关好像。叫什么了怎么查询商标怎样查询商标有没有被注册方法有哪些?梦之队官网梦之队是什么呢?是那个国家的呢?他们又是参加那个项目的呢?得了几块金牌呢?access数据库access数据库的组成是什么22zizi.com河南福利彩票22选52010175开奖结果原代码什么是原代码同ip站点同IP做同类站好吗?网站检测请问论文检测网站好的有那些?www.119mm.comwww.kb119.com 这个网站你们能打开不?
双线主机租用 铁通流量查询 ntfs格式分区 天翼云盘 支付宝扫码领红包 paypal注册教程 空间登陆首页 服务器维护 实惠 免费赚q币 winserver2008r2 免费网站加速 linux服务器系统 删除域名 服务器是什么 一句话木马 瓦工工资 小米电视主机 国内免备案cdn 上海服务器托管 更多