6.5

Table Of Contents
Procedure
1 Show the diagnostic partition the VMkernel uses and display information about all partitions that can
be used as diagnostic partitions.
esxcli <conn_options> system coredump partition list
2 Deactivate the current diagnostic partition.
esxcli <conn_options> system coredump partition set --unconfigure
The ESXi system is now without a diagnostic partition, and you must immediately set a new one.
3 Set the active partition to naa.<naa_ID>.
esxcli <conn_options> system coredump partition set --partition=naa.<naa_ID>
4 List partitions again to verify that a diagnostic partition is set.
esxcli <conn_options> system coredump partition list
If a diagnostic partition is set, the command displays information about it. Otherwise, the command
shows that no partition is activated and congured.
Manage Core Dumps with ESXi Dump Collector
By default, a core dump is saved to the local disk. You can use the ESXi Dump Collector to keep core dumps
on a network server for use during debugging.
The ESXi Dump Collector is especially useful for Auto Deploy, but supported for any ESXi 5.0 and later
host. The ESXi Dump Collector supports other customization, including sending core dumps to the local
disk.
The ESXi Dump Collector is included with the vCenter Server autorun.exe application. You can install the
ESXi Dump Collector on the same system as the vCenter Server service or on a dierent Windows or Linux
machine. See vSphere Networking.
You can congure ESXi hosts to use the ESXi Dump Collector by using the Host Proles interface of the
vSphere Web Client, or by using ESXCLI. Specify one of the options listed in “Connection Options for vCLI
Host Management Commands,” on page 19 in place of <conn_options>.
Procedure
1 Set up an ESXi system to use the ESXi Dump Collector by running esxcli system coredump.
esxcli <conn_options> system coredump network set --interface-name vmk0 --server-ipv4=1-
XX.XXX --port=6500
You must specify a VMkernel port with --interface-name, and the IP address and port of the server to
send the core dumps to. If you congure an ESXi system that is running inside a virtual machine, you
must choose a VMkernel port that is in promiscuous mode.
2 Enable the ESXi Dump Collector.
esxcli <conn_options> system coredump network set --enable=true
3 (Optional) Check that the ESXi Dump Collector is congured correctly.
esxcli <conn_options> system coredump network get
The host on which you have set up the ESXi Dump Collector sends core dumps to the specied server by
using the specied VMkernel NIC and optional port.
Chapter 10 Monitoring ESXi Hosts
VMware, Inc. 163