VMware ESXi 7 No Coredump Target Has Been Configured.

Please follow & like us :)

This week I had the task of installing VMware ESXi 7 on a Cisco UCS blade booting from SD Cards.

Once ESXi was installed and added into vCenter, I saw the warning ‘No coredump target has been configured. Host core dumps cannot be saved

I had a quick google search and also opened up a support ticket with VMware.

Because the datastores mounted to these new ESXi servers are connected via iSCSI, we do not have the option to save a coredump file to them. Pointing Coredumps to an iSCSI or FCoE backed datastore, is not supported.

The VMware support engineer pointed me to KB article 77009, and asked me to set the boot variable – ‘allowCoreDumpOnUsb=TRUE‘. The default setting is set to false.

To set the boot variable, you have to reboot and press SHIFT+O when ESXi is booting. You have to be quick here as you only have 5 seconds.

vmware-vsphere-7-esxi-coredump

Once you press SHIFT+O, you will enter the boot options. Here you append to the end of the boot options – ‘allowCoreDumpOnUsb=TRUE‘. Once you have entered the command, you can press ENTER and the ESXi host will boot.

vmware-vsphere-7-esxi-boot-options

If you establish an SSH session to the ESXi host and type in – ‘esxcli system coredump file list‘, you will see that the coredump file got created on the VMFS-L filesystem within OSDATA.

The only requirement for the Coredump file to be created is that the volume is larger than 4GB.

vmware-vsphere-7-esxi-coredump-file

Once the Coredump is set correctly, the warning message disappears.

3 Comments

  1. Interesting solution as I too faced this issue. I didn’t know that saving coredump files to an iSCSI disk is not supported. Can you please provide your source for this information. I didn’t want to send that many writes to an SD card as they have a limited number (all be it a very large number) of read/writes before failure. I set the advanced system setting, Syslog.global.logDir to point to an iSCSI mounted volume. This solution has been working for me for going on 6 years now. Thanks for the article.

    • Hi Dan, you can definately point it to an iscsi target however it is not supported. Please check this KB article: https://kb.vmware.com/s/article/2004299 a quarter of the way down you will see ‘Note: Configuring a remote device using the ESXi host software iSCSI initiator is not supported.’

  2. Another (possibly) suitable alternative is to set these options using advanced settings (either from the host client or vSphere client) You could also insert these into a kickstart file if trying to PXE boot …

Leave a Reply

Your email address will not be published.


*


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.