Mar 28 2022 10:30 AM
I realize that I am performing something unusual, but I'd like to understand the reasons behind failure.
I try to install on a single Windows Server 2019 VM the roles of either Domain Controller and RD Virtualization Host.
I do realize it's an unusual confnguration but I try to perform it for pure testing and self training purposes.
Installing Hyper-v is not an issue as the hypervisor fully supports nested virtualization (I have other VM running Hyper-v).
I'd like to understand the real reasons because my installation fails and, maybe, try to perform a successfull installation.
Can anybody please help?
In the logs I see the following errors ("RD0021.lab21.local" in the fqdn of my VM):
Mar 28 2022 11:08 AM - edited Mar 28 2022 11:09 AM
Do not install other roles on a hyper-v host. This creates unnecessary complications and conflicts. Better option is to create virtual machines for the various roles.
Mar 29 2022 04:02 AM
Seems like an overly-complicated way of going about setting up the environment.
In line with what @Dave Patrick said, but to call out this one very specific scenario: you never install additional roles on a domain controller.
Assuming you go ahead with this model, you'd be better off building the top-level hypervisor as a workgroup host and then establishing the domain controller as one of the guests.
Anyhow, as far as the errors you've listed go, there's a lot. I get the feeling many are going to be symptoms, not the cause.
It pays to remember that nested virtualisation has to be enabled per guest - it's not a once-and-done thing on the hypervisor itself.
Have a look at all the pre-requisites in this article (below) as there's more to configure even after you've exposed the virtualisation extensions on the guest. For example, one of your errors relates to creating the virtual switch and in the Microsoft article, you can see there's some action items around enabling MAC address spoofing (or alternatives).
Anyhow, have a read and plan the deployment before trying to wing it on the tools.
Nested Virtualization | Microsoft Docs
Cheers,
Lain
Mar 31 2022 07:13 AM
Solution