ESXi tip: few quick and easy esxcli cmd’s to redirect your core dumps to your dump collector

 

How to configure your  ESXi Host to Redirect Their Core Dumps

The primary method for configuring hosts to redirect their core dumps to your newly setup ESX Dump Collector is to use the esxcli command-line tool:

  1. Logon via ssh tool to your esxi host of your choice eg putty
  2. To run a check on your existing Dump Collector configuration:
    esxcli system coredump network get
  3. Then need to configure the host’s dump redirection settings (will need management VMkernel interface and collector’s IP and port):
    esxcli system coredump network set -v vmk0 -i 192.168.0.1 -o 6500
  4. Switch on dump redirection:
    esxcli system coredump network set -e true
  5. To verify the settings are configured correctly:
    esxcli system coredump network get

    In enterprise environments might want to use the host profiles feature to configure to save you the bother of individually configuring each one – details – https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-E5669933-106E-4E6B-8D5A-6780415A12FD.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s