Presentation is loading. Please wait.

Presentation is loading. Please wait.

Vijay Tewari Principal Program Manager Windows Server, Hyper-V SVR308.

Similar presentations


Presentation on theme: "Vijay Tewari Principal Program Manager Windows Server, Hyper-V SVR308."— Presentation transcript:

1

2 Vijay Tewari Principal Program Manager Windows Server, Hyper-V SVR308

3 Session Objectives And Takeaways Recap Hyper-V Architecture Hyper-V storage (host and VM’s) Storage Enhancements with Windows Server 2008 R2 Hyper-V Tips/tricks, Best Practices and guidelines

4

5 Hyper-V Architecture Windows Server 2008 VSPVSP Windows Kernel ApplicationsApplicationsApplications Non- Hypervisor Aware OS Windows Server 2003, 2008/R2 Windows Client OS (eg. 7) Windows Kernel VSC VMBusVMBus EmulationEmulation “Designed for Windows” Server Hardware Windows hypervisor Linux Kernel Linux VSC ManagementPartition Child Partitions VM Service WMI Provider VM Worker Processes OS ISV / IHV / OEM Microsoft Hyper-V Microsoft User Mode Kernel Mode Provided by: Ring -1 IHV Drivers VMBusVMBus VMBusVMBus Applications

6 Hyper-V Storage Hyper-V provides flexible storage options DAS: SCSI, SATA, eSATA, USB, Firewire SAN: iSCSI, Fibre Channel, SAS NAS is not supported High Availability/Live Migration Requires block based, shared storage Guest Clustering storage Via iSCSI only

7 Hyper-V Storage Options for VM’s LUNLUN SAN LUNLUN Hyper-V enabled host Parent partition Child partition Fiber channel/iSCSI LUN M:\ VHDVHD Pass through DAS VHDVHD C:\ D:\ E:\ F:\ Pass through Virtual hard Disks Pass through disks Offline in parent

8 Hyper-V Storage Options for VM's Pass Through Disks VM writes directly to the LUN No snapshots LUN has to be dedicated to a VM No host side VSS support Virtual Hard Disks Fixed VHD’s Size on disk = Size of VHD Dynamically expanding VHD’s Size of disk is smaller than size of VHD VHD is expanded on demand as required Differencing disks Parent child relationship. Parent MUST NOT be modified

9 Using pass through disk with Hyper-V Fixed and dynamic VHD’s

10 Hyper-V Storage Parameters VHD max size 2040GB Physical disk size (for pass through disks) not limited by Hyper-V Virtual machines can have Up to 2 IDE controllers with 2 devices per controller (total 4 IDE devices) Up to 4 SCSI controllers with 64 devices per controller (total 256 devices) Optical devices only on IDE Boot disk has to be IDE ISO’s from a network share (Constrained delegation required)

11 ISOs on network Shares Machine account access to share Constrained delegation

12 Configuring constrained delegation for ISO’s on a file share

13

14 Overview of Storage Improvements in Windows Server 2008 R2 Hyper-V Virtualization Feature Windows Server 2008 Windows Server 2008 R2 Hyper-V Diff Disk Scaling Performance 1x4x – 5x IO Sizes (Virtual SCSI) 64KB8MBytes VHD Block Size 512KB2MB Fixed VHD Creation Speed 1x3x – 4x Hot add of storage No Yes (on SCSI controller) SCSI Command Pass-through NoYes

15 Disk type comparison (Read)

16 Disk type comparison (Write) Dynamic VHD Improvements in Windows Server 2008 R2 Significant performance improvements in Windows Server 2008 R2 with Dynamic VHD’s

17 Disk type comparison (Write) Fixed VHD vs. Pass Through disk in Windows Server 2008 R2 Fixed VHD performance is almost identical to Pass Through disk

18 Disk type comparison (Write) Fixed VHD vs. Dynamic disks in Windows Server 2008 R2

19 Disk type comparison (Write) Fixed VHD comparison WS08 R2 vs. WS08 Fixed VHD performance improved in Windows Server 2008 R2

20 Disk layout - results Assuming Integration Services are installed: Do I Use IDE or SCSI? One IDE channel or two? One VHD per SCSI controller? Multiple VHDs on a single SCSI controller? Chose as per your requirements, performance is identical

21 Differencing VHD’s Parent child relation Parent MUST NOT be modified If done, it will render the child VHD unsable Parent VHD does not change All changes are written to a differencing VHD

22 Differencing VHDs Performance vs. chain length Differencing disk performance in Windows Server 2008 R2 improved as compared with Windows Server 2008

23 CDB Filtering SCSI Command Descriptor Block (CDB) By default CDB’s are filtered Some are partially filtered Some pass through unchanged Custom CDBs are always filtered This means by default SAN Management may not work from VM Hardware features may not work from VM Not recommended, check with SAN vendor if this is required Note that this is only for pass through disks CDB filtering may be required to be turned off for some SAN management applications when running inside the VM

