Another basic command, but may be useful in stateless environments with no local disk usable for a diagnostic partition. Here is a quick how-to.
- Connect to your host through SSH or open the DCUI.
- Setup the VMkernel interface, remote server IP address and port: # esxcli system coredump network set -v vmk0 -i 10.10.10.10 -o 6500
- Enable the remote dump collector host: # esxcli system coredump network set -e true
- Verify the settings: # esxcli system coredump network get
- Logout.
Done!
Verify if the ports are open on the firewall though vSphere Client or vSphere Web Client. This could of course be applied to the host through the Host Profiles. One more thing, ESXi Dump Collector is not supported on vSphere distributed switches (at the time of this writing).
Cheers!
– Marek.Z