During a host failure, ESXi must be able to save diagnostic information to a preconfigured location for diagnostic and technical support purposes.
Typically, a partition to collect diagnostic information, also called a core dump, is created on a local storage device during ESXi installation. You can also configure an ESXi Dump Collector and keep core dumps on a network server for use during debugging. For information on setting up the ESXi Dump Collector, see Configure an ESXi Dump Collector in the VMware ESXi Installation and Setup documentation.
Another option is to use a file on a VMFS datastore to collect the diagnostic information.
Set Up a File as Core Dump Location
If the size of your available core dump partition is insufficient, you can configure ESXi to use a file on a VMFS datastore for diagnostic information.
Prerequisites
- Make sure that the amount of available space in the datastore for a core dump file is twice as large as the recommended file size. For more information, see the Knowledge Base article 2058416.
-
Install ESXCLI. See Getting Started with ESXCLI. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
What to do next
For information about other commands you can use to manage the core dump files, see the ESXCLI Reference documentation.
Deactivate and Delete a Core Dump File
Deactivate a configured core dump file and, if needed, remove it from the VMFS datastore.
You can temporarily deactivate the core dump file. If you do not plan to use the deactivated file, you can remove it from the VMFS datastore. To remove the file that has not been deactivated, you can use the esxcli system coredump file remove command with the --force | -F parameter.
Prerequisites
Install ESXCLI. See Getting Started with ESXCLI. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
Results
The core dump file is removed from the VMFS datastore.