question

WaiLunLee-7756 avatar image
0 Votes"
WaiLunLee-7756 asked LimitlessTechnology-2700 answered

Hyper-V VMs start on same host after restart

We have 4 Hosts, which different VMs host on those 4 servers and defined different ownership on different hosts, the problem is when all the servers shut down and restarted, all the VM started on the same host but not on the defined owner's host. What should be check or configured? Thanks.

windows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi there,

Have you configured automatic startup and shutdown of Hyper V?

If so in the Automatic Stop Action section, you can set what to do with your virtual machines if the host is shut down or restarted. You can select Save the virtual machine state so that at the next startup, the virtual machine will resume from this point and will start the same host as predefined.

You can view and change the automatic startup and shutdown settings of your Hyper-V virtual machines using PowerShell.

Display the current startup and shutdown settings of all VMs:

Get-VM –VMname * | Select-Object VMname,AutomaticStartAction,AutomaticStartDelay,AutomaticStopAction



--If the reply is helpful, please Upvote and Accept it as an answer–

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.