VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
VMware vSphere ESX 9.x
To determine the category of a reboot or shutdown, begin by reviewing the /var/run/log/vmksummary.log on the ESXi host.
The vmksummary log will record an entry every hour at the top of the hour. It also logs useful information to determine unexpected reboot or shutdown information.
/var/run/logvmksummary.log will contain entries similar to the following:YYYY-MM-DDTHH:MM:SS.###Z bootstop[######]: Host is halting
YYYY-MM-DDTHH:MM:SS.###Z Host has bootedYYYY-MM-DDTHH:MM:SS.###Z bootstop[######]: Host is rebootingYYYY-MM-DDTHH:MM:SS.###Z Host has booted
The above logs indicate a user initiated reboot.
An ESXi host can also be shut down or rebooted through out-of-band management interfaces such as iLO or iDRAC.
Depending on the hardware setup and type of shutdown or reboot, ACPI events may be sent to ESXi. In these cases, vmksummary.log will not show a halting or reboot message. Instead, the below log message will be printed:
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)VMKAcpi: ###: Power button pressed; requesting graceful shutdown and poweroff
To identify the user who initiated the reboot, refer to the Additional Information section of this KB article.
If ESXi has a kernel crash and successfully dumps core, the following messages will appear in the vmksummary.log after the system reboots:
Log file: var/run/log/vmksummary.log
YYYY-MM-DDTHH:MM:SS.###Z heartbeat[########]: up ##d#h##m##s, ## VMs; [[####### vmx #kB] [####### vmx #kB] [####### vmx #kB]] []
YYYY-MM-DDTHH:MM:SS.###Z heartbeat[########]: up ##d#h##m##s, ## VMs; [[####### vmx #kB] [####### vmx #kB] [####### vmx #kB]] []
YYYY-MM-DDTHH:MM:SS.###Z bootstop[######]: file core dump found
YYYY-MM-DDTHH:MM:SS.###Z Host has bootedIf the VMware ESXi host has encountered a kernel error, refer to Interpreting an ESXi host purple diagnostic screen
If ESXi is unable to determine the cause of a shutdown or reboot, the entries in /var/run/log/vmksummary.log will appear similar to the following:
YYYY-MM-DDTHH:MM:SS.###Z heartbeat[########]: up ##d#h##m##s, ## VMs; [[####### vmx #kB] [####### vmx #kB] [####### vmx #kB]] []
YYYY-MM-DDTHH:MM:SS.###Z heartbeat[########]: up ##d#h##m##s, ## VMs; [[####### vmx #kB] [####### vmx #kB] [####### vmx #kB]] []
YYYY-MM-DDTHH:MM:SS.###Z bootstop[#######]: Host has booted
YYYY-MM-DDTHH:MM:SS.###Z heartbeat[#######]: up #d#h##m##s, # VM; [[####### hostd #####kB] [####### vsanmgmtd #kB] [####### vmx #kB]] []
vmksummary.log will only display the "Host has booted" message./var/run/log/vobd.log as shown below:YYYY-MM-DDTHH:MM:SS.###Z In(##) vobd[#######]: Successfully sent event ([esx.audit.host.poweroff.reason.unavailable] The host is being powered off. The poweroff was not the result of a kernel error, deliberate reboot, or shut down. This could indicate a hardware issue. Hardware may reboot abruptly due to power outages, faulty components, and heating issues. To investigate further, engage the hardware vendor)
/var/run/log/hostd.log file. Hostd[#####]: [Originator@#### sub=Vimsvc.ha-eventmgr] Event ##### : The host is being powered off through hostd. Reason for powering off: The host is being powered off through Advanced Configuration and Power Interface (ACPI)., User: UNKNOWN_USER. In(##)YYYY-MM-DDTHH:MM:SS.###Z
Note: "Advanced Configuration and Power Interface (ACPI)": ACPI is the industry standard for power management. In this context, this indicates that the server's physical power button was pressed, or a hardware management command was sent via the IPMI (such as iDRAC, iLO, or IMM). The UNKNOWN_USER designation means the action was not performed by a recognized VMware system account.
Log file: /var/run/log/hostd.log
[YYYY-MM-DDTHH:MM:SS] In(###) Hostd[######]: [Originator@#### sub=Vimsvc.TaskManager opID=####-####:####-#### sid=######## user=vpxuser:####-####] Task Created : haTask-ha-host-vim.HostSystem.reboot-##########
[YYYY-MM-DDTHH:MM:SS] In(###) Hostd[######]: --> eventTypeId = "esx.audit.hostd.host.reboot.reason",
[YYYY-MM-DDTHH:MM:SS] In(###) Hostd[######]: --> value = "The host is being rebooted through hostd."
[YYYY-MM-DDTHH:MM:SS] In(###) Hostd[######]: [Originator@#### sub=Vimsvc.ha-eventmgr] Event #### : The host is being rebooted through hostd. Reason for reboot: The host is being rebooted through hostd., User: vpxuser:<User_name>.We recommend you consider the following when deciding when and how to configure ASR:
Steps to disable ASR:
localcli hardware ipmi sel listExample event:
Record:####:
Record Id: ####
When: ####-##-##T##:##:##
Event Type: ### (Unknown)
SEL Type: # (System Event)
Message: Deassert + Power Supply Presence detected
Sensor Number: ##
Raw:
Formatted-Raw: ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##