Cluster Shared Volumes Reborn in Windows Server 2012
Cluster Shared Volumes Reborn in Windows Server 2012: Deep Dive Amitabh Tamhane Program Manager 2 Microsoft Corporation Vineeth Karinta Senior Engineer Net. App
Cluster Shared Volumes (CSV) in Windows Server 2012
Flexibility Manageability No LUN per Application Fewer LUNs reduce SAN complexity Scalability No drive letter limitation Capacity Better SAN space utilization
What it delivers
Under the hood CSV Architecture
I/O synchronization overview Metadata Simultaneous read/write access • All cluster nodes Read/Write Server side metadata sync • Avoids I/O interruptions Shared LUN VHD VHD Shared Storage
Key Takeaways Metadata updates are small operations that happen infrequently for VMs Parallel metadata updates that are non-disruptive for applications
CSVFS A Proxy File System VM Share CSVFS Coordinator Node Client / SMB Server / SMB CSV Proxy File System CSV Volume. Mgr Disk NTFS Volume Manager Node 2 Node 1 Direct I/O CSV File System Filter SAN
Consistent view across the cluster
Mount Points
demo Setting up Clustered Shared Volumes Amitabh Tamhane Program Manager 2 Clustering and High Availability
Resiliency How CSV Enables Even Higher Availability
CSV Resiliency
I/O Redirected via network VM running on Node 2 is unaffected Coordination Node SAN Connectivity Failure VHD VM live migration with zero downtime
New Coordination 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 Coordination Node Network Path Connectivity Failure VHD
Flexible storage choices for the private cloud Accessing VHDs over SMB Hyper-V Cluster Single Logical Server (\FooShare) Single File System Namespace Cluster Shared Volumes File Server Cluster
CHKDSK / SPOTFIX Integration 400 <3 sec of downtime 350 Minutes 300 250 Windows Server 2008 R 2 200 150 Windows Server 2012 100 50 0 100 200 300 Million Files From Hours to Seconds …
Performance Improved CSV Performance
Distributed write-through cache • Unbuffered I/O (excluded from Windows Cache Manager) • Consistent across cluster Windows Cache Manager integration • Buffered I/O • Same as traditional NTFS Huge value for Pooled VDI VM scenario • Read-only parent VHD • Read-write differencing VHDs
CSV Optimizations Direct I/O Redirected I/O • Block level I/O performance parity • Remote file system (SMB) performance parity
Share VM VM Share CSVFS Coordinator Node Client / SMB Server / SMB CSV Proxy File System CSV Volume. Mgr CSV File System Filter NTFS Volume Manager Disk Storage Connection Broken or not present Node 2 Node 1 SAN Avoids traversing File System stack twice Delivers 2 x performance
SMB 3. 0 integration VM with I/O being redirected 10. 10. X 20. 20. X CSV Streaming I/O Across Multiple Networks VHD Coordinator Node
Inherit gains for CSV redirection performance SQL TPC-C transactions/s 4270 (98%) 4315 (100%) 4500 4000 3500 3000 1175 (27%) 2500 2000 1500 1000 500 0 SMB + DAS
CSV Redirected mode Many Pieces Come Together for Radical Improvement I/O redirection needed less often SMB 3. 0 Multi-Channel SMB 3. 0 Direct (RDMA) CSV Block Level Redirection CSV Block Cache
Deployment Considerations
Deployment considerations
Backup CSV Backup and Restore
Net. App CSV Backup using Net. App Snap. Manager Vineeth Karinta Senior Engineer Net. App
SMHV MMC Snap In Power. Shell 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 Providers Data ONTAP Hardware provider (no participation) VM 1 “Host 1” Demosvr-01 VM 3 VM 4 VM 2 i. SC SI, FC P, CSV FC o. E VHD VHD Data ONTAP® Single Windows Volume “Host 2” Demosvr-02
Backup Demo CSV Backup using Net. App Snap. Manager for Hyper-V Vineeth Karinta Senior Engineer Net. App
Key Takeaways INFRASTRUCTURE as a SERVICE
WSV 315 Windows Server 2012 File System Enhancements: Redefining File Storage VIR 401 Hyper-V High Availability and Mobility: Designing the Infrastructure for Your Private Cloud WSV 324 Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP WSV 411 Guest Clustering and VM Monitoring in Windows Server 2012 VIR 301 Windows Server 2012 Hyper-V Storage VIR 304 Building Flexible Hyper-V Environments Windows Server 2012 Hyper-V Live Migration and Live Storage Migration VIR 306 Hyper-V over SMB: Remote File Storage Support in Windows Server 2012 Hyper-V Find Us Later at the “Availability” Booth http: //blogs. msdn. com/b/clustering/
#TE(sessioncode) Talk to our Experts at the TLC DOWNLOAD Windows Server 2012 Release Candidate Hands-On Labs microsoft. com/windowsserver DOWNLOAD Windows Azure Windowsazure. com/ teched
Learning Connect. Share. Discuss. Microsoft Certification & Training Resources http: //northamerica. msteched. com www. microsoft. com/learning Tech. Net Resources for IT Professionals Resources for Developers http: //microsoft. com/technet http: //microsoft. com/msdn
Complete an evaluation on Comm. Net and enter to win!
Scan the Tag to evaluate this session now on my. Tech. Ed Mobile
- Slides: 50