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 ESXCLI Host Management Commands
in place of
<conn_options>
.
Procedure
-
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
-
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.
-
Set the active partition
to
naa.<naa_ID>
.
esxcli <conn_options> system coredump partition set --partition=naa.<naa_ID>
-
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.