You can use ESXCLI to manage local core dumps.

The following example scenario changes the local diagnostic partition by using ESXCLI. Specify one of the options listed in Connection Options for vCLI Host Management Commands in place of <conn_options>.

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 configured.