Install Windows Server Hyper-V

Source: Internet
Author: User
Tags vmware server

Install Windows Server Hyper-V

At present, the server virtualization technology is very popular, the major manufacturers have also launched their own server virtualization products, such as VMware's VCENTER,CRI XenServer, etc., of which Microsoft's server virtualization products are Hyper-V.

Hyper-V belongs to server virtualization in virtualization technology, and also uses bare metal architecture, what? What is bare metal architecture?? Bare Metal structure Maybe a lot of friends do not understand, so now let me explain to you. There are two commonly used architectures for virtual machines, one is the alien architecture, which means that the virtualization management layer is running on top of the host operating system and relies on the host operating system to emulate the hardware device in order to run the virtual machine on it. The advantage is that the physical hardware requirements are low, but the performance is far from the physical host, and therefore cannot be used in high-load production environments. Common examples are Microsoft Virtual pc/virtual server,vmware VMware workstation/vmware Server and so on. 、

Another is called bare metal architecture, directly on the hardware to run the Virtualization management layer, the advantage is better performance. The virtualized management layer of the bare metal architecture, typically called hypervisor or VMM (virtual machine Monitor), resides in architecture and bare metal architectures as shown:

650) this.width=650; "height=" 347 "title=" clip_image002 "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; "alt=" clip_image002 " Src= "http://s3.51cto.com/wyfs02/M00/76/CD/wKiom1Zc-Ofg8Wc8AAC8cPmDyOU133.jpg" border= "0"/>

First, hardware preparation

Hyper-V the hardware has the following requirements, if not satisfied, you do not have to go down.

1 CPU hardware virtualization, such as Intel VT Technology or AMD-V technology, must be supported.

2 CPU X64 bit technology must be supported.
3 CPU must support hardware DEP technology

For how to check whether the hardware meets the requirements of Hyper-V hardware our two processors provide a tool for testing:

1, if the server CPU is Intel-based, use the following link to download the appropriate tool

Https://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=1881&DwnldID=7838&lang=eng&iid=dc_rss.

2. If the server CPU is based on AMD, use the following link to download the tool to verify: Http://support.amd.com/us/Pages/dynamicDetails.aspx? Listid=c5cd2c08-1432-4756-aafa-4d9dc646342f&itemid=177&lang=us.

When the Intel-based CPU Verification tool is downloaded, double-click to run the tool to detect support for using virtualization technology

Second, install the Hyper-V role

It is recommended that you install the Hyper-V role in a server in a domain environment if no domain controller can install a domain controller first. Of course if you install Hyper-V only on one server it can also be used without a domain environment. But remember to turn on the CPU virtualization feature, if the CPU does not turn on the virtualization feature when adding the Hyper-V role, the following error is reported:

650) this.width=650; "height=" 366 "title=" clip_image003 "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; "alt=" clip_image003 " Src= "Http://s3.51cto.com/wyfs02/M02/76/CD/wKiom1Zc-Onjrn6vAAEuukDVG1E539.png" border= "0"/>

This error only needs to turn on the CPU virtualization feature to add the role.

The Hyper-V role is not turned on by default on the Windows Server R2 operating system that you just installed, and you need to add the role manually if you want to make the Windows Server R2 server into a virtual host. The Hyper-V role supports installation on all versions of Windows Server R2, and again I use a graphical installation with GUI and Windows PowerShell to show you how to install the Hyper-V role with the following installation steps:

1. Server Installation with GUI:

Open Server Manager-add roles and features:

650) this.width=650; "height=" 372 "title=" clip_image005 "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; "alt=" clip_image005 " Src= "http://s3.51cto.com/wyfs02/M00/76/CD/wKioL1Zc-U_ApZlfAACrhVukj_s468.jpg" border= "0"/>

Select Role-based or feature-based installation in the Select installation type location:

650) this.width=650; "height=" 458 "title=" clip_image007 "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; "alt=" clip_image007 " Src= "http://s3.51cto.com/wyfs02/M01/76/CD/wKiom1Zc-OyDAZoUAACnYv-FukI024.jpg" border= "0"/>

In Target server, select the name of the server on which you want to install the Hyper-V role, and click Next:

650) this.width=650; "height=" 458 "title=" clip_image009 "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; "alt=" clip_image009 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKioL1Zc-VPSTF0XAADQKtRYjGs160.jpg" border= "0"/>

Check "Hyper-V" in the "Select Server Role" Location:

650) this.width=650; "height=" 460 "title=" clip_image011 "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; "alt=" clip_image011 " Src= "http://s3.51cto.com/wyfs02/M00/76/CD/wKioL1Zc-VagL2MRAADqLCCttF4778.jpg" border= "0"/>

In the "Create Virtual Switch" location you can choose to create it now or choose to create it later, where I choose to create it later

650) this.width=650; "height=" 457 "title=" clip_image013 "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; "alt=" clip_image013 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKiom1Zc-PLyX43sAADMOwxbh6g614.jpg" border= "0"/>

