VMware vSphere

 View Only
  • 1.  ESxi host not rebooting

    Posted Apr 04, 2023 08:11 AM

    ESxi host not rebooting even run below command 

     

    esxcli vm process kill --type= [soft,hard,force] --world-id= WorldNumber

     

    invalid command force  

    how we can fix this.



  • 2.  RE: ESxi host not rebooting

    Posted Apr 04, 2023 08:15 AM

    what is the hardware and which version of ESXi,

    what is the error you are getting on the screen

    use the command reboot on ssh

     



  • 3.  RE: ESxi host not rebooting

    Posted Apr 04, 2023 11:08 AM

    Hi,

    You can reboot ESXi host using the following command:

    esxcli system shutdown reboot

     

    Remember to Enable Maintenance Mode on ESXi, using the following command:

    esxcli system maintenanceMode set --enable true

     

    To check if MM is enabled, use the following command:

    esxcli system maintenanceMode get

     

    To Disable Maintenance Mode, use the following command:

    esxcli system maintenanceMode set --enable false

     

    Regards



  • 4.  RE: ESxi host not rebooting

    Posted Apr 04, 2023 02:26 PM

    post with {esxcli vm process kill} command looking like more VM problem.

    If you have issues with stuck VMs follow this article: Powering off an unresponsive virtual machine on an ESXi host (1004340) .

    In my ESXI 7.03c exploitation experience I have some issue with stuck VMs after short losing connections with datastores (Network issues), and you must perform hard reboot for host with stuck VMs.

    Force host for reboot command : {reboot -n -f}