What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009

2,379 views

Published on

This is the presentation I gave at the UK/Ireland MVP open day in Reading in October 2009. There is no NDA content in here. It's an updated and expanded version of the presentation.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,379
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009

  1. 1. What’s New with Hyper-V 2008 R2 and VMM 2008 R2<br />Aidan Finn<br />BSc, MCSE, MVP<br />http://joeelway.spaces.live.com<br />@joe_elway<br />
  2. 2. Agenda<br /><ul><li>Editions
  3. 3. Cluster Shared Volumes
  4. 4. Live Migration
  5. 5. Core Parking
  6. 6. Second Level Address Translation
  7. 7. Virtual Machine Queue
  8. 8. Native VHD
  9. 9. Virtual Machine Manager 2008 R2</li></li></ul><li>About Aidan Finn<br /><ul><li>AKA Joe_Elway, e.g. @joe_elway
  10. 10. Working with large and complex IT since 1996
  11. 11. Systems and Infrastructure Manager with C Infinity (http://www.cinfinity.ie): cloud computing services
  12. 12. Specialised in servers and systems management
  13. 13. MVP:
  14. 14. 2008: Configuration Manager
  15. 15. 2009: Virtualisation – Systems Management
  16. 16. Member of MS Springboard STEP
  17. 17. Blog: http://joeelway.spaces.live.com
  18. 18. Windows User Group: http://www.mtug.ie</li></li></ul><li>Versions<br /><ul><li>Max per host support increased:
  19. 19. 64 logical processors (cores)
  20. 20. 512 virtual processors (8 VP’s per LP)
  21. 21. 384 running VM’s
  22. 22. 64 VM’s per cluster node
  23. 23. Boot from Flash Hyper-V Server 2008 R2</li></li></ul><li>Clustering<br />
  24. 24. Failover Clustering Pre R2<br /><ul><li>Uses Windows 2008 Failover Clustering for hardware fault tolerance
  25. 25. Easier than ever – honestly!
  26. 26. Virtual machine treated as cluster resource
  27. 27. Each VM should (not must) be on a dedicated LUN *
  28. 28. Quick Migration, not Live Migration (aka VMotion)</li></ul>* Mandatory for VMM 2008<br />
  29. 29. Quick Migration<br /><ul><li>Simple process:
  30. 30. VM saves its state
  31. 31. Disk fails over to destination host
  32. 32. VM restores its saved state
  33. 33. 1GB RAM VM Takes 8 seconds on 4GB Fibre Channel SAN with 15K SCSI disks, e.g HP EVA SAN
  34. 34. Supported with Fibre Channel and iSCSI
  35. 35. Test labs will work with W2008 file shares
  36. 36. Live Migration coming in W2008 R2!</li></li></ul><li>Cluster Shared Volumes<br />
  37. 37. Clustered Shared Volumes<br /><ul><li>Clustered Shared Volumes (CSV) implements hybrid sharing for LUNs
  38. 38. One node owns the storage namespace (e.g. directory structure) and metadata
  39. 39. Other nodes can own the storage backing an individual file’s data (e.g. VHD)
  40. 40. Benefits of CSV:
  41. 41. Can store all VM VHDs on one LUN
  42. 42. High-performance access to VHDs from owning nodes
  43. 43. All nodes have read/write access to file data
  44. 44. Seamless VM movement between nodes
  45. 45. Any node can read from VHD, so no need to change LUN ownership
  46. 46. Seamless LUN ownership transition
  47. 47. Persistent handles allow cluster to move LUN without interruption to VM operation</li></li></ul><li>Cluster Shared Volumes<br />All servers “see” the same storage<br />
  48. 48. CSV Backup<br /><ul><li>CSV does not support non-Hyper-V created files
  49. 49. You need a CSV certified backup solution for host level “snapshot” backups
  50. 50. DPM 2007 SP1 does not have this
  51. 51. Wait for DPM v3
  52. 52. Until then use inside-VM backup agents</li></li></ul><li>Talking of 2008 R2 Storage<br /><ul><li>Fixed sized VHD’s are near physical disk speed
  53. 53. Dynamic VHD’s are near fixed sized VHD speed</li></li></ul><li>Live Migration<br />
  54. 54. Live Migration<br />Create VM on target server<br />Copy memory pages from the source to the target via Ethernet<br />Final state transfer<br />Pause virtual machine<br />Move storage connectivity from source host to target host via Ethernet<br />Run new VM on target; Delete VM on source<br />Host 1<br />Host 2<br />Blue = Storage<br />Purple = Networking<br />Shared Storage<br />
  55. 55. Live Migration State Transfer<br />Memory<br />Configuration<br />Configuration<br />State<br />State<br />Server 1<br />Server 2<br />
  56. 56. Requirements<br /><ul><li>Good networking between hosts
  57. 57. The same family of processor – no mixing of Intel and AMD
  58. 58. You can mix generations of one family by disabling features via one tick box. </li></li></ul><li>Core Parking<br />
  59. 59. Core Parking<br /><ul><li>Kernel in parent performs core-parking control
  60. 60. Hypervisor maps processor usage data into the parent
  61. 61. Updates every 100ms
  62. 62. Parent tells hypervisor which cores to park
  63. 63. Hypervisor lets processors finish work, but stops including them in scheduling decisions
  64. 64. Will use them if necessary to meet child CPU guarantees</li></li></ul><li>Core Parking Operation<br />Core 0<br />Core 1<br />Core 0<br />Core 1<br />Core 1<br />Core 0<br />Core 0<br />Core 1<br />Socket 0<br />Socket 1<br />Workload<br />
  65. 65. Second Level Address Translation<br />
  66. 66. VM Memory Management<br />Guest Virtual Address<br />Guest Virtual Address<br />Guest OS defines GVA-to-GPA mappings<br />Shadow page tables combine these mappings because the processor knows how to perform only one level of translation<br />Guest Physical Address<br />Hypervisor defines GPA-to-SPA mappings<br />System Physical Address<br />System Physical Address<br />Hyper-V R2<br />Hyper-V<br />
  67. 67. Second Level Address Translation(SLAT)<br /><ul><li>Goes by several names
  68. 68. Intel: Extended Page Tables (EPT)
  69. 69. AMD: Nested Page Tables (NPT)/Rapid Virtualization Indexing (RVI)
  70. 70. Processor provides two levels of translation
  71. 71. Walks the guest OS page tables directly
  72. 72. No need to maintain Shadow Page Table
  73. 73. No hypervisor code for demand-fill or flush operations
  74. 74. Resource savings
  75. 75. Hypervisor CPU time drops from 10% to 2%
  76. 76. Roughly 1MB of memory saved per VM
  77. 77. Benefits Large Memory Workloads</li></li></ul><li>Virtual Machine Queue<br />
  78. 78. Virtual Machine Queue (VMQ)<br />Parent Partition<br />VM1<br />VM2<br />Virtual Machine Switch <br />Ethernet<br />TCP/IP<br />TCP/IP<br />Routing<br />VLAN Filtering<br />Data Copy<br />Port 1<br />Port 2<br />VM NIC 1<br />VM NIC 2<br />Miniport<br />Driver<br />NIC<br />VM BUS<br />
  79. 79. VMQ Architecture<br />Parent Partition<br />VM1<br />VM2<br />Virtual Machine Switch<br />Ethernet<br />TCP/IP<br />TCP/IP<br />Routing<br />VLAN filtering<br />Data Copy<br />Port 1<br />Port 2<br />VM NIC 1<br />VM NIC 2<br />Miniport<br />Driver<br />Q1<br />Default<br />Queue<br />Q2<br />VM BUS<br />Switch/Routing unit<br />NIC<br />
  80. 80. Overview of VMQ<br /><ul><li>Overview
  81. 81. TCP/IP traffic in a VM can be offloaded to a physical NIC on the host computer.
  82. 82. Benefits
  83. 83. Reduce CPU burden
  84. 84. Networking offload to improve performance
  85. 85. Live Migration is supported with Full TCP Offload
  86. 86. Major performance improvement on 10 Gb/E</li></li></ul><li>Other Networking Improvements<br />
  87. 87. Jumbo Frames<br /><ul><li>Jumbo Frame Support
  88. 88. Ethernet frames >1,500 bytes
  89. 89. Ad hoc standard is ~9k
  90. 90. Overview
  91. 91. Enables 6x larger payload per packet
  92. 92. Benefits
  93. 93. Reduce CPU utilization of large file transfers
  94. 94. Reduces TCP/IP overhead by up to 84%</li></li></ul><li>Linux Support<br />
  95. 95. What Is Supported in V2 IC’s?<br /><ul><li>SUSE Linux Enterprise Server 10 with Service Pack 2 (x86 Edition or x64 Edition)
  96. 96. SUSE Linux Enterprise Server 10 with Service Pack 1 (x86 Edition or x64 Edition)
  97. 97. SUSE Linux Enterprise Server 11 (x86 Edition or x64 Edition)
  98. 98. Red Hat Enterprise Linux (RHEL) 5.2 and 5.3 (x86 Edition or x64 Edition) (Emulated devices only) *
  99. 99. Mouse support via independent project</li></li></ul><li>GPLv2 Integration Components<br /><ul><li>20,000 lines of code submitted for approval
  100. 100. Accepted
  101. 101. All future Linux kernels can be enlightened
  102. 102. This is not the same as “supported by Microsoft”</li></li></ul><li>Native VHD<br />
  103. 103. Image Types<br /><ul><li>WIM – Used by Windows Installer (Panther), WDS and ConfigMgr
  104. 104. VHD – Virtual Hard Disk used by virtualisation products and Windows backups
  105. 105. Data center strategy to use VHD to prevent image type explosion</li></li></ul><li>Boot from VHD<br /><ul><li>“Surface” (AKA mount) a VHD file
  106. 106. Boot from a VHD file
  107. 107. W2008 R2 WDS able to deploy VHD files
  108. 108. Boot servers or desktops from VHD</li></li></ul><li>Management<br />
  109. 109. Management<br /><ul><li>Microsoft’s strategy for differentiation
  110. 110. Basic management using Hyper-V and Failover Clustering MMC’s
  111. 111. Advanced virtualisation management using System Center Virtual Machine Manager
  112. 112. VMM 2008 integrates with OpsMgr 2007
  113. 113. System Center Enterprise CAL: includes 4 VM’s on the host
  114. 114. System Center DataCenter CAL: includes all VM’s on the host</li></li></ul><li>VMM 2008<br /><ul><li>Based on PowerShell
  115. 115. Easier cluster management
  116. 116. Hardware templates
  117. 117. Library for VHD’s, PowerShell scripts, ISO
  118. 118. Self Service web console
  119. 119. Can manage Virtual Server 2005, ESX and many Virtual Center installations
  120. 120. Integrates with OpsMgr 2007 SP1
  121. 121. Use hardware OEM Pro Tips for hardware view of performance</li></li></ul><li>VMM 2008 R2<br />
  122. 122. Virtual Machine Manager 2008 R2<br /><ul><li>Used to manage many Hyper-V R2, Hyper-V, Virtual Server R2 SP1, vSphere, ESX/Virtual Center installations
  123. 123. Integration with OpsMgr 2007 R2
  124. 124. Support for Live Migration
  125. 125. Allows many VM’s per LUN for CSV
  126. 126. Storage Quick Migration
  127. 127. SAN enhancements, e.g. cluster-cluster migration, rapid provisioning & snapshots
  128. 128. Network enhancements
  129. 129. Maintenance mode
  130. 130. Support for disjoint domains</li></li></ul><li>Virtual Machine Manager 2008 R2<br /><ul><li>iSCSI: view multiple LUN’s per target</li></li></ul><li>Upgrading From 2008<br />
  131. 131. Upgrades<br /><ul><li>Hyper-V Server:
  132. 132. N/A
  133. 133. http://www.microsoft.com/hyper-v-server/en/us/faq.aspx
  134. 134. Standalone Server:
  135. 135. In-place
  136. 136. http://support.microsoft.com/kb/957256
  137. 137. Cluster:
  138. 138. In-place not supported
  139. 139. Rolling upgrade via evict node and create new cluster
  140. 140. http://support.microsoft.com/kb/957256
  141. 141. VMM:
  142. 142. In-place
  143. 143. http://go.microsoft.com/fwlink/?LinkID=139191</li></li></ul><li>Hyper-V Hotfixes<br />
  144. 144. Must Haves!<br /><ul><li>KB974598: Resolves an issue with unsupported C-States
  145. 145. KB975530: Resolves an interrupt issue in Intel Xeon 5500 processors</li></li></ul><li>Offline VM Servicing Tool<br />
  146. 146. Offline Virtual Machine Servicing Tool 2.0.1<br /><ul><li>Patch offline library stored VM’s</li></li></ul><li>For the Devs & Testers<br />
  147. 147. VS 2010 Lab Management<br /><ul><li>Visual Studio Lab Management integrates with VMM 2008 R2:
  148. 148. Managed groups of VM’s as single entity
  149. 149. Rapidly clone VM’s
  150. 150. Integrate with ALM tools
  151. 151. Patch offline VM’s</li></li></ul><li>VMM 2008 R2 Self Service<br /><ul><li>Administrators build templates and assign scores to them, e.g.
  152. 152. 1 vCPU + 1GB RAM + 40GB Disk = 1 point
  153. 153. 2 vCPU + 2GB RAM + 80GB Disk = 2 points
  154. 154. Delegate rights for self service deployment and administration
  155. 155. Assign quota points to users
  156. 156. Deployed VM’s deduct from quota points</li></li></ul><li>That’s All Folks!<br />Aidan Finn<br /><ul><li>Twitter: @joe_elway
  157. 157. Blog: http://joeelway.spaces.live.com/
  158. 158. Windows User Group: http://www.mtug.ie</li>

×