Your SlideShare is downloading. ×
0
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Storage and hyper v - the choices you can make and the things you need to know [svr308]
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Storage and hyper v - the choices you can make and the things you need to know [svr308]

6,524

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,524
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1.
  • 2. Storage & Hyper-V: The Choices you can make and the things you need to know<br />Vijay Tewari<br />Principal Program Manager<br />Windows Server, Hyper-V<br />SVR308<br />
  • 3. Session Objectives And Takeaways<br />Recap Hyper-V Architecture<br />Hyper-V storage (host and VM’s)<br />Storage Enhancements with Windows Server 2008 R2 Hyper-V<br />Tips/tricks, Best Practices and guidelines<br />
  • 4. Hyper-V Architecture<br />
  • 5. Hyper-V Architecture<br />Provided by:<br />OS<br />ISV / IHV / OEM<br />VM Worker Processes<br />Microsoft Hyper-V<br />Microsoft<br />Child Partitions<br />Management<br />Partition<br />Applications<br />Applications<br />Applications<br />Applications<br />User Mode<br />WMI Provider<br />VM Service<br />Windows Server 2008<br />Non-Hypervisor Aware OS<br />Windows Kernel<br />Windows Kernel<br />Linux Kernel<br />Windows Server 2003, 2008/R2<br />Windows Client OS (eg. 7)<br />VSP<br />IHV Drivers<br />Kernel Mode<br />VMBus<br />Linux VSC<br />VSC<br />Emulation<br />VMBus<br />VMBus<br />Windows hypervisor<br />Ring -1<br />“Designed for Windows” Server Hardware<br />
  • 6. Hyper-V Storage<br />Hyper-V provides flexible storage options<br />DAS: SCSI, SATA, eSATA, USB, Firewire<br />SAN: iSCSI, Fibre Channel, SAS<br />NAS is not supported<br />High Availability/Live Migration<br />Requires block based, shared storage<br />Guest Clustering storage<br />Via iSCSI only<br />
  • 7. Hyper-V Storage Options for VM’s<br />SAN<br />Hyper-V enabled host<br />LUN<br />LUN<br />Child partition<br />Parent partition<br />DAS<br />C:<br />VHD<br />Pass through<br />D:<br />DAS<br />Offline in parent <br />Pass through<br />LUN<br />E:<br />Fiber channel/iSCSI<br />M:<br />F:<br />VHD<br /><ul><li>Virtual hard Disks
  • 8. Pass through disks</li></li></ul><li>Hyper-V StorageOptions for VM's<br />Pass Through Disks<br />VM writes directly to the LUN <br />No snapshots<br />LUN has to be dedicated to a VM<br />No host side VSS support <br />Virtual Hard Disks<br />Fixed VHD’s<br />Size on disk = Size of VHD<br />Dynamically expanding VHD’s<br />Size of disk is smaller than size of VHD<br />VHD is expanded on demand as required<br />Differencing disks <br />Parent child relationship. Parent MUST NOT be modified<br />
  • 9. Using pass through disk with Hyper-VFixed and dynamic VHD’s<br />demo<br />
  • 10. Hyper-V Storage Parameters<br />VHD max size 2040GB<br />Physical disk size (for pass through disks) not limited by Hyper-V<br />Virtual machines can have<br />Up to 2 IDE controllers with 2 devices per controller (total 4 IDE devices)<br />Up to 4 SCSI controllers with 64 devices per controller (total 256 devices)<br />Optical devices only on IDE<br />Boot disk has to be IDE<br />ISO’s from a network share (Constrained delegation required)<br />
  • 11. ISOs on network Shares<br />Machine account access to share<br />Constrained delegation<br />
  • 12. Configuring constrained delegation for ISO’s on a file share<br />demo<br />
  • 13. Storage enhancements <br />Windows Server 208 R2 Hyper-V<br />
  • 14. Overview of Storage Improvements in Windows Server 2008 R2 Hyper-V<br />
  • 15. Disk type comparison (Read)<br />
  • 16. Disk type comparison (Write)Dynamic VHD Improvements in Windows Server 2008 R2<br />3.8x<br />15x<br />Significant performance improvements in Windows Server 2008 R2 with Dynamic VHD’s<br />
  • 17. Disk type comparison (Write)Fixed VHD vs. Pass Through disk in Windows Server 2008 R2<br />~4%<br />Equal<br />Fixed VHD performance is almost identical to Pass Through disk<br />
  • 18. Disk type comparison (Write)Fixed VHD vs. Dynamic disks in Windows Server 2008 R2<br />~6% difference<br />~15% difference<br />
  • 19. Disk type comparison (Write)Fixed VHD comparison WS08 R2 vs. WS08<br />1.3x<br />Fixed VHD performance improved in Windows Server 2008 R2<br />
  • 20. Disk layout - results<br />Assuming Integration Services are installed:<br />Do I Use<br />IDE or SCSI?<br />One IDE channel or two?<br />One VHD per SCSI controller?<br />Multiple VHDs on a single SCSI controller?<br />Chose as per your requirements, performance is identical<br />
  • 21. Differencing VHD’s<br />Parent child relation<br />Parent MUST NOT be modified<br />If done, it will render the child VHD unsable<br />Parent VHD does not change<br />All changes are written to a differencing VHD <br />
  • 22. Differencing VHDsPerformance vs. chain length<br />Differencing disk performance in Windows Server 2008 R2 improved as compared with Windows Server 2008 <br />
  • 23. CDB Filtering<br />SCSI Command Descriptor Block (CDB)<br />By default CDB’s are filtered<br />Some are partially filtered<br />Some pass through unchanged <br />Custom CDBs are always filtered<br />This means by default<br />SAN Management may not work from VM<br />Hardware features may not work from VM<br />Not recommended, check with SAN vendor if this is required<br />Note that this is only for pass through disks<br />CDB filtering may be required to be turned off for some SAN management applications when running inside the VM<br />
  • 24. How to disable CDB filtering?<br />$HyperVGuest = "Server 2008 - SAN Manager"<br />$VMManagementService = Get-WmiObject `<br /> -class "Msvm_VirtualSystemManagementService" `<br /> -namespace "rootvirtualization"<br />$Vm = Get-WmiObject -Namespace "rootvirtualization" `<br /> -Query "Select * From Msvm_ComputerSystem Where `<br />ElementName='$HyperVGuest'"<br />$SettingData = Get-WmiObject -Namespace rootvirtualization `<br /> -Query "Associators of {$Vm} Where `<br />ResultClass=Msvm_VirtualSystemGlobalSettingData `<br />AssocClass=Msvm_ElementSettingData"<br />$SettingData.AllowFullSCSICommandSet = $true<br />$VMManagementService.ModifyVirtualSystem($Vm, `<br /> $SettingData.PSBase.GetText(1))<br />
  • 25. Hot Add/Remove of Storage<br />demo<br />
  • 26. Storage Model with Failover Clustering in Windows Server 2008 <br />Failover Clustering implemented a “shared nothing” storage model for the last decade<br />Each Disk is owned by a single node at any one time, and only that node can perform I/O to it<br />Only one node accesses a LUN at a time<br />SAN<br />Shared Storage<br />
  • 27. Migration & Storage with Windows Server 2008 R2<br />NEW Cluster Shared Volume (CSV)<br />CSV provides a single consistent file name space; All Windows Server 2008 R2 servers see the same storage<br />Guest VMs can be moved without requiring any drive ownership changes<br />No dismounting and remounting of volumes is required<br />Enabling multiple nodes to concurrently access a single ‘truly’ shared volume<br />From hundreds of LUN’s to a handful…<br />Validate times from all night long, to minutes…  <br />Real browse-able paths, no more GUID’s…  <br />
  • 28. Cluster Shared Volume Overview<br />Concurrent access to a single file system<br />SAN<br />Disk5<br />Single Volume<br />VHD<br />VHD<br />VHD<br />
  • 29. Tips/Tricks, Best Practices and guidelines<br />
  • 30. Storage Performance/Sizing<br />Important to scale performance to the total workload requirements of each VM<br />Spindles are still key<br />Don’t migrate 20 physical servers with 40 spindles each to a Hyper-V host with 10 spindles<br />Don’t use left over servers as a production SAN<br />
  • 31. Antivirus and Hyper-V<br />Exclude <br />VHDs & AVHDs (or directories)<br />VM configuration directory<br />VMMS.exe and VMWP.exe<br />CSV directory (%systemdrive%clusterstorage)<br />Run Antivirus in virtual machines as you would normally for a physical machine<br />
  • 32. Encryption and Compression<br />Bitlocker on parent partition supported<br />Bitlocker when operating in a cluster is not supported <br />Encrypted File System (EFS) <br />Not supported on parent partition<br />Supported in Virtual Machines<br />NTFS Compression (Parent partition)<br />Allowed in Windows Server 2008<br />Blocked in Windows Server 2008 R2<br />
  • 33. Storage Hardware that is qualified with Windows Server is qualified for Hyper-V<br />Applies to running devices from Hyper-V parent<br />Storage devices qualified for Server 2008 R2 are qualified with Server 2008 R2 Hyper-V<br />No additional storage device qualification for Hyper-V<br />Storage Hardware & Hyper-V<br />R2<br />=<br />
  • 34. SAN Boot and Hyper-V<br />Booting Hyper-V Host from SAN is supported<br />Fibre Channel or iSCSI from parent<br />Booting child VM from SAN supported using iSCSI boot with PXE solution (ex: emBoot/Doubletake)<br />Must use legacy NIC<br />Native VHD boot (independent of Hyper-V)<br />Boot physical system from local VHD is new feature in Server 2008 R2<br />Booting a VHD located on SAN (iSCSI or FC) not currently supported (considering for future)<br />
  • 35. iSCSI Direct<br />Microsoft iSCSI Software initiator runs transparently from within the VM <br />VM operates with full control of LUN<br />LUN not visible to parent<br />iSCSI initiator communicates to storage array over TCP stack<br />Best for application transparency<br />LUNs can be hot added & hot removed without requiring reboot of VM (2003, 2008 and 2008 R2)<br />VSS hardware providers run transparently within the VM<br />Backup/Recovery runs in the context of VM<br />Enables guest clustering scenario<br />
  • 36. iSCSI Perf Best Practices with Hyper-V<br />Standard Networking & iSCSI best practices apply<br />Use Jumbo Frames (Jumbo frames supported with Hyper-V Switch and virtual NIC in Windows Server 2008 R2)<br />Use Dedicated NIC ports for <br />iSCSI traffic (Server to SAN)<br />Multiple to scale<br />Client  Server (LAN)<br />Multiple to scale<br />Cluster heartbeat (if using cluster)<br />Hyper-V Management<br />Unbind unneeded services from NIC’s carrying iSCSI traffic<br />File Sharing, DNS<br />
  • 37. Hyper-V Network Configurations with iSCSI<br />Example:<br />Server has 4 physical network adapters<br />NIC 1: Assigned to parent partition for management<br />NIC 2: Assigned to parent partition for iSCSI<br />NICs 3/4: Assigned to virtual switches for virtual machine networking<br />
  • 38. Live Migration/HA Best Practices<br />Best Practices:<br />Cluster Nodes:<br />Hardware with Windows Logo + Failover Cluster Configuration Program (FCCP)<br />Storage:<br />Cluster Shared Volumes<br />Storage with Windows Logo + FCCP<br />Multi-Path IO (MPIO) is your friend…<br />Networking:<br />Standardize the names of your virtual switches<br />Multiple Interfaces<br />CSV uses separate network<br />Use ISOs not physical CD/DVDs<br />You can’t Live Migrate a VM that has a physical DVD attached!<br />
  • 39. Sizing Storage For Hyper-V Deployments<br /><ul><li>Check Windows performance best practice guidance for storage
  • 40. Windows Server 2008 Performance Tuning Guide http://www.microsoft.com/whdc/system/sysperf/Perf_tun_srv.mspx
  • 41. Many of the enterprise array vendors include sizing tools for storage on their websites
  • 42. Some Hyper-V SAN ecosystem partners:
  • 43. EMC HP CompellentNetApp Dell/EquallogicHitachi
  • 44. See complete list: http://www.microsoft.com/virtualization/partners.mspx</li></li></ul><li>High Availability with Hyper-V using MPIO & Fibre Channel SAN<br />Clients<br />In Hyper-V Fibre Channel LUNs Supported as<br />Passthrough Disk<br />Connect from parent, map to VM <br />VM formats with NTFS<br />VHD<br />Connect from Hyper-V host<br />Format with NTFS from host<br />Create VHDs for each guest<br />Fabric/Fibre Channel Network<br />Windows <br />Server Hosts <br />Switches<br />
  • 45. MCS & MPIO with Hyper-V<br />Provides High Availability to storage arrays<br />Especially important in virtualized environments to reduce single points of failure<br />Load balancing & fail over using redundant HBAs, NICs, switches and fabric infrastructure <br />Aggregates bandwidth to maximum performance<br />MPIO supported with Fibre Channel , iSCSI, Shared SAS<br />2 Options for multi-pathing with iSCSI<br />Multiple Connections per Session<br />Microsoft MPIO (Multipathing Input/Output)<br />Protects against loss of data path during firmware upgrades on storage controller<br />
  • 46. Configuring MPIO with Hyper-V<br />MPIO<br />Connect from parent<br />Applies to:<br />Creating vhds for each VM<br />Passthrough disks<br />Additional connections can be added through MCS with iSCSI using iSCSI direct<br />
  • 47. Conclusions <br />Significant performance gains between Server 2008 and Server 2008 R2 for enterprise storage workloads<br />Performance improvements in Hyper-V, MPIO, iSCSI, Core storage stack & Networking stack<br />For general workloads with multiple VMs, performance delta is minimal between Pass Through & VHD<br />iSCSI Performance especially with iSCSI direct scenarios is vastly improved<br />
  • 48. Related Content<br />Required Slide<br />Speakers, <br />please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session.<br />MGT220 Virtualisation 360: Microsoft Virtualisation Strategy, Products, and Solutions for the New Economy<br />SVR205 Introduction to Hyper-V and Windows Server 2008 R2 with Microsoft System Center Virtual Machine Manager<br />SVR208 Gaining Higher Availability with Windows Server 2008 R2 Failover Clustering<br />SVR303 Planning for Windows Server 2008 R2, Virtualization and Server Consolidation with Windows Server Solution Accelerators<br />SVR307 Security Best Practices for Hyper-V and Server Virtualisation<br />SVR308 Storage and Hyper-V: The Choices You Can Make and the Things You Need to Know<br />SVR318 How to Protect Your VirtualisedEnvironment<br />SVR319 Multi-Site Clustering with Windows Server 2008 R2 <br /> SVR09-IS Windows Server 2008 R2 Hyper-V Deployment Considerations<br />
  • 49. Additional Resources<br />Microsoft MPIO: http://www.microsoft.com/mpio<br />MPIO DDK<br />MPIO DSM sample, interfaces and libraries will be included in Windows 7 DDK/SDK<br />Microsoft iSCSI: http://www.microsoft.com/iSCSI<br />SCSI@microsoft.com<br />iSCSI WMI Interfaces: http://msdn.microsoft.com/en-us/library/ms807120.aspx<br />Storport Website: http://www.microsoft.com/Storport<br />Storport Documentation<br />Windows Driver Kit<br />MSDN: http://msdn.microsoft.com/en-us/library/bb870491.aspx<br />Microsoft Virtualization: http://www.microsoft.com/virtualization/default.mspx<br />Hyper-V Planning & Deployment Guide<br />http://technet.microsoft.com/en-us/library/cc794762.aspx<br />Microsoft Virtualization Website<br />www.microsoft.com/virtualization<br />http://www.microsoft.com/virtualization/partners.mspx<br />http://blogs.technet.com/virtualization<br />http://blogs.technet.com/jhoward/default.aspx<br />http://blogs.msdn.com/taylorb/<br />
  • 50. Partner References<br />Intel: http://www.intel.com<br />Emulex: http://www.emulex.com<br />Alacritech: http://www.alacritech.com<br />NetApp: http://www.netapp.com<br />3Par: http://3par.com<br />iStor: http://istor.com<br />Lefthand Networks http://www.lefthandnetworks.com<br />Doubletake: http://www.doubletake.com<br />Compellent: http://www.compellent.com<br />Dell/Equallogic: http://www.dell.com<br />Falconstor: http://www.falconstor.com<br />
  • 51. question & answer<br />
  • 52. Required Slide<br />Speakers, <br />TechEd 2009 is not producing <br />a DVD. Please announce that <br />attendees can access session <br />recordings at TechEd Online. <br />www.microsoft.com/teched<br />Sessions On-Demand & Community<br />www.microsoft.com/learning<br />Microsoft Certification & Training Resources<br />http://microsoft.com/technet<br />Resources for IT Professionals<br />http://microsoft.com/msdn<br />Resources for Developers<br />www.microsoft.com/learning<br />Microsoft Certification and Training Resources<br />Resources<br />
  • 53.
  • 54. Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!<br />
  • 55. Required Slide<br />© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.<br />The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.<br />

×