+ All Categories
Home > Documents > Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP...

Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP...

Date post: 17-Jan-2018
Category:
Upload: brittney-mills
View: 217 times
Download: 0 times
Share this document with a friend
Description:
Hyper-V Management for the private cloud Infrastructure for the private cloud Platform for the private cloud
46
Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra Fernando Program Manager Microsoft Corporation WSV324
Transcript
Page 1: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob HindmanProgram ManagerMicrosoft Corporation

Lalithra FernandoProgram ManagerMicrosoft Corporation

WSV324

Page 2: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Session ObjectivesPrivate Cloud Infrastructure – Failover Clustering

Cluster Shared Volumes – CSV 2.0Continuously Available Scale Out File Server / SMB 3.0Asymmetric Storage with CSVNode Drain

Private Cloud Platform – Hyper-VVM PriorityClustered Live MigrationStorage MigrationVM Monitoring

Page 3: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Failover Clustering in Windows Server 2012Infrastructure for the Private Cloud

Hyper-V

Management for the private cloud

Infrastructure for the private cloud

Platform for the private cloud

Page 4: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Windows Server 2012 Private Cloud Infrastructure: High Availability Continuous Availability Build it Your Way

Broadest range of storage, network, and server vendorsAlmost any storage and network topologyCustomized Security and Network policiesFlexible administration – UI or Command Line, RDC or RSATLargest 3rd Party ecosystem of application and services

Allows you to deliver great value to your customers

Page 5: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

DemoServer Manager – Adding the Hyper-V Role and Failover Clustering Feature

Page 6: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Cluster Validation ImprovementsSignificantly faster storage validation timesIncludes Hyper-V Cluster Validation TestsGranular control to Validate an explicitly targeted LUNVerification of CSV requirementsReplicated hardware aware for multi-site clusters

Page 7: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Increased ScalabilityHighly scalable infrastructure for the private cloud

Increased scale out and scale up

4x scale over Windows Server 2008 R2

Scale out to 64-nodesScale up to 4,000 VMs per cluster

Up to 1,024 VMs per node. . .

Scal

e up

Scale out

..

.

Page 8: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Next Generation Cluster Shared Volumes (CSV)

Scale out app platform File Server supportFile based (via SMB) storage for Hyper-V

Improved backup No external authentication dependencies for improved performance and resiliencyDirect I/O for more scenarios

Better VM creation and copy performanceMulti-subnet support

Cluster Shared Volumes Reborn in Windows Server 2012: Deep Dive

WSV430

Page 9: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Add disk to CSV in Windows Server 2012

Demo

Page 10: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

File Based (SMB 3.0) Storage for Hyper-VFlexible storage choices for the private cloud

Cluster platform for a Continuously Available Scale Out File ServerCluster-wide client access point – Shared namespace that distributes clients across the nodes in the clusterConsistent cluster-wide file server configuration – Keeps the share configuration consistent across all the nodesCSV cluster-wide file system – Enables all nodes to simultaneously access the same volume

All clients have simultaneous access to the same shares through any nodeZero client downtime failover - transparent failover – for both planned and unplanned downtime

Cluster Shared Volumes

Single Logical Server (\\Foo\Share)

Accessing VHDs over SMB Hyper-V Cluster

File Server Cluster

Single File System Namespace

Hyper-V over SMB: Remote File Storage Support in WS 2012 H-V

VIR306

Page 11: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Asymmetric ClusterLayered ApproachTwo separate clusters

Cluster to host VMsCluster to host storage

Value PropRole IsolationHeterogeneous support (SMB 3.0 and NFS)

Consolidated Asymmetric Cluster

Single cluster that contains app and data nodesValue Prop

Automatic UNC management with CSV namespaceUnified security modelSingle cluster to manageCSV block cache

FC / iSCSI / SAS / FCoE / Spaces JBOD

SMB

Hyper-V Cluster

File Server Cluster

FC / iSCSI / SAS / FCoE / Spaces JBOD

SMB

Page 12: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

CHKDSK - Maximized File System AvailabilityFrom Hours to Seconds …

Disk scanning process separated from repair processOnline volume scanning

Volume offline only to repairBased on number of errors to fix rather than size of volume

Zero offline time with CSV10

0 Millio

n File

s

200 M

illion F

iles

300 M

illion F

iles

050

100150200250300350400

Windows Server 2008 R2Windows Server 2012M

inut

es

<3 sec of downtime

Page 13: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Increased SecurityEncrypted cluster volumes

BitLocker encrypted cluster disksSupport for traditional failover disksSupport for Cluster Shared Volumes

Volumes decrypted by each node using the Cluster Name Object (CNO) common identityEnables physical security for deployments outside of secure datacenters

Branch office deploymentsVolume level encryption for compliance requirements

Page 14: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Demo

BitLocker on CSV

Page 15: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Cost-Effective Business Critical StorageCluster integrated Storage Spaces

High Availability & Scale-Out via integration with Failover Clustering & CSV

Provides Spaces-based storage virtualization on clustered disks

