Windows Server Hyper-V nested virtualization Technology
We have already an article introduced, recently Microsoft formally released the Windows Server2016, for the inside of the function notconsistent really changed a lot, specifically not much introduced, we are mainly introduced today is the Windows Server 2016 Hyper-V virtualization nested technology, For many administrators, there are a lot of unexpected problems in the daily operations, so we need to conduct simulation tests through the experimental environment, before the company environment deployed a Hyper-V cluster, so the opportunity to think of a Windows Server Hyper-V cluster test ( Hyper-V virtual machines running inside the virtual machine), encountered some problems during the testing process, previously using the VMware vsphere host by modifying the configuration file to implement virtualization nesting, but this time using Hyper-V, So in the Hyper-V virtual machine again enable virtual machine prompt "Virtual machine does not have virtualization capabilities", we found some documents to solve, summed up some, share to the needy friends. Once again, nesting is primarily to build the development environment and test environment, which can solve many of the hardware overhead problems. Nonsense not much to say, directly into the subject:
We have installed the Hyper-V service on the physical entity machine and then installed two virtual machines.
650) this.width=650; "title=" clip_image001 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image001 "src=" Http://s3.51cto.com/wyfs02/M02/89/EF/wKiom1ghx_uj-fhYAAEFRnCYaDA988.png "height=" 381 "/>
Then we connect to install Hyper-V on the Hy-01 virtual machine to prompt for errors
650) this.width=650; "title=" clip_image001[5] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ IMAGE001[5] "src=" http://s3.51cto.com/wyfs02/M02/89/EC/wKioL1ghx_yQZv9hAAF_LEmZTuU549.png "height=" 399 "/>
By looking, starting with hyper-v2016, the virtual machine's configuration file does not have an XML file, so we need to turn on virtualization technology in the Hyper-V environment of the physical machine.
Run Windows PowerShell as an administrator, and use the following command to turn on Hyper-V nested virtualization
Set-vmprocessor-vmname vmname-exposevirtualizationextensions $trueSet-vmprocessor-vmname Hy-01- Exposevirtualizationextensions $true
650) this.width=650; "title=" clip_image001[7] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ IMAGE001[7] "src=" Http://s3.51cto.com/wyfs02/M00/89/EF/wKiom1ghx_7DKrH9AAEH9cW0QX8121.png "height=" 461 "/>
We've modified all two of our machines.
650) this.width=650; "title=" clip_image001[9] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ IMAGE001[9] "src=" http://s3.51cto.com/wyfs02/M00/89/EC/wKioL1ghyADxcvInAAEil2FYlj4704.png "height=" 455 "/>
We try to start the virtual machine and then install the Hyper-V role
Installation Successful
650) this.width=650; "title=" clip_image001[11] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ IMAGE001[11] "src=" Http://s3.51cto.com/wyfs02/M02/89/EC/wKioL1ghyAHQEApWAAF7pnYaJYg182.png "height=" 394 "/>
Start complete
650) this.width=650; "title=" clip_image001[13] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ IMAGE001[13] "src=" http://s3.51cto.com/wyfs02/M00/89/EC/wKioL1ghyAPgXRkCAAGSuWeGdPI189.png "height=" 423 "/>
This article from "Gao Wenrong" blog, declined reprint!
Windows Server Hyper-V nested virtualization Technology