Azure / AzureStackHCI-EvalGuide

Welcome to the Azure Stack HCI Evaluation Guide!
Creative Commons Attribution 4.0 International
141 stars 83 forks source link

Set-VMProcessor #56

Closed j-Mikolajek closed 3 years ago

j-Mikolajek commented 3 years ago

I am not sure if this is something I am doing wrong. I am working through the step Deploy nested Azure Stack HCI 20H2 nodes with the GUI.

The command I ran(with the VM powered off):

Set-VMProcessor -VMName AZSHCINODE01 -ExposeVirtualizationExtensions $true -Verbose

The command looked to run without error. I proceeded through the guide without issue until I came to the point where I tried to create the cluster in Windows Admin Center. Everything went ok until Install Features step. Every feature except Hyper-V installed fine. The message regarding the installation of Hyper-V stated:

"Please ensure nested virtualization is enabled in order to successfully install Hyper-V on..."

In troubleshooting, I deployed a separate VM, this time running Windows 2019 Server. I went ahead and tried to install the Hyper-V role. At this point, I neglected to run that Set-VMProcessor... command against it. The role failed with a similar message as the Azure HCI vm.

I powered off the 2019 Server and ran that Set-VMProcessor... command. Again, it looked to run just fine.

I started up the 2019 server and retried installing the Hyper-V role. This time, the role installed successfully and I have this test box running fine.

This issue seems to be applying the Set-VMProcessor command against a vm running Azure Stack HCI OS.

Please let me know if this is helpful.

Thanks,

Jim

mattmcspirit commented 3 years ago

Hi Jim - thanks for this. This is documented here:

You need to install the Hyper-V role using this step, rather than doing it with WAC.

Hope that helps. Matt

j-Mikolajek commented 3 years ago

Thank you! That worked great!

Jim

valireality commented 2 years ago

Hi Jim - thanks for this. This is documented here:

You need to install the Hyper-V role using this step, rather than doing it with WAC.

Hope that helps. Matt

Links are dead :( i have same problem.

okichokun commented 2 years ago

Hi, valireality

I found PS scripts in archives. (https://github.com/Azure/AzureStackHCI-EvalGuide/blob/main/archive/steps/3a_AzSHCINodesGUI.md)

This scripts works well in 21H2 version.

thanks,