In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "VM virtual machine can not restart the shutdown how to force processing", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "VM virtual machine can not restart shutdown how to force handling" this article.
A virtual machine cannot connect to the network properly and cannot be restarted or shut down when it is connected to the VC through VSPHERE CLIENT. The screenshot of an error is reported.
View the event log
It turned out that there was a problem when executing the VMTOOLS installation program. I asked the implementation engineer that the upgrade of VMTOOLS was not a successful problem, and the virtual machine now hung without any response.
There is no response to its restart and shutdown. This virtual machine has a lot of RDM bare disks and is a storage monitoring machine. The problem needs to be resolved immediately, and it is obviously too late to delete and rebuild.
So is there any other way to force the virtual machine to shut down or restart?
Here is a method.
First, turn on the SSH connection function of the ESXI host where the virtual machine is located.
Then connect to the command line
Perform a process view to view the processes of each virtual machine
# esxcli vm process list | more
F9EMCSE01
World ID: 40008824
Process ID: 0
VMX Cartel ID: 40008821
UUID: 42 0a d0 01 38 68 b7 7d-61 5e 4c ab d5 5b f0 6c
Display Name: F9EMCSE01
Config File: / vmfs/volumes/55813f75-c661c1ac-dea8-6c0b8462a7e8/F9EMCSE01/F9EMCSE01.vmx
# esxcli vm process kill-type=
Error: Missing required parameter-w |-- world-id
Usage: esxcli vm process kill [cmd options]
Description:
Kill Used to forcibly kill Virtual Machines that are stuck
And not responding to normal stop operations.
Cmd options:
-t |-- type= The type of kill operation to attempt. There are three
Types of VM kills that can be attempted: [soft
Hard, force]. Users should always attempt 'soft' kills
First, which will give the VMX process a chance to
Shutdown cleanly (like kill or kill-SIGTERM). If that
Does not work move to 'hard' kills which will shutdown
The process immediately (like kill-9 or kill
-SIGKILL. 'force' should be used as a last resort
Attempt to kill the VM. If all three fail then a
Reboot is required. (required)
-w |-- world-id= The World ID of the Virtual Machine to kill. This can
Be obtained from the'vm process list' command
(required)
There are three types of SOFT that kill virtual machine processes. HARD is forced to kill, similar to KILL-9. FORCE is killing the whole virtual machine.
Execute statement
# esxcli vm process kill-type=hard-world-id=40008824
It is found that the virtual machine has been forcibly shut down, and then reboot will be normal. The VMTOOLS has been upgraded successfully.
The above is all the contents of the article "how to enforce the shutdown when the virtual machine of VM cannot be restarted". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.