A core dump is the state of working memory in the event of host failure. By default, a core dump is saved to the local disk. You can use ESXi Dump Collector to keep core dumps on a network server for use during debugging. ESXi Dump Collector is especially useful for Auto Deploy, but is supported for any ESXi host. ESXi Dump Collector supports other customization, including sending core dumps to the local disk.
Before you begin
ESXi Dump Collector is included with the vCenter Server management node.
Install vCLI if you want to configure the host to use ESXi Dump Collector. In troubleshooting situations, you can use ESXCLI in the ESXi Shell instead.
About this task
If you intend to use IPv6, and if both the ESXi host and ESXi Dump Collector are on the same local link, both can use either local link scope IPv6 addresses or global scope IPv6 addresses.
If you intend to use IPv6, and if ESXi and ESXi Dump Collector are on different hosts, both require global scope IPv6 addresses. The traffic routes through the default IPv6 gateway.
- Set up an ESXi system to use ESXi Dump Collector by running esxcli system coredump in the local ESXi Shell or by using vCLI.
esxcli system coredump network set --interface-name vmk0 --server-ip 10xx.xx.xx.xx --server-port 6500
You must specify a VMkernel NIC and the IP address and optional port of the server to send the core dumps to. You can use an IPv4 address or an IPv6 address. If you configure an ESXi system that is running on a virtual machine that is using a vSphere standard switch, you must select a VMkernel port that is in promiscuous mode.
- Enable ESXi Dump Collector.
esxcli system coredump network set --enable true
- (Optional) : Verify that ESXi Dump Collector is configured correctly.
esxcli system coredump network check
The host on which you have set up ESXi Dump Collector is configured to send core dumps to the specified server by using the specified VMkernel NIC and optional port.
What to do next
Write a rule that applies the host profile to all hosts that you want to provision with the settings specified in the reference host. See Write a Rule and Assign a Host Profile to Hosts.
For hosts that are already provisioned with Auto Deploy, perform the test and repair compliance operations to provision them with the new host profile. See Test and Repair Rule Compliance.
Power on unprovisioned hosts to provision them with the new host profile.