2 Replies Latest reply on Dec 4, 2017 10:56 PM by xpavlice

    ESXi Randomly Shuts down

    xpavlice Lurker

      Hi all,
      I have HP Proliant Microserver with ESXi 6.0.0 build-2809209 and 1 month ago problem appeared.

      ESXi randomly shutdown. Host(s) is correctly powered off, but I dont know reasen, why is ESXi server shutdowned..

       

      in hostd.log I found only this:
      2017-12-03T02:38:49.979Z info hostd[57A80B70] [Originator@6876 sub=Vimsvc.TaskManager opID=f333da5b user=root] Task Created : haTask-2-vim.VirtualMachine.shutdownGuest-14690

       

      Could anybody please  help me with finding the reason (problem) why is ESXi shutdowned?

      Thanks a lot.

      Martin

        • 1. Re: ESXi Randomly Shuts down
          Sureshkumar M Expert
          vExpert

          2017-12-03T02:38:49.970Z info hostd[560E0B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=f333da58] Event 107 : User root@127.0.0.1 logged in as VMware-client/5.1.0

          2017-12-03T02:38:49.979Z info hostd[57A80B70] [Originator@6876 sub=Vimsvc.TaskManager opID=f333da5b user=root] Task Created : haTask-2-vim.VirtualMachine.shutdownGuest-14690

          2017-12-03T02:38:49.979Z info hostd[57A80B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/596b2d9a-41fc58e4-ea95-e83935ee25f7/W2012Server/W2012Server.vmx opID=f333da5b user=root] State Transition (VM_STATE_ON -> VM_STATE_SHUTTING_DOWN)

          2017-12-03T02:38:49.979Z info hostd[57A80B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=f333da5b user=root] Event 108 : Guest OS shut down for W2012Server on titan in ha-datacenter

          2017-12-03T02:38:50.040Z info hostd[57880B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=f333da63 user=root] Event 109 : User root@127.0.0.1 logged out (login time: Sunday, 03 December, 2017 02:38:49, number of API invocations: 0, user agent: VMware-client/5.1.0)

          2017-12-03T02:38:50.283Z info hostd[57A80B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/596b2d9a-41fc58e4-ea95-e83935ee25f7/W2012Server/W2012Server.vmx opID=f333da5b user=root] State Transition (VM_STATE_SHUTTING_DOWN -> VM_STATE_ON_SHUTTING_DOWN)

          2017-12-03T02:38:50.283Z info hostd[57A80B70] [Originator@6876 sub=Vimsvc.TaskManager opID=f333da5b user=root] Task Completed : haTask-2-vim.VirtualMachine.shutdownGuest-14690 Status success

          2017-12-03T02:38:50.294Z info hostd[57C80B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=f333da66 user=root] Event 110 : User root@127.0.0.1 logged out (login time: Sunday, 03 December, 2017 02:38:49, number of API invocations: 0, user agent: VMware-client/5.1.0)

           

          Above logs are related to VM shutdown, looks like the VM is set to startup/down with host, so whenever the host is shutdown, VM will automatically shutdown and will start along with the host.

           

          1. can you paste the output of uptime command from ESXi host?

          2. Also have you checked hardware logs to find who initiated the shutdown?

          3. If the host is randomly shuts down, then it could be due to hardware issue or incompatible hardware/firmware version ?

           

          Please provide us the complete hardware make and model details to verify in compatibility guide.

          • 2. Re: ESXi Randomly Shuts down
            xpavlice Lurker

            Thanks a lot.

            Server is "old" HP Proliant Microserver NEO N40L, 2x1,5Ghz, 8GB RAM

             

            There is running one script (watchdog)  on W2012server which is monitoring state of SMART-UPS SC420 and if it is under 65 percents the shutdown script on ESXI is triggered.

            But there wasnt any power outage.

             

            Would be this task "haTask-2-vim.VirtualMachine.shutdownGuest-14690" created by my script which is started directly on ESXI (/vmfs/volumes/596b2d9a-41fc58e4-ea95-e83935ee25f7/scripts/run-apc.sh) - it is based on vmware console command to resume all VMs that are suspended · GitHub ?