Our physical Linux servers have an ILO board that may be used to create an non-maskable interrupt. This easily triggers the creation of a kernel dump in case the server is unresponsive. How can this be done in a virtual machine?
In order to debug unresponsible Linux servers, we currently trigger the kernel dump of virtual machines via key combination ALT+SysRq+c. However it does not work via terminal server connection – especially with different keyboard mappings and various client configurations.
To straighten the process, we would like to use the API or to use a native Vmware method that triggers a NMI on hung machines.
Is this possible?
Best Answer
On the actual ESXi host, logged in as root run this;
where is that of the VM you want to NMI.