Cluster Shared Volumes (CSV) in Windows Server 2012 Challenges managing large numbers of LUN’s Manageability Flexibility • Multi-path • Masking several LUN’s • LUN - smallest unit of failover Capacity Scalability • Poor SAN space utilization • Complexity with drive letters Windows Server 2008 R2 What it delivers I/O synchronization overview Metadata Simultaneous read/write access on all Cluster Nodes Read/Write Shared LUN VHD VHD VHD Shared Storage Server side metadata synchronization - Avoids I/O interruptions Key Takeaways Metadata updates - small operations, infrequent for VMs Parallel metadata updates - non-disruptive for applications Share VM VM Share Node 1 Share Coordination Node Node 2 VM Node 3 CSVFS CSV Proxy File System Server / SMB MUP/RDBS S/SMB CSV Proxy File System MUP/RDBS S/SMB CSV Proxy File System CSV File System Filter NTFS CSV VolumeMgr CSV VolumeMgr Volume Manager CSV VolumeMgr LBFO/RDMA Disk Disk Storage Connection Broken or not present Direct I/O SAN Configuring a CSV Disk Consistent view across the cluster Mount Points CSV Resiliency I/O Redirected via network VM running on Node 2 is unaffected Coordination Node SAN Connectivity Failure VHD VM’s can then be live migrated to another node with zero client downtime New Coordinator Node Node Failure VM running on Node 2 is unaffected Coordination Node Brief queuing of I/O while volume ownership is changed Volume relocates to a healthy node VHD Metadata Updates Rerouted to redundant network VM running on Node 2 is unaffected Volume mounted on Node 1 Network Path Connectivity Failure VHD Fault-Tolerant TCP connections make a path failure seamless Flexible storage choices for the private cloud Accessing VHDs over SMB Hyper-V Cluster Single Logical Server (\\Foo\Share) Single File System Namespace Cluster Shared Volumes File Server Cluster From Hours to Seconds … <3 sec of downtime 400 350 Minutes 300 250 Windows Server 2008 R2 200 150 Windows Server 2012 100 50 0 100 200 300 Million Million Million Files Files Files Improved CSV I/O Performance CSV Optimizations Direct I/O Redirected I/O • Block level I/O performance parity • Remote file system (SMB) performance parity High Performance fault condition I/O redirection Share Node 1 VM Share Coordination Node VM Node 2 CSVFS Server / SMB CSV Proxy File System MUP/RDB SS/SMB CSV Proxy File System Avoids traversing file system stack twice CSV File System Filter NTFS CSV VolumeMgr 2x performance over File Volume Manager CSV VolumeMgr System redirection LBFO/RDMA Disk Storage Connection Broken or not present Multiple levels of CSV I/O redirection File level redirected File System redirection Block redirection • Redirection on a per file basis • Opening file for shared access • Volume redirection at top of CSV pseudo-file system stack • Manually placing CSV in redirected mode • Snapshot creation • Volume redirection at bottom of CSV pseudo-file system stack directly to bottom on coordinator • Storage connectivity to volume lost Node 1 Node 2 Node 3 Application Application SMB Server Block Level Redirected IO Application CSVFS Metadata Or Redirected IO MUP/ RDBSS/ RDR/SMB Direct IO CSV Volume Manager Metadata Or Redirected IO Csv Namespace Filter CsvFlt NTFS Block Level Redirected IO Direct IO System Volume Block Level Redirected IO Physical Disk Direct IO Metadata Or Redirected IO CSVFS NTFS Direct IO Volume CSV Volume Manager IO Physical Disk Volume Mounted on Node 2 Direct IO MUP/ RDBSS/ RDR/SMB Metadata Or Redirected IO CSVFS Direct IO Block Level Redirected IO CSV Volume Manager Inherit gains for CSV redirection performance SQL TPC-C transactions/s 4270 (98%) 4315 (100%) 4500 4000 3500 3000 2500 2000 1175 (27%) 1500 1000 500 0 SMB SMB + DAS SMB 3.0 integration VM with I/O being redirected 10.10.10.X 20.20.20.X CSV Streaming I/O Across Multiple Networks VHD Coordinator Node CSV Redirected mode enhancement summary Many Pieces Come Together for Radical Improvement I/O redirection needed less often Improved SMB performance ~2% off block Direct (RDMA) CSV Block Level Redirection SMB multichannel Deployment considerations Deployment considerations SMHV MMC Snap In PowerShell CLI Backup Node SMHV Service (VSS Requester) VSS Requester (no participation) VSS Service Hyper-V writer Non Requestor Nodes VSS Service CSV writer Hyper-V writer CSV writer CSV Providers CSV Providers Data ONTAP Hardware provider Hardware provider (no participation) VM1 “Host1” Demosvr-01 VM3 VM4 VM2 CSV VHD VHD VHD Data ONTAP® Single Windows Volume “Host2” Demosvr-02 Key Takeaways INFRASTRUCTURE as a SERVICE http://blogs.msdn.com/b/clustering/ http://social.technet.microsoft.com/Forums/en/ winserverClustering/ #TEWSV430 Hands-On Labs DOWNLOAD Windows Server 2012 Release Candidate DOWNLOAD Microsoft System Center 2012 Evaluation microsoft.com/windowsserver microsoft.com/systemcenter http://europe.msteched.com www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn http://europe.msteched.com/sessions