Urgent help. how to shut down this VM?
- Hi all,
I have three windows 2008 hyper-v hosts that set up quick migration for 12 VMs.
I need to expand one virtual disk for one VM and I need to take down this VM to expand.
What's the right way to turn this VM off?
Thank you.
Answers
Hi,
If I shut down from VM, the failover clustering brings it on again.
>> It seems that you bring down the VM in Hyper-V Manager, not in Failover Cluster console. If I misunderstand your concern, please feel free to let me know. If so, please shutdown the VM in Failover Cluster console to check whether you get the same issue.
Vincent Hu
- Marked As Answer byVincent HuMSFT, ModeratorThursday, November 12, 2009 8:21 AM
All Replies
- You have two options. You can connect to the running vm and issue a shutdown command from within the virtual OS. This will work even if Integration Services are not installed. If Integration Services are installed, you can issue a shutdown command from the Hyper-V Manager (right-click the vm's name and select Shut Down) or from the Virtual Machine Connection menu bar (click the Shut Down icon) if you are using that to connect. Using the turn off virtual machine from the Hyper-V Manager or Virtual Machine Connection is like turning off the power to a physical machine, which probably isn't what you want to do.
- Marked As Answer byJohn Paul CookMVP, ModeratorThursday, November 05, 2009 4:54 PM
- Unmarked As Answer byJohn Paul CookMVP, ModeratorThursday, November 05, 2009 6:09 PM
- If the VM is "Highly Available" - that is it is being maintained by Failover Clustering to keep it powered on - you need to open the Failover Cluster manager as suspend that so it does not keep trying to power you VM back on.
This is would be described as the VM being configured for "Live Migration"
Also - you are expanding a VHD - be suer that your VM does NOT have any snapshots. Or you will permanently damage it.
If it does have snapshots - delete them, power off the VM and allow the snapshots to merge.
Brian Ehlert (hopefully you have found this useful) - THANKS FOR THE REPLY.
If I shut down from VM, the failover clustering brings it on again. Hi,
If I shut down from VM, the failover clustering brings it on again.
>> It seems that you bring down the VM in Hyper-V Manager, not in Failover Cluster console. If I misunderstand your concern, please feel free to let me know. If so, please shutdown the VM in Failover Cluster console to check whether you get the same issue.
Vincent Hu
- Marked As Answer byVincent HuMSFT, ModeratorThursday, November 12, 2009 8:21 AM
- Vincent,
Thanks for the help. It works.
BTW, where should I start up this VM from Hyper-V or failover cluster console?
Also, If I turn off this VM from failover cluster console, I can not see this VM in the hyper-V manager anymore. Is this supposed to be?
Thank you! Hi,
BTW, where should I start up this VM from Hyper-V or failover cluster console?
>> It’s better to perform the operation in Failover Cluster console.
Also, If I turn off this VM from failover cluster console, I can not see this VM in the hyper-V manager anymore. Is this supposed to be?
>> Seems there are some problem with your cluster, based on my experience, you should see the VM in Hyper-V Manager after you shutdown it in Failover Cluster console. However, my Hyper-V Failover Cluster is not available at this time, I will verify this later.
Vincent Hu
- Vincent,
Also, If I turn off this VM from failover cluster console, I can not see this VM in the hyper-V manager anymore. Is this supposed to be?
>> Seems there are some problem with your cluster, based on my experience, you should see the VM in Hyper-V Manager after you shutdown it in Failover Cluster console. However, my Hyper-V Failover Cluster is not available at this time, I will verify this later.
If I SHUT DOWN this VM from Failover Cluster console, I can see this VM in the Hyper-V Manager.
But,
If I TURN OFF this VM from Failover Cluster console, I CAN NOT see this VM in the Hyper-V Manager.
IS THIS SUPPOSED TO BE?
Thank you. Hi,
If I TURN OFF this VM from Failover Cluster console, I CAN NOT see this VM in the Hyper-V Manager
>> Did you mean the VM disappeared in Hyper-V Manager console after you turn off the VM in Failover Cluster console? If so, this is abnormal. I just build a Windows Server 2008 Hyper-V Failover Cluster and perform the test as you described, the VM always showed in Hyper-V Manager no matter I TURN OFF or SHUTDOWN the VM in Failover Cluster console.
Please check whether you have any errors in Event Viewer after you TURN OFF the VM.
Vincent Hu