24 How to disable CDB filtering? $HyperVGuest = "Server 2008 - SAN Manager" $VMManagementService = Get-WmiObject ` -class "Msvm_VirtualSystemManagementService" ` -namespace "root\virtualization" $Vm = Get-WmiObject -Namespace "root\virtualization" ` -Query "Select * From Msvm_ComputerSystem Where ` ElementName='$HyperVGuest'" $SettingData = Get-WmiObject -Namespace root\virtualization ` -Query "Associators of {$Vm} Where ` ResultClass=Msvm_VirtualSystemGlobalSettingData ` AssocClass=Msvm_ElementSettingData" $SettingData.AllowFullSCSICommandSet = $true $VMManagementService.ModifyVirtualSystem($Vm, ` $SettingData.PSBase.GetText(1))

25 Hot Add/Remove of Storage

26 Storage Model with Failover Clustering in Windows Server 2008 Failover Clustering implemented a “shared nothing” storage model for the last decade Each Disk is owned by a single node at any one time, and only that node can perform I/O to it Shared Storage Only one node accesses a LUN at a time

27 Migration & Storage with Windows Server 2008 R2 NEW Cluster Shared Volume (CSV) CSV provides a single consistent file name space; All Windows Server 2008 R2 servers see the same storage Guest VMs can be moved without requiring any drive ownership changes No dismounting and remounting of volumes is required Enabling multiple nodes to concurrently access a single ‘truly’ shared volume From hundreds of LUN’s to a handful… Validate times from all night long, to minutes… Real browse-able paths, no more GUID’s…

28 Cluster Shared Volume Overview Disk5 Single Volume VHD Concurrent access to a single file system

29

30 Storage Performance/Sizing Important to scale performance to the total workload requirements of each VM Spindles are still key Don’t migrate 20 physical servers with 40 spindles each to a Hyper-V host with 10 spindles Don’t use left over servers as a production SAN

31 Antivirus and Hyper-V Exclude VHDs & AVHDs (or directories) VM configuration directory VMMS.exe and VMWP.exe CSV directory (%systemdrive%\clusterstorage) Run Antivirus in virtual machines as you would normally for a physical machine

32 Encryption and Compression Bitlocker on parent partition supported Bitlocker when operating in a cluster is not supported Encrypted File System (EFS) Not supported on parent partition Supported in Virtual Machines NTFS Compression (Parent partition) Allowed in Windows Server 2008 Blocked in Windows Server 2008 R2

33 Storage Hardware that is qualified with Windows Server is qualified for Hyper-V Applies to running devices from Hyper-V parent Storage devices qualified for Server 2008 R2 are qualified with Server 2008 R2 Hyper-V No additional storage device qualification for Hyper-V Storage Hardware & Hyper-V R2

34 SAN Boot and Hyper-V Booting Hyper-V Host from SAN is supported Fibre Channel or iSCSI from parent Booting child VM from SAN supported using iSCSI boot with PXE solution (ex: emBoot/Doubletake) Must use legacy NIC Native VHD boot (independent of Hyper-V) Boot physical system from local VHD is new feature in Server 2008 R2 Booting a VHD located on SAN (iSCSI or FC) not currently supported (considering for future)

35 iSCSI Direct Microsoft iSCSI Software initiator runs transparently from within the VM VM operates with full control of LUN LUN not visible to parent iSCSI initiator communicates to storage array over TCP stack Best for application transparency LUNs can be hot added & hot removed without requiring reboot of VM (2003, 2008 and 2008 R2) VSS hardware providers run transparently within the VM Backup/Recovery runs in the context of VM Enables guest clustering scenario

36 iSCSI Perf Best Practices with Hyper-V Standard Networking & iSCSI best practices apply Use Jumbo Frames (Jumbo frames supported with Hyper-V Switch and virtual NIC in Windows Server 2008 R2) Use Dedicated NIC ports for iSCSI traffic (Server to SAN) Multiple to scale Client  Server (LAN) Multiple to scale Cluster heartbeat (if using cluster) Hyper-V Management Unbind unneeded services from NIC’s carrying iSCSI traffic File Sharing, DNS

37 Hyper-V Network Configurations with iSCSI Example: Server has 4 physical network adapters NIC 1: Assigned to parent partition for management NIC 2: Assigned to parent partition for iSCSI NICs 3/4: Assigned to virtual switches for virtual machine networking

38 Live Migration/HA Best Practices Best Practices: Cluster Nodes: Hardware with Windows Logo + Failover Cluster Configuration Program (FCCP) Storage: Cluster Shared Volumes Storage with Windows Logo + FCCP Multi-Path IO (MPIO) is your friend… Networking: Standardize the names of your virtual switches Multiple Interfaces CSV uses separate network Use ISOs not physical CD/DVDs You can’t Live Migrate a VM that has a physical DVD attached!

