Clustering Management
Microsoft IT Camps - Virtualization
Numerous Management Options
Failover Cluster Manager
Command Line (Cluster.exe) WMI
PowerShell (2008 R2)
RSAT
OpsMgr / MOM
SCVMM
Integrated Tool Experience
Virtual Machine Density
1,000 VMs per Cluster supported Deploy across any number of nodes
Allocate spare capacity to support a node failure
384 VM per node limit 512 VP per node limit
12:1 virtual processors per logical
Planning Considerations
Hardware Limits
CPU Memory Network IO Storage IO
Hyper-V Limits Reserve Capacity
Servers in a Clustered Virtual Machine
App-V 4.5+ Azure VM Role BizTalk Server 2004+ Commerce Server 2007 SP2+ Dynamics AX 2009+ Dynamics CRM 4.0+ Dynamics GP 10.0+ Dynamics NAV 2009+ Essential Business Server 2008+ Exchange Server 2007 SP1+ Forefront Client Security Forefront Endpoint Protection 2010+ Forefront Identity Manager 2010+ Forefront Security for Exchange SP1+ Forefront Security for SharePoint SP1+ Host Integration Server 2006+ HPC Server 2008+ Identity Lifecycle Manager 2007 FP1+ Intelligent Application Gateway 2007 SP2+ Internet Security and Acceleration Server Lync Server 2010+ Office Groove Server 2007 SP1+ Office PerformancePoint Server 2007 SP2+ Office Project Server 2007 SP1+ Office SharePoint Server 2007 SP1+ Office Web Apps Opalis Integration Server 6.2.2+ Operations Manager 2005 Search Server 2008+ SharePoint Services 3.0 SP1 SQL Server 2005+ SC Configuration Manager 2007 SP1+ SC Data Protection Manager 2007+ SC Essentials 2007 SP1+ SC Operations Manager 2007+ SC Service Manager 2010+ SC Virtual Machine Manager 2008+ Systems Management Server 2003 SP3+ Visual Studio Team System 2008+ Web Server 2008 Windows Server 2003 SP2+ Windows Server Update Services 3.0 SP1+
http://support.microsoft.com/kb/957006
Quick Migration
Quick Migrate
Public
Save State of VMs
VMs
Hyper-V only VM has some downtime
Copy state & bring online
VHDs on SAN
Cluster Shared Volumes (CSV)
Data over any network
Coordinator Node
SAN
Every node can access storage
VHD VHD VHD
1 LUN : Many VMs
Live Migration
Entire VM memory copied
Live Migrate
Hyper-V only VM has no downtime
Memory content is copied to new server
SAN
May be additional incremental data copies until data on both nodes is essentially identical
VHD
Live Migration Client directed to
Session state is maintained No reconnections necessary Clients stay connected to VM
new host
ARP redirects clients to new node Old VM deleted after success
SAN
VHD
VM Health Monitoring
Cluster Heartbeat setting property Enable VM heartbeat setting (disabled by default)
Requires Integration Components (ICs) installed
Health check for VM OS from host
User-Mode Hangs System Crashes
CLUSTER
SAN
Refresh VM Configuration
Make configuration changes through Failover Cluster Manager or VMM
Hyper-V Manager is not cluster aware, changes will be lost
Refresh virtual machine configuration
Looks for any changes to VM or Cluster configuration Update-ClusterVirtualMachineConfiguration
Storage
Ensures VM on correct CSV disk with updated paths
Network
Checks live migration compatibility
Several other checks performed
Delay Startup of Low Priority VMs
Cluster Auto-Start property Mark groups as lower priority Enables the most important VM to start first Group property Enabled by default Disabled VMs needs manual restart to recover after a crash Scenarios VM prioritization Allow important VMs to start first Disable failover for VMs
Keep VMs on the Same Host
Cluster Persistent Mode property HA Service or Application will return to original owner Better VM distribution after cold start Enabled by default for VM groups Disabled by default for other groups Scenarios Starting VMs on the same host Better VM distribution on start Avoid overwhelming host on start
Distribute VMs Across Hosts
Cluster AntiAffinityClassNames property
Groups with same AACN try to avoid moving to same node http://msdn.microsoft.com/en-us/library/aa369651(VS.85).aspx
Enables VM distribution across host nodes Better utilization of host OS resources Failover behavior on large clusters: KB 299631 Scenarios
Keep similar VMs off the same host
Guest cluster nodes DCs or infrastructure servers
Separate tenets
PowerShell Support
Provides automation Improved Manageability
Run Validate Easily Create Clusters & HA Roles Generate Dependency Reports Built-in Help (Get-Help Cluster) Create VMs: Add-ClusterVirtualMachineRole Quick migration: Move-ClusterGroup Live migration: Move-ClusterVirtualMachineRole Add a disk to CSV: Add-ClusterSharedVolume Move CSV disk: Move-ClusterSharedVolume Update VM Configuration: Update-ClusterVirtualMachineConfiguration
Hyper-V Integration
Server Core, Hyper-V Server 2008 R2 & RSAT Client Replaces cluster.exe as the CLI tool
Takeaways
Live migration and quick migration provide VM mobility across cluster nodes Cluster properties can control VM placement