No coredump target has been configured. Host core dumps cannot be saved

Configuring ESXi coredump to file instead of partition (2077516)

Purpose

This article provides steps to configure ESXi to generate coredump as a file on VMFS.
On ESXi\ESX hosts that are upgraded to ESXi 5.x, the core file size is limited to 100 MB. In most cases this is not enough to handle the coredump file size. It is recommended to configure the ESXi host to generate coredumps as a file.

Resolution

Note: Software iSCSI and Software FCoE are not supported for coredump locations.
To configure ESXi to generate the coredump as a file on VMFS:
  1. Connect to the ESXi host using the SSH.
  2. Run this command to add a new file, used as coredump:esxcli system coredump file add

    -d can be used to specify the vmfs datastore used for the coredump file. If it is not provided, a datastore of sufficient size will be automatically selected.
    -f can be used to specify a file name for the coredump file. If it is not provided, a unique name will be created.For Example:

    esxcli system coredump file add -d VMFS_VOLUME -f test

  3. Run this command to get the list of all dump files that have an access:esxcli system coredump file listYou see output similar to:

    Path                                                                     Active Configured Size
    ———————————————————————— —— ———- ———
    /vmfs/volumes/52b021c3-f6b3da50-4c76-001d0904c5a5/vmkdump/test.dumpfile  false  false      104857600

    Note: If no coredump file has been specified, no output will be displayed from running the command.

  4. Run this command to set the dump file for the host:esxcli system coredump file set -p /vmfs/volumes/DATASTORE_UUID/vmkdump/FILENAME For Example:

    esxcli system coredump file set -p /vmfs/volumes/52b021c3-f6b3da50-4c76-001d0904c5a5/vmkdump/test.dumpfile

  5. Run this command to verify that the dump file is active and configured:esxcli system coredump file listYou see output similar to:

    Path                                                                     Active Configured Size
    ———————————————————————— —— ———- ———
    /vmfs/volumes/52b021c3-f6b3da50-4c76-001d0904c5a5/vmkdump/test.dumpfile  True   True                   104857600

Leave a Reply