You can configure an ESXi Dump Collector to store core dumps either by using ESXCLI commands or by configuring a reference host.
Hosts provisioned with vSphere Auto Deploy do not have a local disk on which to store core dumps. You can configure an ESXi Dump Collector to store core dumps either by using ESXCLI commands or by configuring a reference host to use the ESXi Dump Collector by using the Host Profiles feature in the vSphere Client.
Configure ESXi Dump Collector with ESXCLI
Hosts provisioned with vSphere Auto Deploy do not have a local disk to store core dumps on. You can configure ESXi Dump Collector by using ESXCLI commands and keep core dumps on a network server for use during debugging.
A core dump is the state of working memory if there is host failure. By default, a core dump is saved to the local disk. ESXi Dump Collector is especially useful for vSphere Auto Deploy, but is supported for any ESXi host. ESXi Dump Collector supports other customization, including sending core dumps to the local disk and is included with the vCenter Server management node.
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.
Prerequisites
Install ESXCLI if you want to configure the host to use ESXi Dump Collector. In troubleshooting situations, you can use ESXCLI in the ESXi Shell instead.
Procedure
Results
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
- Create a rule that applies the host profile to all hosts that you want to provision with the settings specified in the reference host. For writing a rule in a PowerCLI session, see Write a Rule and Assign a Host Profile to Hosts.
- For hosts that are already provisioned with vSphere Auto Deploy, perform the test and repair compliance operations in a PowerCLI session, see Test and Repair Rule Compliance.
- Power on unprovisioned hosts to provision them with the new host profile.
Configure ESXi Dump Collector from the Host Profiles Feature in the vSphere Client
Hosts provisioned with vSphere Auto Deploy do not have a local disk to store core dumps on. You can configure a reference host to use ESXi Dump Collector by using the Host Profiles feature in the vSphere Client.
Best practice is to set up hosts to use ESXi Dump Collector with the esxcli system coredump command and save the host profile. For more information, see Configure ESXi Dump Collector with ESXCLI.
Prerequisites
- Verify that you have created the host profile on which you want to configure a coredump policy. For more information on how to create a host profile, see the vSphere Host Profiles documentation.
- Verify that at least one partition has sufficient storage capability for core dumps from multiple hosts provisioned with vSphere Auto Deploy.
Procedure
- Navigate to .
- Click the host profile you want to configure and select the Configure tab.
- Click Edit Host Profile.
- Select .
- Select the Enabled check box.
- Specify the host NIC to use, the Network Coredump Server IP, and the Network Coredump Server Port.
- Click Save to complete the host profile configuration.
What to do next
- Create a rule that applies the host profile to all hosts that you want to provision with the settings specified in the reference host. For writing a rule in a PowerCLI session, see Write a Rule and Assign a Host Profile to Hosts.
- For hosts that are already provisioned with vSphere Auto Deploy, perform the test and repair compliance operations in a PowerCLI session, see Test and Repair Rule Compliance.
- Power on unprovisioned hosts to provision them with the new host profile.