Technical Ramblings of a Geek

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

vmware:coredump-file [2014/05/06 12:32] (current)
Nick Accad created
Line 1: Line 1:
 +===== How to configure ESXi to dump its core to a file =====
 +ESXi boxes upgraded from previous version might not have a big enough core dump partition, or a user error in the installation might have created that partition too small or none at all.
 +When ESXi host crashes, you end up with either an incomplete or no core dumps for analysis.
 +  - SSH into the ESXi host where were are going to perform this opertion
 +  - Add a new file to be used to core dumps: <​code>​esxcli system coredump file add -d <​DATASTORE_NAME>​ -f <​FILENAME>​ -s <​SIZE></​code>​
 +  - Get a list of all dump files that we have access to: <​code>​esxcli system coredump file list</​code>​
 +  - Select and set which dumpfile we will use for this host:<​code>​esxcli system coredump file set -p /​vmfs/​volumes/<​DATASTORE_NAME>/<​FILENAME></​code>​
 +  - Activate/​enable this file:<​code>​esxcli system coredump file set -e=1</​code>​
 +esxcli system coredump file add -d iSCSI -f `hostname -s`
 +esxcli system coredump file list
 +esxcli system coredump file set -p /​vmfs/​volumes/​52bb4bb5-6a004c90-7581-005056032956/​vmkdump/​esxi-55-b.dumpfile
 +esxcli system coredump file set -e=1
vmware/coredump-file.txt ยท Last modified: 2014/05/06 12:32 by Nick Accad