Building a Hyper-V Server cluster Live migration using Starwind

Source: Internet
Author: User
Tags failover node server

Migrating virtual machines in a non-clustered environment is described earlier, but virtual machines that are not clustered are still at risk, not enterprise deployment best practices, need to use dedicated storage devices, and deploy failover clustering to enable high availability of virtual machines to ensure business continuity. This demonstrates the use of Starwind to build Hyper-V clusters in a multi-cluster environment and to implement virtual machine live migration under a cluster.

1. Log in to the Starwind server, open the Starwind management console,

2. Right-click "Device" and select "Add device"

650) this.width=650; "height=" 283 "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/58/49/ Wkiom1sttiewypofaafac5vka9w494.jpg "border=" 0 "/>

3. Select the Disk Type page, select "High Availability Device" and click Next

650) this.width=650; "height=" 262 "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/58/49/ Wkiom1sttifs7bjcaadejtdhuis443.jpg "border=" 0 "/>

4. Click "Add" to add another Starwind server, click Next

650) this.width=650; "height=" 449 "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/58/49/ Wkiom1sttiiqvg2saafnsuhay-8271.jpg "border=" 0 "/>

5. Select new target and create virtual disk file and click Next

650) this.width=650; "height=" 313 "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/58/49/ Wkiom1sttijgs4qiaaezcc9r92y966.jpg "border=" 0 "/>

6. Starwind server Node 2, type the target name and create the virtual disk, click Next

650) this.width=650; "height=" 304 "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/58/49/ Wkiom1sttimdg4k-aaemp2am6ba666.jpg "border=" 0 "/>

7. Select Data Sync Network and Heartbeat network, click Next

650) this.width=650; "height=" 326 "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/58/49/ Wkiom1sttimspdbcaae6kr9mtzc560.jpg "border=" 0 "/>

8. Set the node server disk cache mode and click Next

650) this.width=650; "height=" 313 "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/58/45/ Wkiol1stturahapqaaeenmmupa0860.jpg "border=" 0 "/>

9. Select the disk initialization method and click Next

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/58/45/ Wkiol1sttuviypthaadjx5avbum057.jpg "border=" 0 "/>

10. After confirming the information, click Next, wait for the creation to complete

650) this.width=650; "height=" 448 "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/58/45/ Wkiol1sttu3hpmidaagnlijps7a547.jpg "border=" 0 "/>

11. Return to the Starwind Management console to view the created HA device

650) this.width=650; "height=" 398 "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/58/49/ Wkiom1stti3i3movaafjhdi-a-0215.jpg "border=" 0 "/>

12. Log into the Hyper-V server, install the Hyper-V role, failover cluster, multipath i/0, respectively

650) this.width=650; "height=" 467 "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/58/49/ Wkiom1stti7j1yqdaafawnmvoby985.jpg "border=" 0 "/>

13. Open Server Manager, click Tools, select "iSCSI Initiator"

14. Click Discover, click Discover Portal

650) this.width=650; "height=" 499 "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/58/49/ Wkiom1stti7yaefbaahmt6dlhfa124.jpg "border=" 0 "/>

15. Click on the target, click the link

650) this.width=650; "height=" 499 "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/58/49/ Wkiom1stti7sfsxpaahhnliavos346.jpg "border=" 0 "/>

16. Connect to the target page, tick "Enable Multipath", click "Advanced"

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/M00/58/49/ Wkiom1stti6ttnvfaac2nn8myxi596.jpg "border=" 0 "/>

17. Select "Microsoft ISCSI initiator" as the local configuration, set the target portal IP

650) this.width=650; "height=" 291 "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/58/49/wKiom1StTI_ Ditkraaemnmdn6-k163.jpg "border=" 0 "/>

18. Repeat the above operation to connect the second target

650) this.width=650; "height=" 291 "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/58/49/ Wkiom1stti-shhjsaae5rb5ymdi464.jpg "border=" 0 "/>

19. Click on the tool, select "MPIO", click Discover Multipath, tick "add support for iSCSI Devices", click Add

