Not Responding
.Disconnected
./var/log/hostd.log
is showing: YYYY-MM-DDT:HH:MM:06.810Z In(166) Hostd[2099849]: --> eventTypeId = "esx.audit.host.poweroff.reason.unavailable",
YYYY-MM-DDT:HH:MM.810Z In(166) Hostd[2099849]: --> objectId = "ha-host",
YYYY-MM-DDT:HH:MM.810Z In(166) Hostd[2099849]: --> objectType = "vim.HostSystem",
YYYY-MM-DDT:HH:MM.810Z In(166) Hostd[2099849]: --> }
YYYY-MM-DDT:HH.810Z In(166) Hostd[2099894]: [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 38 : Host had been 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.
Note: This article assumes that you have completed the steps described in ESXi hosts do not respond and is grayed out in vCenter
/var/run/log/hostd.log
file will contain one or both of the following events (or similar ones):DCUI: reboot
Hostd: [<YYYY-MM-DD> <time>.550 2FEDEB90 info 'TaskManager'] Task Created : haTask-ha-host-vim.HostSystem.shutdown-78</time>
DCUI: poweroff
7.) ESXi 5.5 and above may also include PowerButton Helper events in the vmkernel.log file, similar to:[YYYY-MM-DDTHH:MM:SS] cpu6:8222)VMKAcpi: 217: In PowerButton Helper
8.) ESXi 7.0 and above may indicate power button related events in vmkernel.log and hostd.log files, similar to:[YYYY-MM-DDTHH:MM:SS] cpu0:2101545)VMKAcpi: 256: Power button pressed; requesting graceful shutdown and poweroff
hostd.log
[YYYY-MM-DDTHH:MM:SS]
info hostd[2100455] [Originator@6876 sub=Hostsvc.HaHost] ACPI power event from the vmkernel
[YYYY-MM-DDTHH:MM:SS]
info hostd[2100455] [Originator@6876 sub=Hostsvc.HaHost] Shutdown, force = true
[YYYY-MM-DDTHH:MM:SS]
warning hostd[2100455] [Originator@6876 sub=Hostsvc.HaHost] Failed to find activation record, event user unknown.
[YYYY-MM-DDTHH:MM:SS]
info hostd[2100455] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 679147 : Shut down of <ESXhostname> in ha-datacenter: Unknown
[YYYY-MM-DDTHH:MM:SS]
info hostd[2100455] [Originator@6876 sub=SysCommandPosix] ForkExec(/usr/lib/vmware/vob/bin/addvob) 214058855
[YYYY-MM-DDTHH:MM:SS]
info hostd[2516901] [Originator@6876 sub=Vimsvc.TaskManager opID=<opID> user=vpxuser] Task Created : haTask--vim.event.EventHistoryCollector.readNext-13046911
[YYYY-MM-DDTHH:MM:SS]
info hostd[161861312] [Originator@6876 sub=Vimsvc.TaskManager opID=<opID> user=vpxuser] Task Completed : haTask--vim.event.EventHistoryCollector.readNext-13046911 Status success
[YYYY-MM-DDTHH:MM:SS]
info hostd[2516902] [Originator@6876 sub=Hostsvc.VmkVprobSource] VmkVprobSource::Post event: (vim.event.EventEx) {--> key = 65,
--> chainId = -##########,
--> createdTime = "
[YYYY-MM-DDTHH:MM:SS]
",--> userName = "",
--> host = (vim.event.HostEventArgument) {
--> name = "<ESX host name>",
--> host = 'vim.HostSystem:ha-host'
--> },
--> eventTypeId = "esx.audit.hostd.host.poweroff.reason",
--> arguments = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "1",
--> value = " Last reboot reason is unknown. Please check ESXi and the BMC logs for further details. "
--> },
--> (vmodl.KeyAnyValue) {
--> key = "2",
--> value = "Unknown"
--> }
--> ],
--> objectId = "ha-host",
--> objectType = "vim.HostSystem",
--> }
[YYYY-MM-DDTHH:MM:SS]
info hostd[2516902] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 679148 : The host is being powered off through hostd. Reason for powering off: Last reboot reason is unknown. Please check ESXi and the BMC logs for further details. , User: Unknown. Please consult vSphere Documentation Center or follow the Ask VMware link for more information.
[YYYY-MM-DDTHH:MM:SS]
info hostd[2100456] [Originator@6876 sub=Vimsvc.TaskManager opID=2c8f4245 user=vpxuser] Task Created : haTask--vim.event.EventHistoryCollector.readNext-13046912
[YYYY-MM-DDTHH:MM:SS]
info hostd[2516901] [Originator@6876 sub=Vimsvc.TaskManager opID=2c8f4245 user=vpxuser] Task Completed : haTask--vim.event.EventHistoryCollector.readNext-13046912 Status success
[YYYY-MM-DDTHH:MM:SS]
info hostd[2100455] [Originator@6876 sub=SysCommandPosix] ForkExec(/sbin/poweroff) 214058856
esxcfg-dumppart
command.esxcfg-advcfg -g /Misc/BlueScreenTimeout
/var/log/vmksummary.log
shows that a core dump is found.For example:
<YYYY-MM-DD>T<time>Z bootstop: Host has booted
<YYYY-MM-DD>T<time>Z bootstop: file core dump found</time></time>
hostd.log
[YYYY-MM-DDTHH:MM:SS] In(166) Hostd[525413]: [Originator@6876 sub=Vimsvc.TaskManager opID=####-####
:####-####
sid=520de624 user=vpxuser:####-####
] Task Created : haTask-ha-host-vim.HostSystem.reboot-1668848948
[YYYY-MM-DDTHH:MM:SS] In(166) Hostd[525377]: --> eventTypeId = "esx.audit.hostd.host.reboot.reason",
[YYYY-MM-DDTHH:MM:SS] In(166) Hostd[525377]: --> value = "The host is being rebooted through hostd."
[YYYY-MM-DDTHH:MM:SS] In(166) Hostd[525428]: [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 7142 : The host is being rebooted through hostd. Reason for reboot: The host is being rebooted through hostd., User: vpxuser:<vCenter admin user>.
hostd.log
[YYYY-MM-DDTHH:MM:SS] info hostd[264466] [Originator@6876 sub=Vimsvc.TaskManager opID=####-####
user=####-####
] Task Created : haTask-ha-host-vim.HostSystem.shutdown-1063352434
--> obj = 'vim.Task:haTask-ha-host-vim.HostSystem.shutdown-1063352434',
--> object = 'vim.Task:haTask-ha-host-vim.HostSystem.shutdown-1063352434',
--> eventTypeId = "esx.audit.host.stop.shutdown",
[YYYY-MM-DDTHH:MM:SS] info hostd[264471] [Originator@6876 sub=Vimsvc.TaskManager opID=esxui-####-#### user=####] Task Completed : haTask-ha-host-vim.HostSystem.shutdown-1063352434 Status success
[YYYY-MM-DDTHH:MM:SS] info hostd[264022] [Originator@6876 sub=Solo.VmwareCLI] (vim.EsxCLI.system.shutdown) ha-cli-handler-system-shutdown created
[YYYY-MM-DDTHH:MM:SS] info hostd[264022] [Originator@6876 sub=Solo.VmwareCLI] CreateDynMoType (Type vim.EsxCLI.system.shutdown) (Wsdl VimEsxCLIsystemshutdown) (Version vim.version.version5).