Hyper-V VMs start on same host after restart

Wai Lun Lee 1 Reputation point
2022-04-14T06:07:51.743+00:00

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.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,636 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,511 Reputation points
    2022-04-20T08:03:16.557+00:00

    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–

    1 person found this answer helpful.
    0 comments No comments