Deploy the hyper-V Role in one of scvmm 2012 R2 deployment tests

Source: Internet
Author: User
Tags failover

Environment preparation

IP address Host Name Type
10.1.10.34 Hy02.tidepharm. TK Physical host
10.1.10.44 Hy01.tidepharm. TK Physical host
10.1.10.68 Dc-1.tidepharm.tk Virtual Machine
10.1.10.69 Scvmm2012.tidepharm. TK Virtual Machine

The operating system of all servers is Windows Server 2012 R2, the vmm database version is SQL Server 2012 SP1, and the domain name is tidepharm. TK, scvmm2012, hy01, and hy02 servers are all in the domain. Two Disks, 50 GB failover and 5 GB quorum, are mounted to hy01 and hy02 through iSCSI to prepare for creating a Failover cluster.

1. Add the hyper-V Role on hy01 and hy02 respectively.

This example uses hy02 as an example.

Open the Add role and function wizard and click Next.

650) This. width = 650; "Title =" clip_image002 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859012MrPv.jpg "width =" 558 "Height =" 394 "/> 650) This. width = 650; "Title =" clip_image004 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image004 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859012lbi9.jpg "width =" 558 "Height =" 397 "/> 650) This. width = 650; "Title =" clip_image006 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image006 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859012l4Gu.jpg "width =" 558 "Height =" 397 "/>

Select the hyper-V Role, select management tools, and click Add function.

650) This. width = 650; "Title =" clip_image008 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image008 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859012wLjg.jpg "width =" 558 "Height =" 395 "/> 650) This. width = 650; "Title =" clip_image009 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image009 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859012jurw.png "width =" 432 "Height =" 410 "/>

Click Next

650) This. width = 650; "Title =" clip_image011 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image011 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859012GH51.jpg "width =" 558 "Height =" 399 "/> 650) This. width = 650; "Title =" clip_image013 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image013 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859012lzF0.jpg "width =" 558 "Height =" 396 "/> 650) This. width = 650; "Title =" clip_image015 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image015 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859013uU4M.jpg "width =" 557 "Height =" 398 "/>

Click Next.

650) This. width = 650; "Title =" clip_image017 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image017 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859013hzKE.jpg "width =" 558 "Height =" 395 "/>

No real-time migration is selected. Next step.

650) This. width = 650; "Title =" clip_image019 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image019 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859014X1So.jpg "width =" 558 "Height =" 397 "/>

Create a vmdata directory in D: \. This directory is used to store virtual machine configuration files and hard disk files. To avoid virtual machine data confusion, point to the same directory.

650) This. width = 650; "Title =" clip_image021 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image021 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859014gmnA.jpg "width =" 558 "Height =" 398 "/>

Select the automatic restart option and click Install.

650) This. width = 650; "Title =" clip_image023 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image023 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859014m4Z9.jpg "width =" 558 "Height =" 373 "/> 650) This. width = 650; "Title =" clip_image025 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image025 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859014RD1n.jpg "width =" 558 "Height =" 399 "/>

2. Create a vswitch

After restarting, open hyper-V manager. In the operation pane, click vswitch manager to create the first vswitch for the hyper-V host.

650) This. width = 650; "Title =" clip_image027 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image027 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859015alVM.jpg "width =" 558 "Height =" 375 "/>

Select External. The virtual switch can communicate with the external host by bridging the physical network card. Other methods are used for testing environment or special internal communication. Click Create vswitch.

650) This. width = 650; "Title =" clip_image029 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image029 "src =" http://img1.51cto.com/attachment/201408/12/703685_14078590153uMj.jpg "width =" 504 "Height =" 474 "/>

Enter the vswitch name in the name dialog box. Note: We recommend that the vswitch names of multiple hyper-V hosts be the same. Otherwise, the network will be disconnected after migration and you need to adjust it manually. Under the external network, you can create a vswitch based on the physical Nic. Note that the physical Nic and the virtual NIC are one-to-one. Only one vswitch can be created for the same physical Nic. 650) This. width = 650; "Title =" clip_image031 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image031 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859016bjIw.jpg "width =" 558 "Height =" 525 "/>

The application network is changed to 650) This. width = 650; "Title =" clip_image032 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image032 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859016KIf3.png "width =" 372 "Height =" 220 "/>

650) This. width = 650; "Title =" clip_image034 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image034 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859017FRCw.jpg "width =" 557 "Height =" 501 "/>

Note that for vlan id hyper-V, unlike esxi, hyper-V can adjust vlan id based on vswitch or virtual host, to allow the virtual machine to obtain IP addresses of different network segments, you must configure the physical Nic corresponding to the vswitch as a trunk, and then adjust it to different network segments based on the vlan id of the virtual machine.

650) This. width = 650; "Title =" clip_image036 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image036 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859017HUSv.jpg "width =" 557 "Height =" 263 "/> 650) This. width = 650; "Title =" clip_image038 "style =" border-left-0px; border-right-width: 0px; border-bottom-width: 0px; float: none; margin-left: auto; display: block; border-top-width: 0px; margin-right: auto "border =" 0 "alt =" clip_image038 "src =" http://img1.51cto.com/attachment/201408/12/703685_1407859017id7p.jpg "width =" 558 "Height =" 197 "/>

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.