Tightly integrated into existing cluster Physical Disk resource

Delivers a seamless experience to customers

Cluster Shared Volumes (CSV) integration

Simple Space and Mirror Space

SASPhysicalStorageJBODs

Spaces-BasedVirtualizedStorage

Spaces integratedwith Cluster

Cluster Shared Volumes

File System Enhancements: Redefining File StorageWSV315

Page 16: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

DemoAdd Storage Space to CSV

Page 17: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Active Directory IntegrationSupport for delegated domain administration

Intelligent placement of computer objectsCNO created by default in same OU as nodesVCOs created in same OU as CNO

Explicitly define computer object creation in targeted OUsJust specify the distinguished name to the OU in either CLI or GUI: CN=MyCluster,OU=Servers,DC=Contoso,DC=com

SupportabilityActive Directory-less Cluster Bootstrapping“Repair” action to automatically recreate VCOsImproved logging and diagnostics

Read-only domain controller (RODC) supportEnables DMZ and Branch deployments

Page 18: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Node Vote Weight in Cluster QuorumControl of which nodes have votes in determining quorumConfigurable for 1 vote or 0 votes

By default all nodes have a vote in determining quorumDoes not apply to Disk Only quorum model

Flexibility for multi-site clustersEnsure primary site has majority of votes

1 1 0 0

Primary Site DR Site

Page 19: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Dynamic QuorumCluster managed node votes

Quorum changes dynamically based on nodes in active membership

As nodes are shutdown, number of votes required to reach quorum changesEnables the cluster to survive >50% node count failureWorks with all quorum models (Node Majority, Node and Disk Majority, Node and FSW)

Configuration:EnableDynamicQuorum

Cluster common property to enable dynamic quorumDynamicWeight

Node private property to view a nodes current vote weightNot applicable to Disk Only quorum

1 1 1 0

Page 20: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Clustered Scheduled TasksTask Scheduler is now integrated with clusteringThree different ways to configure clustered tasks:

Configurable via PowerShell:

• Task is scheduled on all Nodes of the clusterCluster Wide• Task is scheduled on a single random Node of the clusterAny Node• Task is scheduled only on the node which currently owns the specified

ResourceResource Specific

PowerShell Cmdlet DescriptionRegister-ClusteredScheduledTask Creating a new clustered scheduled taskUnregister-ClusteredScheduledTask Delete a clustered scheduled taskSet-ClusteredScheduledTask Update existing clustered taskGet-ClusteredScheduledTask Enumerating existing clustered tasks

Page 21: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Node DrainSimplify host patching and repairs

Simple single-click operation to drain all roles off a nodeGeneric in-box infrastructure which was previously only available through SCVMMSimplifies maintenance and patching of cluster nodesScriptable with PowerShell Suspend-ClusterNode -Drain

Supports all cluster roles and intelligent to the type of move supported

Leverages live migration for VMsVMs can be configured to use Quick or Live migration based on priorityConfigured via VM resource type private property NodeEvacuationMoveTypeThreshold

Traditional move group for workloads like SQL or File ServerDraining a node

• Node is paused preventing new groups from moving to that node

• All groups are issued a move• VMs are queued up and live migrated off based on priority

Resuming a node• Resume-ClusterNode –Failback invokes failback

policies to return groups to that node when it is brought out of Maintenance Mode

Page 22: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Demo

Node Drain

Page 23: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Windows Update

Cluster-Aware UpdatingEliminate repetitive maintenance tasks

Simple automated updating of clustersStreamlines ‘Patch Tuesday’

Coordinator updates nodes in the clusterCoordinates with Windows Update Agent (WUA)Updates in a rolling fashion, 1 node at a time

Serially steps through all nodesCoordinator can be made clustered, for Self-Updating mode

Workflow1. Scan nodes to identify appropriate updates needed2. Identify node with fewest workloads3. Nodes drained4. Call to WUA to patch (which leverages WSUS or Windows

Update)5. Verify successful6. Repeat Steps 2 – 5 on next node7. Repeat on remaining nodes

UpdateCoordinator

Admin

Initiate Cluster-Aware

Updating

Revealing Cluster-Aware Updating and the New Generation of WSUS

WSV322

Page 24: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Clustering Hyper-V

Hyper-V

Management for the private cloud

Infrastructure for the private cloud

Platform for the private cloud

Page 25: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Resource Placement in your CloudVirtual Machine Priority

Starting the most important VMs firstEnsure the most important VMs are running

Preemption – shut down low priority VMs to free up resources for higher priority VMs to start

High

MediumLow

Page 26: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Demo

VM Priority

Page 27: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Cluster Live Migrations Improved VM mobility within the cluster

Live Migration QueuingConcurrent Live MigrationsCluster VM Mobility Enhancements

Node drain, failback, cluster aware updating

Hyper-V Live Migration and Storage MigrationVIR304

Page 28: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

VM Storage MobilityStorage Migration

Move virtual hard disks with zero downtimeWorks in your clusters

SAN

VHD

Hyper-V Live Migration and Storage MigrationVIR304

