I. Prerequisites for using Hyper-V BPA
1. Windows hypervisor must be in a running state
2. Hyper-V Virtual Machine Management Service is running
3. Hyper-V Network Management Service is in a running state
4. Hyper-V Image Management Service is in a running state
Ii. configuring Hyper-V BPA
(i) using the GUI to configure Hyper-V BPA
1. Log in to the Hyper-V server, click Server Manager, click "Hyper-V"
650) this.width=650; "height=" 451 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/54/06/ Wkiol1r11azbvgnyaafprghw-k0149.jpg "border=" 0 "/>
2. After entering the Hyper-V interface, find the Best Practices Analyzer, click "Tasks" in the top right corner and select "Start BPA Scan"
650) this.width=650; "height=" "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/54/06/ Wkiol1r11aydwdpxaafu2hr1jo8484.jpg "border=" 0 "/>
3. Select the server that requires "Start BPA Scan" and click "Start Scan"
650) this.width=650; "height=" 452 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/54/06/ Wkiol1r11a3itfllaafx-haweec910.jpg "border=" 0 "/>
4. Wait for the scan to finish and the scan results will be displayed under the Best Practices Analyzer
650) this.width=650; "height=" "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/54/06/ Wkiol1r11a6xhkedaagri6uwl_o853.jpg "border=" 0 "/>
5. Click on one of the scanned results options and click on the title "At least one virtual machine should be backed up once a week", which will return the problem, impact, and the corresponding solution
650) this.width=650; "height=" 446 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/54/06/ Wkiol1r11a7ctc7aaahn4db6sjc889.jpg "border=" 0 "/>
(ii) using Windows PowerShell to perform Hyper-V BPA
1. Run PowerShell as an administrator and type the following command
Invoke-bpamodel–bestpracticesmodelid microsoft/windows/hyper-v
650) this.width=650; "height=" 153 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/54/06/ Wkiol1r11a-c-k7laaczmlkqjqq399.jpg "border=" 0 "/>
2. Output Hyper-V BPA results using the following command
Get-bparesult–bestpracticesmodelid microsoft/windows/hyper-v
650) this.width=650; "height=" 434 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/54/06/ Wkiol1r11bctfiiiaahujfjn0hc750.jpg "border=" 0 "/>
650) this.width=650; "height=" 438 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/54/06/ Wkiol1r11bsgrukqaah0l4f8ggs293.jpg "border=" 0 "/>
You can also set up DHCP, DNS, and other servers using Windows Server BPA, which is no longer described here.
This article is from the "Xu Ting blog" blog, make sure to keep this source http://ericxuting.blog.51cto.com/8995534/1582982
Using the Hyper-V Server Best Practices Analyzer (BPA)