650) this.width=650; "height=" 357 "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/58/45/ Wkiol1sttvdbvravaadrqgzlr_y512.jpg "border=" 0 "/>

20. Restart the Hyper-V server

650) this.width=650; "height=" 197 "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/58/45/ Wkiol1sttvccstunaab1k26u3_4727.jpg "border=" 0 "/>

21. Repeat the above operation on the other two hyper-V servers and restart the server

22. Log in to the Hyper-V server, connect disks, initialize, and create new volumes

650) this.width=650; "height=" 340 "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/58/49/ Wkiom1sttjggbcvsaaes6owzbrc628.jpg "border=" 0 "/>

23. Open failover Cluster Manager to create a Hyper-V cluster

650) this.width=650; "height=" 378 "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/58/45/ Wkiol1sttvkcj6tlaad8emcfn7q101.jpg "border=" 0 "/>

24. Open Failover Cluster Manager to view the Hyper-V cluster created

650) this.width=650; "height=" 171 "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/58/49/ Wkiom1sttjlgjphmaacmacsjofq362.jpg "border=" 0 "/>

25. Expand Storage, tap Disk, right-click Cluster Disk 2, select Add Cluster shared volume

650) this.width=650; "height=" 351 "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/58/49/ Wkiom1sttjojvp0paaefxhzkpkq956.jpg "border=" 0 "/>

26. Right-click Role, select New virtual machine

650) this.width=650; "height=" 263 "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/58/49/ Wkiom1sttjtwvszuaadxuw_ocf4803.jpg "border=" 0 "/>

27. Select the target cluster node to use to create the virtual machine

650) this.width=650; "height=" 260 "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/58/49/ Wkiom1sttjtdcryhaac3rcwvu_4651.jpg "border=" 0 "/>

28. Type the virtual machine name and storage location, and click Next

650) this.width=650; "height=" 291 "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/58/49/ Wkiom1sttjwsmwphaaeymmkjmjk820.jpg "border=" 0 "/>

29. New Virtual Machine Wizard Summary page, confirm the information is correct, click Finish, completed the creation of the virtual machine

650) this.width=650; "height=" 417 "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/58/49/ Wkiom1sttjxrorzqaaeg2s6pa-m439.jpg "border=" 0 "/>

30. High Availability Wizard page, waiting to set virtual machine high availability

650) this.width=650; "height=" 377 "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/58/49/ Wkiom1sttjbyfzanaad3uulcrmu411.jpg "border=" 0 "/>

31. Return to failover Cluster Manager, right-click the "Start" virtual machine

650) this.width=650; "height=" 428 "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/58/49/ Wkiom1sttjbzhlyqaagy44yq_km439.jpg "border=" 0 "/>

32. Make sure that the virtual machine is running before you start the virtual machine migration, and that the current node

650) this.width=650; "height=" 429 "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/58/49/ Wkiom1sttjesb6exaaf_8v5uugc674.jpg "border=" 0 "/>

33. Right-click the running virtual machine, select Move, select Live migration, according to the actual needs, choose to use the cluster to recommend the best node or choose the cluster node autonomously

650) this.width=650; "height=" 216 "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/58/49/ Wkiom1sttjiy-iekaac05v0iuuq314.jpg "border=" 0 "/>

34. The virtual machine is currently being migrated to another node

650) this.width=650; "height=" 257 "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/58/49/ Wkiom1sttjjj2lwdaadfxsn8jzw647.jpg "border=" 0 "/>

35. Wait for the migration to complete

650) this.width=650; "height=" 259 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/58/45/ Wkiol1sttvnzbnxdaadnt5-mg-w514.jpg "border=" 0 "/>

36. If you want to migrate the virtual machine hard disk, you can select the virtual machine storage

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/58/45/ Wkiol1sttvnbntezaabugmviiyw797.jpg "border=" 0 "/>

This article is from "Xu Ting Blog-Microsoft technology Sharing" blog, please be sure to keep this source http://ericxuting.blog.51cto.com/8995534/1600464

Building a Hyper-V Server cluster Live migration using Starwind

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.