Page 29: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Complete VM Mobility Across the DatacenterVM mobility in and out and between clusters

Live Migrate VM and Storage to Clusters

Live Migrate VM and Storage

Between Clusters

Live Migrate VM and Storage to Stand-Alone

Server

Cluster Cluster

Page 30: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

PowerShell IntegrationThe pipelineLink between Hyper-V and Cluster cmdlets

• Cluster | Hyper-VGet-VM

• Hyper-V | ClusterGet-ClusterGroup, Get-ClusterResource

Page 31: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Demo

PowerShell Integration

Page 32: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

PowerShell IntegrationThe pipeline

Links between Hyper-V and Cluster cmdletsGet-VM, Get-ClusterGroup, Get-ClusterResource

• Cluster | Hyper-VGet-ClusterGroup GCCAnnex-VM | Get-VM | Stop-VM -Force -Passthru | Set-VMMemory -DynamicMemoryEnabled $true

• Hyper-V | Cluster(Get-VM GCCAnnex-VM | Get-ClusterGroup).Priority = 3000

Page 33: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

PowerShell IntegrationThe pipeline

Link between Hyper-V and Cluster cmdletsGet-VMGet-ClusterGroup, Get-ClusterResource

Alias Add-VMToClusterRemove-VMFromCluster

Pipe virtual machines directly to other cmdlets like

Move-ClusterVirtualMachineRoleUpdate-ClusterVirtualMachineConfiguration

Page 34: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

PowerShell IntegrationModifying storage paths

Storage related cmdletsMove-VMStorage, Add-VMHardDiskDrive, …

If it’s a clustered virtual machine…Verify the pathTake the actionAutomatically call Update-ClusterVirtualMachineConfiguration

-AllowUnverifiedPathsOptional parameter on your storage related cmdletsWe skip verifying paths

Page 35: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Branch Office

Disaster Recovery

SAN

VHD

NetworkVHD

Hyper-V ReplicaIn-box disaster recovery solution

Works in your clusters

Enabling Disaster Recovery for Hyper-V Workloads Using Replica

VIR302

Page 36: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Guest Clustering – Increased Storage SupportFibre channel from the guest

Guest ClusteringCluster service runs inside a VMApps and services inside the VM are managed by the clusterApps move between clustered VMsHistorically required iSCSI shared storage

New virtual “Fibre Channel Adapter”

Up to four virtual HBAs assigned to each guestWWNs assigned to each virtual HBANPIV utilized to surface guest ports on the host

Cluster

Guest Clustering and VM MonitoringWSV411

Page 37: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

VM MonitoringHealth detection of applications inside a virtual machine

The host identifies & recovers service failures in the guest1. Application level recovery

Service Control Manager (SCM) or event triggered2. Guest level HA recovery

Failover Clustering gracefully reboots VM 3. Host level HA recovery

Failover Clustering fails over VM to another node

Generic health monitoring for any applicationMonitor services through Service Control ManagerGeneration of specific Event IDs

Guest Clustering and VM MonitoringWSV411

Page 38: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

In Review: Session Objectives and TakeawaysPrivate Cloud Infrastructure – Failover Clustering

Cluster Shared Volumes – CSV 2.0Continuously Available Scale Out File Server / SMB 3.0Asymmetric Storage with CSVNode Drain

Private Cloud Platform – Hyper-VVM PriorityClustered Live MigrationStorage MigrationVM Monitoring

Page 39: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Questions…?

Page 40: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Related Content

Find Us Later at the “Availability” Booth

WSV322 Update Management in Windows Server 2012: Revealing Cluster-Aware Updating and the New Generation of WSUS

WSV411 Guest Clustering and VM Monitoring in Windows Server 2012WSV430 Cluster Shared Volumes Reborn in Windows Server 2012: Deep DiveVIR301 Windows Server 2012 Hyper-V Storage

VIR306 Hyper-V over SMB: Remote File Storage Support in Windows Server 2012 Hyper-V

VIR304 Building Flexible Hyper-V Environments Windows Server 2012 Hyper-V Live Migration and Live Storage Migration

VIR401 Hyper-V High Availability and Mobility: Designing the Infrastructure for Your Private Cloud

http://blogs.msdn.com/b/clustering/

Page 41: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

SIA, WSV, and VIR Track Resources

Talk to our Experts at the TLC#TE(sessioncode)

DOWNLOAD Windows Server 2012 Release Candidatemicrosoft.com/windowsserverHands-On Labs

DOWNLOAD Windows AzureWindowsazure.com/teched

Page 42: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Resources

Connect. Share. Discuss.http://northamerica.msteched.com

Learning

Microsoft Certification & Training Resourceswww.microsoft.com/learning

TechNet

Resources for IT Professionalshttp://microsoft.com/technet

Resources for Developershttp://microsoft.com/msdn

Page 43: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Complete an evaluation on CommNet and enter to win!

Page 44: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

MS Tag

Scan the Tagto evaluate thissession now onmyTechEd Mobile

Page 45: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

© 2012 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.

Page 46: Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.

Recommended