Check "Allow this server to send and receive live migration of virtual machines" in the "virtual Machine Migration" Location:

Note: If the secondary server is in a cluster, do not enable migration here

650) this.width=650; "height=" 458 "title=" clip_image015 "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; "alt=" clip_image015 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKioL1Zc-VqjJSOaAADsbpYgMXU372.jpg" border= "0"/>

Here you select the location of the "default storage" for the virtual machine, and in the actual production environment we recommend that you put it in a different directory:

650) this.width=650; "height=" 458 "title=" clip_image017 "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; "alt=" clip_image017 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKioL1Zc-VvA1-INAACmxW_DWtM874.jpg" border= "0"/>

Tick "Restart target server automatically if required" and click Install:

650) this.width=650; "height=" 457 "title=" clip_image019 "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; "alt=" clip_image019 " Src= "http://s3.51cto.com/wyfs02/M00/76/CD/wKiom1Zc-PiDDznBAAC9rAH1S7M813.jpg" border= "0"/>

During installation, the server restarts and the server restarts after you open Windows PowerShell to check if Hyper-V is installed successfully:

650) this.width=650; "height=" 196 "title=" clip_image021 "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; "alt=" clip_image021 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKiom1Zc-Pmy18OkAABN76I7_v0788.jpg" border= "0"/>

You can see that Hyper-V has been installed successfully.

2. Install Hyper-V using Windows PowerShell:

Run Windows PowerShell as an administrator, type "Install-windowsfeature-name hyper-v–includemanagementtools"

650) this.width=650; "height=" 226 "title=" clip_image023 "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; "alt=" clip_image023 " Src= "http://s3.51cto.com/wyfs02/M00/76/CD/wKiom1Zc-Pri5ZGgAACSc__xB8I136.jpg" border= "0"/>

Restart the target server to complete the installation:

After restarting the Server Manager, you can see that the Hyper-V role has been successfully installed:

650) this.width=650; "height=" 370 "title=" clip_image025 "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; "alt=" clip_image025 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKioL1Zc-WKR2w-EAADSR0SoJ_o886.jpg" border= "0"/>

3. Install Microsoft Hyper-V Server:

Microsoft Hyper-V server is a Microsoft-provided version of Hyper-V that does not have a GUI interface, which is what we call a bare metal installation. Microsoft Hyper-V server is small in size, so its attack surface is smaller, more secure, and he provides the same services as the Hyper-V role embedded in the Windows SEREVR operating system.

Because Microsoft Hyper-V server does not have a graphical interface, it is recommended that you join the domain after you install it so that it is easy for us to manage. The specific installation process is as follows:

Take Microsoft Hyper-V Server TP4 as an example to show you the installation

To insert the installation media:

Select the "Language, time and currency format, keyboard, and input method" that you installed here and click Next:

650) this.width=650; "height=" 479 "title=" clip_image027 "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; "alt=" clip_image027 " Src= "http://s3.51cto.com/wyfs02/M00/76/CD/wKioL1Zc-WSDxu3DAAC5WK0gsuU599.jpg" border= "0"/>

Click Install Now:

650) this.width=650; "height=" 475 "title=" clip_image029 "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; "alt=" clip_image029 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKiom1Zc-QDyCoadAAB5SE_fvkk475.jpg" border= "0"/>

Tick Accept License Terms

Click on Custom Installation:

650) this.width=650; "height=" 484 "title=" clip_image031 "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; "alt=" clip_image031 " Src= "http://s3.51cto.com/wyfs02/M01/76/CD/wKioL1Zc-WfQe0MwAADatfFlSHs297.jpg" border= "0"/>

Select the installation location click Next and wait for the installation to complete:

650) this.width=650; "height=" 483 "title=" clip_image033 "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; "alt=" clip_image033 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKioL1Zc-WjRE74FAABp4nxF65w742.jpg" border= "0"/>

Set the Administrator account password and log in when the installation is complete:

650) this.width=650; "height=" 269 "title=" clip_image035 "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; "alt=" clip_image035 " Src= "http://s3.51cto.com/wyfs02/M02/76/CD/wKioL1Zc-WnR5_meAABHtYO9AIw465.jpg" border= "0"/>

Logging in to this interface means that Microsoft Hyper-V Server TP4 installed successfully:

650) this.width=650; "height=" 439 "title=" clip_image037 "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; "alt=" clip_image037 " Src= "http://s3.51cto.com/wyfs02/M01/76/CD/wKiom1Zc-QaywvFkAADHWRi5cnQ916.jpg" border= "0"/>

Entering this interface means that our Microsoft Hyper-V Server installation is successful, which can be easily configured using Sconfig, and the specific configuration will be introduced in the following blog!

This article is from the "Wu Yuzhang Microsoft blog" blog, make sure to keep this source http://wuyvzhang.blog.51cto.com/9992636/1718385

Install Windows Server Hyper-V

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.