39 Sizing Storage For Hyper-V Deployments Check Windows performance best practice guidance for storage Windows Server 2008 Performance Tuning Guide http://www.microsoft.com/whdc/system/sysperf/Perf_tun_sr v.mspx http://www.microsoft.com/whdc/system/sysperf/Perf_tun_sr v.mspx Many of the enterprise array vendors include sizing tools for storage on their websites Some Hyper-V SAN ecosystem partners: EMC HP Compellent NetApp Dell/Equallogic Hitachi See complete list: http://www.microsoft.com/virtualization/partners.mspx http://www.microsoft.com/virtualization/partners.mspx

40 High Availability with Hyper-V using MPIO & Fibre Channel SAN

41 MCS & MPIO with Hyper-V Provides High Availability to storage arrays Especially important in virtualized environments to reduce single points of failure Load balancing & fail over using redundant HBAs, NICs, switches and fabric infrastructure Aggregates bandwidth to maximum performance MPIO supported with Fibre Channel, iSCSI, Shared SAS 2 Options for multi-pathing with iSCSI Multiple Connections per Session Microsoft MPIO (Multipathing Input/Output) Protects against loss of data path during firmware upgrades on storage controller

42 Configuring MPIO with Hyper-V MPIO Connect from parent Applies to: Creating vhds for each VM Passthrough disks Additional connections can be added through MCS with iSCSI using iSCSI direct

43 Conclusions Significant performance gains between Server 2008 and Server 2008 R2 for enterprise storage workloads Performance improvements in Hyper-V, MPIO, iSCSI, Core storage stack & Networking stack For general workloads with multiple VMs, performance delta is minimal between Pass Through & VHD iSCSI Performance especially with iSCSI direct scenarios is vastly improved

44 Related Content MGT220 Virtualisation 360: Microsoft Virtualisation Strategy, Products, and Solutions for the New Economy SVR205 Introduction to Hyper-V and Windows Server 2008 R2 with Microsoft System Center Virtual Machine Manager SVR208 Gaining Higher Availability with Windows Server 2008 R2 Failover Clustering SVR303 Planning for Windows Server 2008 R2, Virtualization and Server Consolidation with Windows Server Solution Accelerators SVR307 Security Best Practices for Hyper-V and Server Virtualisation SVR308 Storage and Hyper-V: The Choices You Can Make and the Things You Need to Know SVR318 How to Protect Your Virtualised Environment SVR319 Multi-Site Clustering with Windows Server 2008 R2 SVR09-IS Windows Server 2008 R2 Hyper-V Deployment Considerations Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session. Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session.

45 Additional Resources Microsoft MPIO: http://www.microsoft.com/mpiohttp://www.microsoft.com/mpio MPIO DDK MPIO DSM sample, interfaces and libraries will be included in Windows 7 DDK/SDK Microsoft iSCSI: http://www.microsoft.com/iSCSIhttp://www.microsoft.com/iSCSI SCSI@microsoft.com iSCSI WMI Interfaces: http://msdn.microsoft.com/en-us/library/ms807120.aspxhttp://msdn.microsoft.com/en-us/library/ms807120.aspx Storport Website: http://www.microsoft.com/Storporthttp://www.microsoft.com/Storport Storport Documentation Windows Driver Kit MSDN: http://msdn.microsoft.com/en-us/library/bb870491.aspxhttp://msdn.microsoft.com/en-us/library/bb870491.aspx Microsoft Virtualization: http://www.microsoft.com/virtualization/default.mspxhttp://www.microsoft.com/virtualization/default.mspx Hyper-V Planning & Deployment Guide http://technet.microsoft.com/en-us/library/cc794762.aspx Microsoft Virtualization Website www.microsoft.com/virtualization http://www.microsoft.com/virtualization/partners.mspx http://blogs.technet.com/virtualization http://blogs.technet.com/jhoward/default.aspx http://blogs.msdn.com/taylorb/

46 Partner References Intel: http://www.intel.comhttp://www.intel.com Emulex: http://www.emulex.comhttp://www.emulex.com Alacritech: http://www.alacritech.comhttp://www.alacritech.com NetApp: http://www.netapp.comhttp://www.netapp.com 3Par: http://3par.comhttp://3par.com iStor: http://istor.comhttp://istor.com Lefthand Networks http://www.lefthandnetworks.comhttp://www.lefthandnetworks.com Doubletake: http://www.doubletake.comhttp://www.doubletake.com Compellent: http://www.compellent.comhttp://www.compellent.com Dell/Equallogic: http://www.dell.comhttp://www.dell.com Falconstor: http://www.falconstor.comhttp://www.falconstor.com

47

48 www.microsoft.com/teched Sessions On-Demand & Community http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources www.microsoft.com/learning Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.

49

50 Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

51 © 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. 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. Required Slide


Download ppt "Vijay Tewari Principal Program Manager Windows Server, Hyper-V SVR308."

Similar presentations


Ads by Google