I just thought I will have a quick write up on collecting vmkernel dump files in ESXi 5.X. Basics are as always running vm-support to grab the dump file!
I will copy the notes from the KB article which is self explanatory actually.
During startup of an ESXi 5.x host, the startup script
/usr/lib/vmware/vmksummary/log-bootstop.sh
checks the defined Dump Partition for new contents. If new content is found, an entry is written to the/var/log/vmksummary.log
file citing “bootstop: Core dump found
“.You can collect logs from an ESXi host either by running
vm-support
at the command line or by using ExportDiagnostic Data from the vSphere Client. Both methods invoke thevm-support
script, which checks the defined Dump Partition for new contents. If new content is found, it is temporarily placed in avmkernel-zdump
file in/var/core/
before being compressed in thevm-support
output.Since the
vmkernel-zdump-*
coredump file is copied from the Dump Partition while runningvm-support
, it is not necessary to runvm-support
a second time to collect the logs. Ifvm-support
is run multiple times, only the first attempt includes avmkernel-zdump
file.Note: The directory
/var/core/
is often located on a ramdisk, so thevmkernel-zdump
files placed within may not persist across a reboot.
Hope this helps!
Follow Us!