Hyper-V VMs in Stopping Critical State
-
@Alket_tux said in Hyper-V VMs in Stopping Critical State:
Hello guys,
i ve been in trouble with hyper v on ws 2012 r2.. the issue is that when i restart my server Hyper-v Virtual machine management service takes an eternity to stop, so i hard reboot.. after that my machines are in runnig state.. also when i try to shutdown my vm-s, their state goes to stopping critical.. any ideas would be helpful..
thanksWhen you shut down a Hyper-V server, the default settings for all of your VMs is to save the state of the VM. After that, your server will shut down. Depending on the number of VMs you have, it could take a little bit to save the state of all of them. It has to write the memory to disk, etc. Also, the default startup option is to start the VMs if they were started when they went down, which is why they are back up when you boot up your hypervisor.
If you are killing your server during this process, you are hurting your VMs. This will cause critically stopped states. Hopefully they are .vhdx disks to help prevent corruption.
-
@Tim_G said in Hyper-V VMs in Stopping Critical State:
@Alket_tux said in Hyper-V VMs in Stopping Critical State:
Hello guys,
i ve been in trouble with hyper v on ws 2012 r2.. the issue is that when i restart my server Hyper-v Virtual machine management service takes an eternity to stop, so i hard reboot.. after that my machines are in runnig state.. also when i try to shutdown my vm-s, their state goes to stopping critical.. any ideas would be helpful..
thanksWhen you shut down a Hyper-V server, the default settings for all of your VMs is to save the state of the VM. After that, your server will shut down. Depending on the number of VMs you have, it could take a little bit to save the state of all of them. It has to write the memory to disk, etc. Also, the default startup option is to start the VMs if they were started when they went down, which is why they are back up when you boot up your hypervisor.
If you are killing your server during this process, you are hurting your VMs. This will cause critically stopped states. Hopefully they are .vhdx disks to help prevent corruption.
Oh I misread the OP. I thought he originally shut this down properly. @Alket_tux you just attempted to reboot the hypervisor without shutting down the VM's initially, am I reading that correctly now?
-
@Tim_G i did stop my server forcefully a couple of times,
-
@wirestyle22 yes,, because i could not shut down the vm's as they went in stopping critical state
-
@Alket_tux said in Hyper-V VMs in Stopping Critical State:
@wirestyle22 yes,, because i could not shut down the vm's as they went in stopping critical state
I know it seems like I'm asking the same questions but just bare with me. The order of events are you attempted to stop the VM's and they immediately attempted stopping in a critical state. That's when you rebooted the host server, correct? You did not reboot the host server before the VM's were in a critical state
-
@wirestyle22 no i did not reboot the server before that state..
actually let me explain what happend in the first place:yesterday all things worked fine vswitch etc..
today all the vm's including my host sever had limited network.
i connected a second cable and connected to the host..
i tried to work with my vm's change their network etc.. the vms went in stopping state..
then i tried to change the network setting of the vswitch from static to dynamic IP.. at that moment my host crashed.. i had only the hyper v window open.. all the windows features were gone, like windows explorer had crashed..
at this point i force rebooted my server.. when it went back up, the same things happen, i connect to a vm. i try ti restart it vm hangs and goes in stopping state -
@Alket_tux said in Hyper-V VMs in Stopping Critical State:
@wirestyle22 no i did not reboot the server before that state..
actually let me explain what happend in the first place:yesterday all things worked fine vswitch etc..
today all the vm's including my host sever had limited network.
i connected a second cable and connected to the host..
i tried to work with my vm's change their network etc.. the vms went in stopping state..
then i tried to change the network setting of the vswitch from static to dynamic IP.. at that moment my host crashed.. i had only the hyper v window open.. all the windows features were gone, like windows explorer had crashed..
at this point i force rebooted my server.. when it went back up, the same things happen, i connect to a vm. i try ti restart it vm hangs and goes in stopping state]Yesterday everything worked until you applied updates you said though. I find it difficult to believe there is nothing listed in
event viewer
at the very least. Did you attempt to uninstall whatever was installed yesterday or research the updates applied? -
@wirestyle22 updates were applied only in the VM's not the host.. everything is ok, just for a vm an error about integration services