6.0

VMware, Inc. 12
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
Mostlogsareattoplevelandnotinsideadirectoryunder/var/run/log.Availablelogsdependonwhich
pluginsareinstalledandwhatotherchangesmighthavebeenmadetothesystem.Thefollowingtablelists
somefrequentlyusedlogsintheESXiShell.
Core Dump Setup for ESXi
Acoredumpcanbeusedtodeterminethereasonforsystemfailure.WithESX,thecoredumpwasplacedon
thelocaldiskinmanycases.WithESXi,youhavetwooptionsformanagingcoredumps.
CreateadiagnosticpartitiononSANstorage.Eachhostmusthaveadiagnosticpartitionof100MB.If
multiplehostsshareaSAN,configureadiagnosticpartitionwith100MBforeachhost.
InstallandconfigureESXiDumpCollector.NewinESXi,theDumpCollectorserviceallowsyoutosend
coredumpstoanetworkserver.ESXiDumpCollectorisespeciallyusefulfordeterminingreasonsfor
failureofESXihostsprovisionedwithAutoDeploy.
Youcanuseesxcli system coredumptoconfigurearemoteorlocal
coredumppartition.Youcanalsouse
theNetworkConfigurationhostprofiletosetuphoststouseESXiDumpCollector.Foreithercase,youcan
applythehostprofileofahostthatusesESXiDumpCollectortootherhosts.
To use ESXi Dump Collector
1InstalltheESXiDumpCollectorserviceonthevCenter
ServersystemoraWindowsorLinuxsystemof
yourchoice.
ESXiDumpCollectorisoneoftheservicesyoucaninstallusingthevCenterServersysteminstallation
package.SeevSphereInstallationandSetup.
IfyouusethevCenterServeronLinuxappliance,ESXiDumpCollectorispreinstalled.
2Setup
ESXisystemsthatshoulduseESXiDumpCollectorwithcommandsintheesxcli system
coredumpnamespace.
Twonamespacesaresupportedinsidethisnamespace.
esxcli system coredump partition
get:Retrieveoneofthedumppartitionvalues.
list:ListallpartitionsonthesystemthathaveapartitiontypematchingtheVMwareCore
partitiontype.
set:Setthecoredumppartitionforthissystem.
esxcli system coredump network
get:GetthecurrentlyconfigureparametersforESXiDumpCollector(networkcoredump),if
enabled.
set:Settheparametersusedfornetworkcoredump.
ThefollowingexamplesetsupthenetworkandenablesESXiDumpCollectorwiththeESXCLIvCLI
command.
esxcli --server MyESXiHost system coredump network set --interface-name vmk0 --server-ipv4 10XX...
--port 6500
esxcli --server MyESXiHost system coredump network get --enable true --type network
ESX 4.x shell ESXi 5.x shell Description
/var/log/vmware/hostd.log /var/log/hostd.log Logforthehostdaemon.
/var/log/vmkwarning /var/log/vmkwarning.log
/var/log/vmksummary /var/log/vmksummary.log
/var/log/messages /var/log/vmkernel.log VMkernelwarningsandVMkernel
events.
/var/log/vmware/vpx/vpxa.log /var/log/vpxa.log vCenterServeragentlog.