How to send NMI to Guest OS on ESXi 6.x or Later
book
Article ID: 301246
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
This article provides steps to send NMI to Guest OS on ESXi 6.x or Later.
Note: Host client does not have HungVM - Send_NMI_To_Guest option. Therefore, ESXi 6.x or Later cannot send NMI using host client.
Environment
VMware vSphere ESXi 6.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
Resolution
To send NMI to Guest OS on ESXi 6.x or Later, use one of these options:
- Using WebClient/vSphere Client:
-
- Log in to the vSphere Web Client/vSphere Client.
- Select vCenter from left panel.
- Select VMs and Templates.
- Right-click Virtual machine > All vCenter Actions > Export Diagnostic Data.
- Select HungVM > Send_NMI_To_Guest.
- Click Generate Log Bundle.
- Using vm-support command-line:
-
- Log in to ESXi host through SSH or console as root.
Note: The virtual machine must be registered in the inventory.
- Run this command to list all registered and running virtual machines:
vm-support --listvms
vmdumper -l
- Run this command to Send NMI:
vm-support -a HungVM:Send_NMI_To_Guest --vm=/vmfs/volumes/Path/of/VMname.vmx
- Using vmdumper command-line:
-
- Log in to ESX/ESXi host through SSH or console as root.
- Run this command to get a list of all running virtual machines, identified by their World ID, path to the .vmx configuration file:
ESXi: /sbin/vmdumper -l
ESX : /usr/lib/vmware/bin/vmdumper -l
Example output:
wid=WorldID pid=-1 cfgFile="/vmfs/volumes/path/to/filename.vmx" uuid="ab cd ef ..." displayName="Virtual Machine Name"
- Run this command to Send NMI:
vmdumper WorldID nmi
Feedback
thumb_up
Yes
thumb_down
No