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.
WSV 403: Failover Clustering & Hyper-V: Planning your Highly-Available Virtualization Environment<br />Symon Perriman<br /...
Failover Clustering & Hyper-V<br />Foundation of the Dynamic Datacenter Vision<br />Increase VM Availability<br />Hardware...
Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />...
Host Clustering<br />Cluster service runs inside (physical) host and manages VMs<br />VMs move between cluster nodes<br />...
Why use Host Clustering?<br />Never rely on a single server for critical systems<br />“Do not put all your eggs in 1 baske...
Guest Clustering<br />Cluster service runs inside a VM<br />Apps and services inside the VM are managed by the cluster<br ...
Why use Guest Clustering?<br />Application Health Monitoring<br />App or service within VM crashes or hangs and moves to a...
Guest vs. Host: Health Detection<br />
Guest vs. Host: Storage Options<br />
Host + Guest Clustering <br />Optimal solution offer the most flexibility and protection<br />VM high-availability & mobil...
Mixing Physical and Virtual<br />Mixing physical & virtual nodes is supported<br />Must still pass “Validate”<br />Require...
Common Workloads in a Guest Cluster<br />Exchange<br />Exchange 2007 SP1 (and later) supported for guest and host clusteri...
Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />...
SKUs & Hyper-V Server<br />Microsoft Hyper-V Server 2008 R2<br />FREEHost OS – Download it today!<br />Built on Server Cor...
Validating a Cluster<br /><ul><li>For Microsoft support, cluster must pass the built-in Validate a Cluster Configuration (...
Run during configuration or after deployment
Best practices analyzed if run on configured cluster
Series of end-to-end tests on all cluster components
Configuration info for support and documentation
Networking issues
Troubleshoot in-production clusters
More information http://go.microsoft.com/fwlink/?LinkID=119949</li></li></ul><li>Cluster Validation & Support<br />Joachim...
PowerShell Support<br />Improved Manageability<br />Run Validate<br />Easily Create Clusters & HA Roles<br />Generate Depe...
Scripting Cluster Deployment<br />Joachim Nasslander<br />Senior Solution Architect<br />Microsoft Infrastructure<br />Del...
Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />...
Hyper-V<br />Only<br />Cluster Shared Volumes<br />Data over any network <br />Coordinator Node<br />Every node can access...
Live Migration<br />Memory content is copied to new server<br />Live Migrate<br />SAN<br />May be additional incremental d...
Live Migration<br />Client directed to new host<br />SAN<br />Session state is maintained<br />No reconnections necessary<...
Configuring VM Health Monitoring<br />Enable VM heartbeat setting<br />Requires Integration Components (ICs) installed<br ...
AD Considerations<br />Same AD Requirements as 2008<br />Nodes must be in the same domain<br />Need an accessible writable...
NICs & Networks in a Cluster<br />Best Solution<br />Internal / Cluster / CSV / ‘Heartbeat’<br />Public network for cluste...
NIC Teaming & Network Prioritization<br />Joachim Nasslander<br />Senior Solution Architect<br />Microsoft Infrastructure<...
Settings: Heartbeat for Guest Clusters<br />Configured in Guest Cluster<br />Tolerance for network responsiveness during l...
Settings: AntiAffinityClassNames<br />AntiAffinityClassNames<br />Groups with same AACN try to avoid moving to same node<b...
Settings: Auto-Start<br />Mark groups as lower priority<br />Enables the most important VMto start first<br />Group proper...
Settings: Persistent Mode<br />HA Service or Application will return to original owner<br />Better VM distribution after c...
Settings: Root Memory Reserve(d)<br />Different behavior in 2008 R2 RTM and 2008 R2 SP1<br />2008 R2 RTM<br />The cluster ...
Settings: Dynamic Memory<br />WS2008 R2 SP1 & Hyper-V Server 2008 R2SP1<br />Upgrade the Guest Integration Components <br ...
Refreshing the VM Configuration<br />Make configuration changes through Failover Cluster Manager or SCVMM<br />Hyper-V Man...
Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />...
Virtual Machine Density<br />1000 VMs per Cluster<br />Deploy them all across any number of nodes<br />384 VM/node limit<b...
SCVMM: Live Migration<br />Detects if Live migration can be done<br />Node placed into ‘Maintenance Mode’<br />Live-migrat...
SCVMM: Quick Storage Migration<br />Ability to migrate VM storage to new location<br />Minimizes downtime during transfer<...
SCVMM: Intelligent Placement<br />Capacity planning improves resource utilization<br />Spreads VMs across nodes<br />“Star...
SCOM: Performance & Resource Optimization (PRO)<br />Alleviate the effects of host-level failure<br />Ensure efficient use...
Putting it Together<br />
SCVMM Templates<br />Joachim Nasslander<br />Senior Solution Architect<br />Microsoft Infrastructure<br />Dell Inc.  &  Cl...
Conclusion<br />2008 R2 Failover Clustering is optimized for Hyper-V<br />Integrated setup, validation, configuration and ...
Upcoming SlideShare
Loading in …5
×

WSV 403: Failover Clustering

1,800 views

Published on

  • Be the first to comment

  • Be the first to like this

WSV 403: Failover Clustering

  1. 1.
  2. 2. WSV 403: Failover Clustering & Hyper-V: Planning your Highly-Available Virtualization Environment<br />Symon Perriman<br />Program Manager IIClustering & High-Availability<br />Microsoft Corporation<br />
  3. 3. Failover Clustering & Hyper-V<br />Foundation of the Dynamic Datacenter Vision<br />Increase VM Availability<br />Hardware health detection<br />Host OS health detection<br />VM health detection<br />Application/service health detection<br />Automatic recovery<br />VM mobility<br />Deployment flexibility<br />Focus is on Windows Server 2008 R2<br />
  4. 4. Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />Datacenter Management<br />
  5. 5. Host Clustering<br />Cluster service runs inside (physical) host and manages VMs<br />VMs move between cluster nodes<br />Live Migration – No downtime<br />Quick Migration – Session state saved to disk<br />CLUSTER<br />SAN<br />
  6. 6. Why use Host Clustering?<br />Never rely on a single server for critical systems<br />“Do not put all your eggs in 1 basket”<br />Survive Host Crashes<br />VMs restarted on another node<br />Restart VM Crashes<br />VM OS restarted on same node<br />Recover VM Hangs<br />VM OS restarted on same node<br />Zero Downtime Maintenance & Patching<br />Live migrate VMs to other hosts<br />Mobility & Load Distribution<br />Live migrate VMs to different servers to load balance<br />
  7. 7. Guest Clustering<br />Cluster service runs inside a VM<br />Apps and services inside the VM are managed by the cluster<br />Apps move between clustered VMs<br />CLUSTER<br />iSCSI<br />
  8. 8. Why use Guest Clustering?<br />Application Health Monitoring<br />App or service within VM crashes or hangs and moves to another VM<br />Application Mobility<br />Apps or services moves to another VM for maintenance or patching of guest OS<br />CLUSTERc<br />iSCSI<br />
  9. 9. Guest vs. Host: Health Detection<br />
  10. 10. Guest vs. Host: Storage Options<br />
  11. 11. Host + Guest Clustering <br />Optimal solution offer the most flexibility and protection<br />VM high-availability & mobility between physical nodes<br />Application & service high-availability & mobility between VMs<br />Increases complexity<br />GUEST CLUSTER<br />CLUSTER<br />CLUSTER<br />iSCSI<br />SAN<br />SAN<br />
  12. 12. Mixing Physical and Virtual<br />Mixing physical & virtual nodes is supported<br />Must still pass “Validate”<br />Requires iSCSI storage<br />Scenarios: <br />Backup node is a VM in a farm<br />Test cluster<br />CLUSTER<br />iSCSI<br />
  13. 13. Common Workloads in a Guest Cluster<br />Exchange<br />Exchange 2007 SP1 (and later) supported for guest and host clustering<br />Exchange 2007 SP1 HA solutions are supported for guest clustering <br />Does not support mixing Guest and Host Clustering<br />Support Policy: http://technet.microsoft.com/en-us/library/cc794548.aspx<br />File Server<br />Fully Supported<br />Live migration is a great solution for moving the file server to a different physical system without breaking client TCP/IP connections<br />SQL<br />Host and guest clustering supported for SQL 2005 and 2008<br />Supports guest live and quick migration<br />Support policy: http://support.microsoft.com/?id=956893<br />Other Server Products: http://support.microsoft.com/kb/957006<br />
  14. 14. Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />Datacenter Management<br />
  15. 15. SKUs & Hyper-V Server<br />Microsoft Hyper-V Server 2008 R2<br />FREEHost OS – Download it today!<br />Built on Server Core for even higher availability<br />Failover Clustering, Hyper-V, CSV, Live Migration<br />16-node Support<br />More information: http://www.microsoft.com/hyper-v-server/en/us/default.aspx<br />All solutions still have 2 requirements for support:<br />Every component must be logoed <br />The entire solution must pass “Validate”<br />
  16. 16. Validating a Cluster<br /><ul><li>For Microsoft support, cluster must pass the built-in Validate a Cluster Configuration (“Validate”) test
  17. 17. Run during configuration or after deployment
  18. 18. Best practices analyzed if run on configured cluster
  19. 19. Series of end-to-end tests on all cluster components
  20. 20. Configuration info for support and documentation
  21. 21. Networking issues
  22. 22. Troubleshoot in-production clusters
  23. 23. More information http://go.microsoft.com/fwlink/?LinkID=119949</li></li></ul><li>Cluster Validation & Support<br />Joachim Nasslander<br />Senior Solution Architect<br />Microsoft Infrastructure<br />Dell Inc. & Cluster MVP<br />demo <br />
  24. 24. PowerShell Support<br />Improved Manageability<br />Run Validate<br />Easily Create Clusters & HA Roles<br />Generate Dependency Reports<br />Built-in Help (Get-Help Cluster)<br />Hyper-V Integration<br />Create VMs: Add-ClusterVirtualMachineRole<br />Quick migration: Move-ClusterGroup<br />Live migration: Move-ClusterVirtualMachineRole<br />Add a disk to CSV: Add-ClusterSharedVolume<br />Move CSV disk: Move-ClusterSharedVolume<br />Update VM Configuration: Update-ClusterVirtualMachineConfiguration<br />Server Core, Hyper-V Server 2008 R2& RSAT Client<br />Replaces cluster.exe as the CLI tool<br />
  25. 25. Scripting Cluster Deployment<br />Joachim Nasslander<br />Senior Solution Architect<br />Microsoft Infrastructure<br />Dell Inc. & Cluster MVP<br />demo <br />
  26. 26. Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />Datacenter Management<br />
  27. 27. Hyper-V<br />Only<br />Cluster Shared Volumes<br />Data over any network <br />Coordinator Node<br />Every node can access storage<br />SAN<br />1 LUN : Many VMs<br />VHD<br />VHD<br />VHD<br />
  28. 28. Live Migration<br />Memory content is copied to new server<br />Live Migrate<br />SAN<br />May be additional incremental data copies until data on both nodes is essentially identical<br />Entire VM memory copied<br />VHD<br />
  29. 29. Live Migration<br />Client directed to new host<br />SAN<br />Session state is maintained<br />No reconnections necessary<br />Clients stay connected to a “live” VM<br />ARP redirects clients to new node<br />Old VM deleted after success<br />VHD<br />
  30. 30. Configuring VM Health Monitoring<br />Enable VM heartbeat setting<br />Requires Integration Components (ICs) installed<br />Health check for VM OS from host<br />User-Mode Hangs<br />System Crashes<br />CLUSTER<br />SAN<br />
  31. 31. AD Considerations<br />Same AD Requirements as 2008<br />Nodes must be in the same domain<br />Need an accessible writable DC, cannot use only a Read-Only DC (KB 2008654)<br />DCs can be run on nodes, but use 2+ nodes (KB 281662)<br />Do not put all your DCs on clustered VMs<br />DC needed for authentication and starting cluster service<br />Must have at least 1 DC on physical hardware<br />
  32. 32. NICs & Networks in a Cluster<br />Best Solution<br />Internal / Cluster / CSV / ‘Heartbeat’<br />Public network for clustered Apps, Services & VMs<br />Storage: iSCSI<br />Hyper-V: VM Guest Management<br />Hyper-V: Live Migration<br />Minimum is 2 networks:<br />Internal & Live Migration<br />Public & VM Guest Management<br />Use ‘Network Prioritization’ to configure your networks<br />
  33. 33. NIC Teaming & Network Prioritization<br />Joachim Nasslander<br />Senior Solution Architect<br />Microsoft Infrastructure<br />Dell Inc. & Cluster MVP<br />demo <br />
  34. 34. Settings: Heartbeat for Guest Clusters<br />Configured in Guest Cluster<br />Tolerance for network responsiveness during live migration<br />SameSubnetThreshold & SameSubnetDelay<br />SameSubnetDelay (default = 1 second)<br />Frequency heartbeats are sent<br />SameSubnetThreshold (default = 5 heartbeats)<br />Missed heartbeats before an interface is considered down<br />
  35. 35. Settings: AntiAffinityClassNames<br />AntiAffinityClassNames<br />Groups with same AACN try to avoid moving to same node<br />http://msdn.microsoft.com/en-us/library/aa369651(VS.85).aspx<br />Enables VM distribution across host nodes<br />Better utilization of host OS resources<br />Failover behavior on large clusters: KB 299631<br />
  36. 36. Settings: Auto-Start<br />Mark groups as lower priority<br />Enables the most important VMto start first<br />Group property<br />Enabled by default<br />Disabled VMs needs manual restart to recover after a crash<br />
  37. 37. Settings: Persistent Mode<br />HA Service or Application will return to original owner<br />Better VM distribution after cold start<br />Enabled by default for VM groups<br />Disabled by default for other groups<br />
  38. 38. Settings: Root Memory Reserve(d)<br />Different behavior in 2008 R2 RTM and 2008 R2 SP1<br />2008 R2 RTM<br />The cluster property, RootMemoryReserved, watches host memory reserve level during VM startup<br />Prevent crashes and failovers if too much memory is being committed during VM startup<br />Sets the Hyper-V registry setting, RootMemoryReserve (no ‘d’) across all nodes<br />Cluster default: 512 MB, max: 4 GB<br />PS > (get-cluster <cluster name>).RootMemoryReserved=1024<br />2008 R2 SP1<br />Hyper-V will use a new memory reservation setting for the parent partition memory reserve<br />Based on “memory pressure” algorithm<br />Admin can also configure a static reserve value<br />The cluster nodes will use this new value for the parent partition<br />Configuring RootMemoryReserved in the cluster does nothing<br />
  39. 39. Settings: Dynamic Memory<br />WS2008 R2 SP1 & Hyper-V Server 2008 R2SP1<br />Upgrade the Guest Integration Components <br />Higher VM density across all nodes<br />Memory allocated to VMs is dynamically adjusted in real time<br />“Ballooning” makes memory pages non-accessible to the VM, until they are needed<br />Does not impact Task Scheduler or other memory-monitoring utilities<br />Memory Priority Value is configurable per VM<br />Higher priority for those with higher performance requirements<br />Ensure you have enough free memory on other nodes for failure recovery<br />
  40. 40. Refreshing the VM Configuration<br />Make configuration changes through Failover Cluster Manager or SCVMM<br />Hyper-V Manager is not cluster aware, changes will be lost<br />“Refresh virtual machine configuration”<br />Looks for any changes to VM or Cluster configuration<br />PS > Update-ClusterVirtualMachineConfiguration<br />Storage<br />Moves disks into correct group with new VMs<br />Ensures VM on correct CSV disk with updated paths<br />Network<br />Applies changes to cluster network properties<br />Checks live migration compatibility<br />Several other checks performed<br />
  41. 41. Failover Clustering & Hyper-V<br />Guest vs. Host Cluster<br /> Deployment & Validation<br /> Optimizing for Hyper-V<br />Datacenter Management<br />
  42. 42. Virtual Machine Density<br />1000 VMs per Cluster<br />Deploy them all across any number of nodes<br />384 VM/node limit<br />Planning Considerations:<br />Hardware Limits<br />Hyper-V Limits<br />Reserve Capacity<br />Storage I/O & Latency<br />
  43. 43. SCVMM: Live Migration<br />Detects if Live migration can be done<br />Node placed into ‘Maintenance Mode’<br />Live-migrate (default) all running HA VMs Serialized multiple live migrations<br />Save-State (optional)<br />Ideal for host maintenance and patching<br />Automatically retries live migrations if a node is busy<br />
  44. 44. SCVMM: Quick Storage Migration<br />Ability to migrate VM storage to new location<br />Minimizes downtime during transfer<br />Handled in a single seamless action<br />
  45. 45. SCVMM: Intelligent Placement<br />Capacity planning improves resource utilization<br />Spreads VMs across nodes<br />“Star-Rated” results for easy decision making<br />Customizable algorithm<br />
  46. 46. SCOM: Performance & Resource Optimization (PRO)<br />Alleviate the effects of host-level failure<br />Ensure efficient use of resources in the virtualized environment<br />Allow VMM Admins to react and manage resources independently<br />Integrated with SCVMM<br />SCOM sends alters to SCVMM to trigger live migration of VMs<br />
  47. 47. Putting it Together<br />
  48. 48. SCVMM Templates<br />Joachim Nasslander<br />Senior Solution Architect<br />Microsoft Infrastructure<br />Dell Inc. & Cluster MVP<br />demo <br />
  49. 49. Conclusion<br />2008 R2 Failover Clustering is optimized for Hyper-V<br />Integrated setup, validation, configuration and management<br />Flexible options for host and guest clustering<br />Automated deployments are simplified with PowerShell<br />Scales to 1000 VMs with advanced datacenter management<br />
  50. 50. Passion for High Availability?<br />Are You Up For a Challenge?<br /> Become a Cluster MVP!<br /> Contact: ClusMVP@microsoft.com<br />
  51. 51. Related Content<br />Visit the Cluster Team in the TLC!<br />We will be there every hour it is open!<br />Breakout Sessions<br />VIR309 - Disaster Recovery by Stretching Hyper-V Clusters Across Sites<br />WSV313 - Failover Clustering in 2008 R2: What’s New in the #1 High-Availability Solution<br />WSV403 - Failover Clustering & Hyper-V: Planning your Highly-Available Virtualization Environment <br />DAT210 - Mission Critical: High Availability Overview <br />DAT211 - Mission Critical: Comparing High-Availability Solutions <br />DAT212 - Mission Critical: Improving High-Availability <br />UNC303 - Microsoft Lync Server 2010 : Voice Architecture and Planning for High Availability<br />UNC401 - Microsoft Exchange Server 2010: High Availability Deep Dive<br />VIR321 - Advanced Storage Infrastructure Best Practices to Enable Ultimate Hyper-V Scalability<br />Interactive Sessions<br />WSV203-IS (R) - Failover Clustering 101: Everything you Wanted to Know but were Afraid to Ask<br />WSV306-IS - Failover Clustering with Hyper-V Unleashed in Windows Server 2008 R2<br />DAT303-IS - Performance Scalability and Reliability with SQL Server 2008 R2 & WS 2008 R2<br />UNC321-IS - Microsoft Exchange 2010 SP1 High Availability: Ask The Experts<br />VIR302-IS - Understanding How Microsoft Virtualization Compares to VMware<br />Hands-on Labs & Other Session Types<br />WSV01-HOL - Implementing High Availability<br />MGT201-LNC - Managing Your Virtual Environments<br />PRC05 - Microsoft Exchange Server 2010 High Availability and Disaster Recovery - Be Prepared<br />
  52. 52. Failover Clustering Resources<br />Visit the Cluster Team in the TLC!<br />We will be there every hour it is open!<br />Cluster Team Blog: http://blogs.msdn.com/clustering/<br />Cluster Resources: http://blogs.msdn.com/clustering/archive/2009/08/21/9878286.aspx<br />Cluster Information Portal: http://www.microsoft.com/windowsserver2008/en/us/clustering-home.aspx<br />Clustering Technical Resources: http://www.microsoft.com/windowsserver2008/en/us/clustering-resources.aspx<br />Clustering Forum (2008): http://forums.technet.microsoft.com/en-US/winserverClustering/threads/<br />Clustering Forum (2008 R2): http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/threads/<br />R2 Cluster Features: http://technet.microsoft.com/en-us/library/dd443539.aspx<br />
  53. 53. Session Evaluations<br />Tell us what you think, and you could win!<br />All evaluations submitted are automatically entered into a daily prize draw*  <br />Sign-in to the Schedule Builder at http://europe.msteched.com/topic/list/   <br />* Details of prize draw rules can be obtained from the Information Desk.<br /> <br /> <br />
  54. 54. © 2010 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 />
  55. 55. Demo Title<br />Name<br />Title<br />Group<br />demo <br />

×