question

Milan-6492 avatar image
0 Votes"
Milan-6492 asked AlexBykovskyi answered

Highly available Hyper-V VM on physical domain controller

Is is possible to run an HA Hyper-V VM on a physical server which is hosting the domain controller? AFAIK a VM has to be hosted in a cluster node but the cluster node cannot coexist with the domain controller. Does it mean that this setup is impossible? Or do I need to use nested Hyper-V to do so?

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.

XiaoweiHe-MSFT avatar image
1 Vote"
XiaoweiHe-MSFT answered

Hi,

AFAIK a VM has to be hosted in a cluster node but the cluster node cannot coexist with the domain controller.

Yes, HA VM must host on cluster nodes, while DC can't be a cluster node.

Or do I need to use nested Hyper-V to do so?

We can install Hyper V on the physical domain controller, but it's not recommended to do so. If you insist on doing so, enable nested virtualization on the DC, install Hyper V role, then create at least three VMs, then promote one VM to be DC. Add the other two VM into the domain, create cluster with the two VMs, and create clustered VM in the cluster.

Thanks for your time!
Best Regards,
Anne


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

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.

AlexBykovskyi avatar image
0 Votes"
AlexBykovskyi answered

Hey,

Just to add, I would recommend you to have at least 2 DC VMs residing on local storage of your cluster hosts. In this case you will have at least on AD VM running in case one of the hosts fails.
The following video might be helpful: https://www.starwindsoftware.com/resource-library/useful-tips-for-setting-up-microsoft-active-directory-domain-controllers/

Cheers,

Alex Bykovskyi

StarWind Software

Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

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.