Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Full on Demo on Setting up High Availability Virtual Machine


Published on

Techinsight Penang 2010 topic

Published in: Technology
  • Be the first to comment

Full on Demo on Setting up High Availability Virtual Machine

  1. 1.
  2. 2. FULL ON Demo on Setting Up High Availability Virtual Machine<br />Lai YoongSeng<br />Consultant<br />Redynamics Asia SdnBhd<br />
  3. 3. Microsoft<br />Windows Server 2008 R2<br />Hyper-V<br />Requirement to Setup High Availability Virtual Machine<br />Science Experiment (Demo)<br />Clustered Shared Volume and Live Migration<br />Agenda<br />
  4. 4. Requirement<br />2 X Hyper V Server 2008 R2<br />Shared storage – FC / iSCSI<br />1 volume for Quorum<br />1 volume for Storage- VM<br />ClusterNode2<br />ClusterNode1<br />SAN must support SCSI 3 Persistent Reservation<br />
  5. 5. Requirement for using Failover Cluster - Node<br />Operating system running Windows Server 2008 R2 or Hyper V R2. Same operating system on all nodes.<br />Example:- <br />Server Core<br />Full Installation Windows Server 2008 R2 Enterprise<br />Full Installation Windows Server 2008 R2 Data Center<br />Free Hyper V 2008 R2 with Server Core<br />Same Drive letter of system drive<br />Hyper V role installed<br />Same software updates (patches) and service packs<br />Domain environment<br />5<br />
  6. 6. Science Experiment Environment<br />Test VM<br />Live Migrate<br />Gigabit Switch<br />ClusterNode1<br />ClusterNode2<br />Domain controller VM<br /><br />iSCSI<br />iSCSI Target<br />
  7. 7. DEMO<br />Science Experiment – Building High Availability Virtual Machine<br />
  8. 8. Cluster Shared Volume Overview<br />Concurrent access to a single file system<br />Single Volume<br />SAN<br />Disk5<br />VHD<br />VHD<br />VHD<br />
  9. 9. Solution in R1<br />In the past (2008) - 1 LUN for 1 VM <br />LUN smallest unit of failover<br />Run out of storage space<br />Wasted storage space<br />Storage management challenging<br />Free Space<br />Used VHD Space<br />Wasted Space<br />Out of Space<br />VHD<br /> Many LUNs to Manage<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />
  10. 10. Solution in R2<br />The Solution (R2): 1 LUN for many VMs<br />VM smallest unit of failover<br />VMs share the pool of unused space<br />Flexible utilization and easy management<br />Free Space<br />Used VHD Space<br />Free Space<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />VHD<br />
  11. 11. Single Name Space<br />CSV provides a single consistent file name space<br />Files have the same name and path when viewed from any node in the cluster<br />CSV volumes are exposed as directories and subdirectories under the “ClusterStorage” root directory<br />C:ClusterStorageVolume1<root><br />C:ClusterStorageVolume2<root><br />C:ClusterStorageVolume3<root><br />
  12. 12. DEMO<br />Setting up Cluster Shared Volume (CSV)<br />
  13. 13. What is Live Migration<br />Move a running Virtual Machine from one computer to another computer with no perceived downtime for the VM<br />VM is not aware of the migration<br />Maintain TCP connections of the guest OS<br />Building block for Dynamic Data Center through business agility, cost reduction and increase in productivity<br />High availability for production workloads<br />Host is now offline for servicing (hardware, software)<br />
  14. 14. How Live Migration Work?Initiate migration<br />Client accessing VM<br />Live Migrate this VM to another physical machine<br />SAN<br />IT Admin initiates a Live Migration to move a VM from one host to another<br />VHD<br />
  15. 15. How Live Migration Work?Memory copy: Full copy<br />Memory content is copied to new server<br />VM pre-staged<br />SAN<br />The first initial copy is of all in memory content<br />VHD<br />
  16. 16. How Live Migration Work?Memory copy: Dirty pages<br />Client continues accessing VM<br />Pages are being dirtied<br />SAN<br />Client continues to access VM, which results in memory being modified<br />VHD<br />
  17. 17. How Live Migration Work?Memory copy: Incremental copy<br />Recopy of changes<br />Smaller set of changes<br />SAN<br />Hyper-V tracks changed data, and re-copies over incremental changes<br />Subsequent passes get faster as data set is smaller<br />VHD<br />
  18. 18. How Live Migration Work?Final transition<br />Partition State copied<br />VM Paused<br />SAN<br />Window is very small and within TCP connection timeout<br />VHD<br />
  19. 19. How Live Migration Work?Post-Transition: Clean-up<br />Client directed to new host<br />Old VM deleted once migration is verified successful<br />SAN<br />Since session state is maintained, no reconnections necessary<br />ARP issued to have routing devices update their tables<br />VHD<br />
  20. 20. DEMO<br />Live Migration<br />
  21. 21. Summary<br />Identified the requirement to setup High Availability Virtual Machine (HAVM)<br />Clustered Shared Volume<br />Live Migration<br />Completed the science experiment !<br />
  22. 22. Q&A<br />Questions & Answers<br />
  23. 23. Resources<br />Required slide<br />Failover Clustering Deployment Guide: <br /><br />MVUG (Malaysia Virtualization User Group) – Join us !<br /><br />Lai’s Blog – TechInsight Penang , KL Slide, Virtualization related, etc<br /><br /><br />
  24. 24. Related Content<br />Planning and What’s New in Windows Server 2008 R2 SP1 for Virtualization Session<br />Friday 24 Sept 2010<br />11.30 – 12.30 am<br />IT Pro Track<br />
  25. 25. Required slide<br />WIN COOL PRIZES!!!<br />Complete the True Techie and Crazy Communities Challenge and stand a chance to win…<br />Look in your conference bags NOW!!<br />
  26. 26. Required slide<br />We value your feedback!<br />Please remember to complete the overall conference evaluation form (in your bag) and return it to the Registration Counter on the last day in return for a Limited Edition Gift<br />