Innovating High Availability With Cluster Shared Volumes

Embed Size (px)

Citation preview

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    1/44

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    2/44

    Steven EkrenSenior Program ManagerMicrosoft

    Session Code: WSV313

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    3/44

    Overview of Hyper-V Live Migration

    Challenges Hyper-V faces with todays cluster model

    How CSV delivers on these challenges

    Additional resiliency CSV provides

    Configuring Cluster Shared Volumes

    Cluster Shared Volumes Demo

    Agenda

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    4/44

    Hyper-V with Failover Clustering

    Failover Clustering is the foundation thatenables Hyper-V to accomplish:

    High Availability

    Disaster Recovery

    Quick Migration

    Live Migration

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    5/44

    Overview of Hyper-V Live Migration

    Challenges Hyper-V faces with todays cluster model

    How CSV delivers on these challenges

    Additional resiliency CSV provides

    Configuring Cluster Shared Volumes

    Cluster Shared Volumes Demo

    Agenda

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    6/44

    Hyper-V Live Migration

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    7/44

    What is Live Migration

    Move a running Virtual Machine from one computer to anothercomputer with no perceived downtime for the VM

    VM is not aware of the migration

    Maintain TCP connections of the guest OS

    Building block for Dynamic Data Center through business agility, cost

    reduction and increase in productivity

    How is it different from Quick Migration?

    VM is saved and restored on destination

    Results in downtime for applications/workloads running inside VMs

    Both leverage same storage infrastructure easy to move fromQM to LM

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    8/44

    Live MigrationInitiate migration

    IT Admin initiates a LiveMigration to move a VMfrom one host to another

    Client accessing VM

    VHD

    Live Migrate this

    VM to another

    physical machine

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    9/44

    Live MigrationMemory copy: Full copy

    Memory content is

    copied to new server

    VHD

    VM pre-staged

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    10/44

    Live MigrationMemory copy: Dirty pages

    VHD

    Pages arebeing dirtied

    Client continuesaccessing VM

    Client continues to access VM, which

    results in memory being modified

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    11/44

    Live MigrationMemory copy: Incremental copy

    Subsequent passes getfaster as data set is smaller

    VHD

    Smaller set ofchanges

    Recopy of changes

    SANHyper-V tracks changed data,and re-copies overincremental changes

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    12/44

    Live MigrationFinal transition

    VHD

    Partition State

    copied

    Window is very small and within

    TCP connection timeout

    VM Paused

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    13/44

    Live MigrationPost-Transition: Clean-up

    Since session state ismaintained, no reconnectionsnecessary

    VHD

    Old VM deleted

    once migration is

    verified successful

    Client directed

    to new host

    SAN

    ARP issued to have routingdevices update their tables

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    14/44

    Overview of Hyper-V Live Migration

    Challenges Hyper-V faces with todays cluster model

    How CSV delivers on these challenges

    Additional resiliency CSV provides

    Configuring Cluster Shared Volumes

    Cluster Shared Volumes Demo

    Agenda

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    15/44

    Failover Clustering Today

    Failover Clustering has implemented a sharednothing storage model for the last decade

    Each Disk is owned by a single node at any onetime, and only that node can perform I/O to it

    Shared Storage

    Only one node accesses a

    LUN at a time

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    16/44

    Flexibility

    LUN is thesmallest unit offailover

    Scalability

    Complexitywith driveletters

    Capacity

    Poor SAN spaceutilization

    Manageability MPIO and

    Masking oflarge numbersof LUNs

    SAN Management Complexity

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    17/44

    Overview of Hyper-V Live Migration

    Challenges Hyper-V faces with todays cluster model

    How CSV delivers on these challenges

    Additional resiliency CSV provides

    Configuring Cluster Shared Volumes

    Cluster Shared Volumes Demo

    Agenda

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    18/44

    Cluster Shared Volumes

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    19/44

    Delivering InnovationCluster Shared Volumes (CSV)

    Enabling multiple nodes to concurrently accessa single truly shared volume

    Provides VMs complete transparency withrespect to which nodes actually own a LUN

    Guest VMs can be moved without requiring anydrive ownership changes

    No dismounting and remounting of volumes isrequired

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    20/44

    Cluster Shared Volume Overview

    Disk5

    Single Volume

    VHD VHD VHD

    SAN

    Concurrent

    access to a

    single filesystem

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    21/44

    Single Name Space

    CSV provides a single consistent file name spaceFiles have the same name and path when viewed from any node in thecluster

    CSV volumes are exposed as directories and subdirectories under theClusterStorage root directory

    C:\ClusterStorage\Volume1\

    C:\ClusterStorage\Volume2\

    C:\ClusterStorage\Volume3\

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    22/44

    Optimized Capacity Planning

    In the past (2008) - 1 LUN for 1 VMLUN smallest unit of failover

    Run out of storage space

    Wasted storage space

    Storage management challenging

    VHD

    Free Space

    Used VHD Space

    VHD VHD VHD VHD

    VHD VHD VHD VHD VHD VHD

    VHDVHD

    Many LUNs to Manage

    VHD

    Wasted Space Out of Space

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    23/44

    Optimized Capacity Planning

    The Solution (R2): 1 LUN for many VMsVM smallest unit of failover

    VMs share the pool of unused space

    Flexible utilization and easymanagement

    VHD

    Free Space

    Used VHD Space

    VHDVHDVHD

    VHD

    VHD

    VHD VHD VHD

    VHD VHDFree Space

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    24/44

    Compatibility

    No special hardware requirementsNo file type restrictions

    No directory structure or depth limitations

    No special agents or additional installationsIntegration Components not required

    No proprietary file system

    Uses well established traditional NTFS

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    25/44

    Overview of Hyper-V Live Migration

    Challenges Hyper-V faces with todays cluster model

    How CSV delivers on these challenges

    Additional resiliency CSV provides

    Configuring Cluster Shared Volumes

    Cluster Shared Volumes Demo

    Agenda

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    26/44

    Increasing Availability

    CSV also delivers far more customer value inmaking Clusters more resilient to a wide varietyof failure conditions

    Value prop beyond just solving the storage

    management challenges

    99%

    99.9% 99.99%

    99.999%

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    27/44

    Dynamic I/O Redirection

    CSV implements amechanism where I/Ocan be rerouted based onconnection availability Lets route to

    the optimal

    available path

    I/O dynamically

    redirected based

    on path availability

    Local Node

    Remote Node

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    28/44

    I/O Connectivity Fault Tolerance

    VM running on

    Node 2 is

    unaffected

    Coordination

    Node

    SAN Connectivity

    Failure

    VHD

    I/O Redirected

    via network

    VMs can then be Live Migrated

    to another node with zero

    downtime

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    29/44

    Node Fault Tolerance

    Volume relocates toa healthy node

    Brief queuing of I/O

    while volume

    ownership is changed

    VHD

    Coordination

    Node Failure

    VM running

    on Node 2 is

    unaffected

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    30/44

    Network Fault Tolerance

    Coordination

    Node Network Path

    Connectivity Failure

    VHD

    Rerouted to

    redundant network

    Fault-Tolerant TCP connections

    make a path failure seamless

    VM running

    on Node 2 is

    unaffected

    SAN

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    31/44

    Network Prioritization

    Plan your internal cluster networks for CSV useSelect the best network for your needs

    Give networks a cost (Metric)

    Lower value, higher priority (private)Higher value, lower priority (public)

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    32/44

    Overview of Hyper-V Live Migration

    Challenges Hyper-V faces with todays cluster model

    How CSV delivers on these challenges

    Additional resiliency CSV provides

    Configuring Cluster Shared Volumes

    Cluster Shared Volumes Demo

    Agenda

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    33/44

    Enabling Cluster Shared Volumes

    CSV is optimized for VHD accessOnly supported with Hyper-V

    Will be disabled by default on clean cluster install

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    34/44

    Setting up a Disk to be Shared

    Select the Disk

    Its that easy!

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    35/44

    Using Cluster Shared Volumes

    Setup a cluster like you normally wouldEnable CSV feature Within CluAdmin.msc clickon Cluster Shared Storage and click Addstorage

    Create a VM and VHD under theC:\ClusterStorage directory structure

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    36/44

    Cluster Shared Volumes in action!

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    37/44

    Summary

    Removes all barriers to Live Migration timesSeamlessly integrated with well established FailoverCluster technology that customers are familiar withtoday

    Improved storage managementSimplification and consolidation of storage with fewer LUNs

    No new hardwarerequirements

    No new applicationrequirements

    Completely transparent

    Compatibility

    Scales to large clusters,large numbers of LUNs,and no restrictions beyondbase OS

    High Performance I/Oaccess

    Scalability Reliability

    Node Failures aretransparent for all Gueststhat are not hosted onfailed node

    Increased resiliency andhigh availability

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    38/44

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    39/44

    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

    l d

    http://www.microsoft.com/techedhttp://microsoft.com/technethttp://microsoft.com/msdnhttp://www.microsoft.com/learninghttp://www.microsoft.com/learninghttp://www.microsoft.com/learninghttp://www.microsoft.com/learninghttp://microsoft.com/msdnhttp://microsoft.com/technethttp://www.microsoft.com/teched
  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    40/44

    Related Content

    WSV01-INT Failover Clustering Unleashed with Windows Server 2008 R2UNC02-INT Designing Microsoft Exchange Server "14" High Availability Solutions

    WSV16-HOL Windows Server 2008 R2: Failover ClusteringVIR03-HOL Implementing Windows Server 2008 Hyper-V HA and Quick MigrationDAT12-HOL Microsoft SQL Server 2008 Database Mirroring, Part 1DAT13-HOL Microsoft SQL Server 2008 Database Mirroring, Part 2UNC12-HOL Microsoft Exchange Server "14" High Availability and Storage Scenarios

    WSV310 Failover Clustering Feature Roadmap for Windows Server 2008 R2WSV313 Innovating High Availability with Cluster Shared Volumes (CSV)WSV316 Multi-Site Clustering with Windows Server 2008 Enterprise

    VIR311 From Zero to Live Migration. How to Set Up a Live MigrationDAT302 All You Need to Know about Microsoft SQL Server 2008 Failover ClustersDAT306 Building a HA Strategy for Your Enterprise Using Microsoft SQL Server 2008DAT322 Tips and Tricks for Successful Database Mirroring Deployments with Microsoft SQLServerWSV311 High Availability and Disaster Recovery Considerations for Hyper-VWSV315 Implementing Hyper-V on Clusters (High Availability)

    UNC313 High Availability in Microsoft Exchange Server "14"UNC402 Microsoft Exchange Server 2007 HA and Disaster Recovery Deep DiveBOF52 Microsoft Exchange Server 2007 HA and Disaster Recovery: Are You Prepared?

    d

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    41/44

    Windows Server Resources

    Make sure you pick up yourcopy of Windows Server 2008R2 RC from the MaterialsDistribution Counter

    Learn More about Windows Server 2008 R2:www.microsoft.com/WindowsServer2008R2

    Technical Learning Center (Orange Section):Highlighting Windows Server 2008 and R2 technologies Over 15 booths and experts from Microsoft and our partners

    k

    http://www.microsoft.com/WindowsServer2008R2http://www.microsoft.com/WindowsServer2008R2http://www.microsoft.com/WindowsServer2008R2http://www.microsoft.com/WindowsServer2008R2
  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    42/44

    Track ResourcesCluster Team Blog: http://blogs.msdn.com/clustering/

    Cluster Information Portal:http://www.microsoft.com/windowsserver2008/en/us/clustering-home.aspx

    Clustering Technical Resources:http://www.microsoft.com/windowsserver2008/en/us/clustering-resources.aspx

    Clustering Forum (2008):http://forums.technet.microsoft.com/en-US/winserverClustering/threads/

    Clustering Forum (2008 R2): http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/threads/

    Clustering Newsgroup: http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.clustering

    Failover Clustering Deployment Guide: http://technet.microsoft.com/en-us/library/dd197477.aspx

    TechNet: Configure a Service or Application for High Availability:http://technet.microsoft.com/en-us/library/cc732478.aspx

    TechNet: Installing a Failover Cluster: http://technet.microsoft.com/en-us/library/cc772178.aspx

    TechNet: Creating a Failover Cluster: http://technet.microsoft.com/en-us/library/cc755009.aspx

    Webcast (2008 R2): Introduction to Failover Clustering:http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407190&Culture=en-US

    Webcast (2008 R2): HA Basics with Hyper-V:http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407222&Culture=en-US

    Webcast (2008 R2): Cluster Shared Volumes (CSV):

    http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407238&Culture=en-US

    http://blogs.msdn.com/clustering/http://www.microsoft.com/windowsserver2008/en/us/clustering-home.aspxhttp://www.microsoft.com/windowsserver2008/en/us/clustering-resources.aspxhttp://forums.technet.microsoft.com/en-US/winserverClustering/threads/http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/threads/http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/threads/http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.clusteringhttp://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.clusteringhttp://technet.microsoft.com/en-us/library/dd197477.aspxhttp://technet.microsoft.com/en-us/library/cc732478.aspxhttp://technet.microsoft.com/en-us/library/cc772178.aspxhttp://technet.microsoft.com/en-us/library/cc755009.aspxhttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407190&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407222&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407238&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407238&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407238&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407238&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407222&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407222&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407222&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407190&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407190&Culture=en-UShttp://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032407190&Culture=en-UShttp://technet.microsoft.com/en-us/library/cc755009.aspxhttp://technet.microsoft.com/en-us/library/cc755009.aspxhttp://technet.microsoft.com/en-us/library/cc755009.aspxhttp://technet.microsoft.com/en-us/library/cc772178.aspxhttp://technet.microsoft.com/en-us/library/cc772178.aspxhttp://technet.microsoft.com/en-us/library/cc772178.aspxhttp://technet.microsoft.com/en-us/library/cc732478.aspxhttp://technet.microsoft.com/en-us/library/cc732478.aspxhttp://technet.microsoft.com/en-us/library/cc732478.aspxhttp://technet.microsoft.com/en-us/library/dd197477.aspxhttp://technet.microsoft.com/en-us/library/dd197477.aspxhttp://technet.microsoft.com/en-us/library/dd197477.aspxhttp://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.clusteringhttp://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.clusteringhttp://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.clusteringhttp://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/threads/http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/threads/http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/threads/http://forums.technet.microsoft.com/en-US/winserverClustering/threads/http://forums.technet.microsoft.com/en-US/winserverClustering/threads/http://forums.technet.microsoft.com/en-US/winserverClustering/threads/http://www.microsoft.com/windowsserver2008/en/us/clustering-resources.aspxhttp://www.microsoft.com/windowsserver2008/en/us/clustering-resources.aspxhttp://www.microsoft.com/windowsserver2008/en/us/clustering-resources.aspxhttp://www.microsoft.com/windowsserver2008/en/us/clustering-home.aspxhttp://www.microsoft.com/windowsserver2008/en/us/clustering-home.aspxhttp://www.microsoft.com/windowsserver2008/en/us/clustering-home.aspxhttp://blogs.msdn.com/clustering/
  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    43/44

    Complete an

    evaluation onCommNet and

    enter to win!

  • 7/30/2019 Innovating High Availability With Cluster Shared Volumes

    44/44

    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.