HyperV over SMB Remote File Storage Support in

Hyper-V over SMB: Remote File Storage Support in Windows Server 2012 Hyper-V Jose Barreto Principal Program Manager Microsoft Corporation

agenda • • Hyper-V over SMB – Overview Hyper-V over SMB – Setup Configuration Options Sample Configurations

title Hyper-V over SMB - Overview

Beyond Virtualization The Power of Many Servers, the Simplicity of One Every App, Any Cloud Modern Workstyle, Enabled Windows Server 2012 offers a dynamic, multi-tenant infrastructure that goes beyond virtualization to provide maximum flexibility for delivering and connecting to cloud services. Windows Server 2012 offers excellent economics by integrating a highly available and easy to manage multi-server platform with breakthrough efficiency and ubiquitous automation. Windows Server 212 is a broad, scalable and elastic server platform that gives you the flexibility to build and deploy applications and websites onpremises, in the cloud and in a hybrid environment, using a consistent set of tools and frameworks. Windows Server 2012 empowers IT to provide users with flexible access to data and applications from virtually anywhere on any device with a rich user experience, while simplifying management and helping maintain security, control and compliance.

SQL Server IIS IIS VDI Desktop Hyper-V Hyper-V VDI Desktop Hyper-V File Server Shared Storage

Failover transparent to server application Zero downtime – small IO delay during failover Supports planned and unplanned failovers HW/SW Maintenance HW/SW Failures Load Rebalancing Hyper-V Resilient for both file and directory operations Requires: Windows Failover Clusters Both server running application and file server cluster must be Windows Server “ 8” Shares enabled for ‘continuous availability’ \fs 1share File Server Cluster File Server Node A File Server Node B

Hyper-V Cluster (Up to 64 nodes) Targeted for server app storage Example: Hyper-V and SQL Server Increase available bandwidth by adding cluster nodes Key capabilities: Active/Active file shares Fault tolerance with zero downtime Fast failure recovery CHKDSK with zero downtime Support for app consistent snapshots Support for RDMA enabled networks Optimization for server apps Simple management Data Center Network (Ethernet, Infini. Band or combination) Single Logical File Server (\FSShare) Single File System Namespace Cluster Shared Volumes File Server Cluster (Up to 8 nodes)

Advantages Scalable, fast and efficient storage access High throughput with low latency Minimal CPU utilization for I/O processing Load balancing, automatic failover and bandwidth aggregation via SMB Multichannel Scenarios High performance remote file access for application servers like Hyper-V, SQL Server, IIS and HPC Used by File Server and Clustered Shared Volumes (CSV) for storage communications within a cluster Required hardware SMB Client SMB Server Application User Kernel SMB Client Network w/ RDMA support R-NIC SMB Server Network w/ RDMA support NTFS SCSI R-NIC Disk

Sample Configurations Full Throughput Bandwidth aggregation with multiple NICs Multiple CPUs cores engaged when NIC offers Receive Side Scaling (RSS) Single 10 Gb. E RSS-capable NIC SMB Client SMB Multichannel implements end-to-end failure detection Leverages NIC teaming (LBFO) if present, but does not require it Automatic Configuration SMB detects and uses multiple paths Multiple 1 Gb. E NICs Multiple 10 Gb. E in LBFO team Multiple RDMA NICs SMB Client LBFO SMB Client NIC 10 Gb. E NIC 1 Gb. E Switch 10 Gb. E Switch 1 Gb. E NIC 10 Gb. E NIC 1 Gb. E Switch 1 Gb. E NIC 10 Gb. E Switch 10 Gb. E NIC 10 Gb. E/IB Switch 10 Gb. E/IB NIC 10 Gb. E/IB LBFO SMB Server

End-to-end encryption of SMB data in flight Protects data from eavesdropping/snooping attacks on untrusted networks Zero new deployment costs No need for IPSec, specialized hardware, or WAN accelerators Client Server Configured per share or for the entire server Can be turned on for a variety of scenarios where data traverses untrusted networks Application workload over unsecured networks Branch Offices over WAN networks SMB Encryption

Backup Server Application consistent shadow copies for server application data stored on Windows Server “ 8” file shares Backup Read from Shadow Copy Share A File Share Shadow Copy Agent E Backup Agent Backup and restore scenarios B Coordinate Shadow Copy Volume Shadow Copy Service Create Shadow Copy Full integration with VSS infrastructure C D Relay Shadow Copy request Request Shadow Copy Volume Shadow Copy Service Create Shadow Copy F VSS Providers File Share Shadow Copy Provider \fsfoo Data volume Application Server File Server \fsfoo@t 1 Shadow Copy G


title Hyper-V over SMB – Setup

Full permissions on NTFS folder and SMB share for Hyper-V Administrator Computer Account of Hyper-V hosts If Hyper-V is clustered, the Hyper-V Cluster Account (CNO) 1. Create Folder MD F: VMS 2. Create Share New-Smb. Share -Name VMS -Path F: VMS -Full. Access DomHAdmin, DomHV 1$, DomHV 2$, DomHVC$ 3. Apply Share permissions to NTFS Folder permissions (Get-Smb. Share –Name VMS). Preset. Path. Acl | Set-Acl



demo Hyper-V over SMB Setup Jose Barreto Principal Program Manager Windows Server

Cluster in a Box prototypes Quanta Wistron LSI HA-DAS Mega. RAID® and SAS controllers Quanta application servers, JBOD expansion, and 10 Gb. E switch Mellanox IB FDR NICs and switch OCZ SAS SSDs Infrastructure Domain Controller server Power distribution unit 1 Gb. E switch Keyboard & monitor Mega. RAID® is a registered trademark of LSI Corporation

title Configuration Options

Hyper-V Server Child Partition File Server Parent Partition Application User NTFS SCSI/IDE VHD Stack Storage VSC Storage VSP VM Bus SMB Client Network (RDMA option) NIC Kernel SMB Server Network (RDMA option) NIC NTFS SCSI Disk

Single-node File Server § § Lowest cost for shared storage Shares not continuously available Hyper-V Parent 1 Config VHD Hyper-V Parent N Child 1 Config Disk VHD Share 1 Share 2 Disk File Server A Child N Disk

Single-node File Server § § Lowest cost for shared storage Shares not continuously available Hyper-V Parent 1 Config VHD Hyper-V Parent N Child 1 Config Disk VHD Share 1 Share 2 Disk Child N Disk Dual-node File Server § § Low cost for continuously available shared storage Limited scalability (up to a few hundred disks) Hyper-V Parent 1 Config Child 1 Hyper-V Parent N Config Child N VHD Disk Share 1 Share 2 File Server 1 File Server Disk File Server 2 Disk Shared SAS Storage A B Active ON

Single-node File Server § § Lowest cost for shared storage Shares not continuously available Hyper-V Parent 1 Config VHD Hyper-V Parent N Child 1 Config Disk VHD Share 1 Share 2 Disk Child N Disk Dual-node File Server § § Low cost for continuously available shared storage Limited scalability (up to a few hundred disks) Hyper-V Parent 1 Config Child 1 Hyper-V Parent N Config Child N Multi-node File Server § § Hyper-V Parent 1 Config Hyper-V Parent N Child 1 Config Disk VHD Share 1 Share 2 Share 3 Share 4 FS 1 FS 2 FS 3 FS 4 File Server 1 Disk File Server 2 Disk Shared SAS Storage B Active ON Disk Child N VHD File Server A Highest scalability (up to thousands of disks) Higher cost, but still lower than connecting all Hyper-V hosts with FC Disk VHD Disk Fibre Channel Storage Array C Active ON

1 Gb. E Networks Clients 1 Gb. E Hyper-V 1 Hyper-V 2 1 Gb. E File Server 1 File Server 2 A

1 Gb. E Networks Mixed 1 Gb. E/10 Gb. E Clients 1 Gb. E Hyper-V 1 Hyper-V 2 1 Gb. E File Server 1 File Server 2 A 10 Gb. E / IB File Server 1 File Server 2 B

1 Gb. E Networks Mixed 1 Gb. E/10 Gb. E or Infini. Band Clients 1 Gb. E Hyper-V 1 Hyper-V 2 1 Gb. E File Server 1 File Server 2 A 10 Gb. E / IB File Server 1 File Server 2 B 10 Gb. E / IB Hyper-V 1 Hyper-V 2 10 Gb. E / IB File Server 1 File Server 2 C

1 Gb. E Networks Mixed 1 Gb. E/10 Gb. E Clients 1 Gb. E 10 Gb. E or Infini. Band Networks Clients 1 Gb. E 10 Gb. E / IB Clients Hyper-V 1 Hyper-V 2 1 Gb. E File Server 1 File Server 2 A Hyper-V 1 Hyper-V 2 10 Gb. E / IB File Server 1 File Server 2 B Hyper-V 1 Hyper-V 2 10 Gb. E / IB File Server 1 File Server 2 C 10 Gb. E / IB Hyper-V 1 Hyper-V 2 File Server 1 D File Server 2

title Sample Configurations

Hyper-V Standalone, shares used for VHD storage File Server Standalone, Local Storage Configuration highlights Flexibility (Migration, shared storage) Simplicity (File Shares, permissions) Low acquisition and operations cost Configuration lowlights Storage not fault tolerant File server not continuously available Hyper-V VMs not highly available Hardware setup and OS install by IT Pro

Hyper-V Standalone, shares used for VHD storage File Server Standalone, Storage Spaces Configuration highlights Flexibility (Migration, shared storage) Simplicity (File Shares, permissions) Low acquisition and operations cost Storage is Fault Tolerant Storage Spaces Configuration lowlights File server not continuously available Hyper-V VMs not highly available Hardware setup and OS install by IT Pro

Failover Cluster Hyper-V Clustered, shares used for VHD storage File Server Standalone, Storage Spaces Configuration highlights Flexibility (Migration, shared storage) Simplicity (File Shares, permissions) Low acquisition and operations cost Storage is Fault Tolerant Hyper-V VMs are highly available Storage Spaces Configuration lowlights File server not continuously available Hardware setup and OS install by IT Pro

Hyper-V Standalone, shares used for VHD storage Clustered Storage Spaces Active ON Failover Cluster File Server Clustered, Storage Spaces Configuration highlights Flexibility (Migration, shared storage) Simplicity (File Shares, permissions) Low acquisition and operations cost Storage is Fault Tolerant File Server is Continuously Available Configuration lowlights Hyper-V VMs not highly available Hardware setup and OS install by IT Pro

File Server Clustered, Storage Spaces Clustered Storage Spaces Active ON Failover Cluster Hyper-V Clustered, shares used for VHD storage Configuration highlights Flexibility (Migration, shared storage) Simplicity (File Shares, permissions) Low acquisition and operations cost Storage is Fault Tolerant Hyper-V VMs are highly available File Server is Continuously Available Configuration lowlights Hardware setup and OS install by IT Pro

File Server Cluster-in-a-box Clustered Storage Spaces Active ON Cluster-in-a-box Failover Cluster Hyper-V Clustered, shares used for VHD storage Configuration highlights Flexibility (Migration, shared storage) Simplicity (File Shares, permissions) Low acquisition and operations cost Storage is Fault Tolerant File Server is continuously Available Hardware and OS pre-configured by the OEM

title Summary

Networking 10 Gb. E 40 Gb. E 1 Gb. E 2+ Interfaces Infini. Band + Optional RDMA Server 2+ servers Storage Spaces Clustered RAID Shared JBOD SAS FC / i. SCSI / SAS fabric External Storage Arrays

Code* Title WSV 303 Windows Server 2012 High-Performance, Highly-Available Storage Using SMB WSV 322 Update Management in Windows Server 2012: Revealing Cluster-Aware Updating and the New Generation of WSUS WSV 330 How to Increase SQL Availability and Performance Using Window Server 2012 SMB 3. 0 Solutions WSV 334 Windows Server 2012 File and Storage Services Management WSV 410 Continuously Available File Server: Under the Hood Speaker(s) Claus Joergensen, Gene Chellis Erin Chapple, Mallikarjun Chadalapaka Claus Joergensen, Gunter Zink Fabian Uhse, Mathew Dickson Claus Joergensen * Links will take you to a page with slides and recording

Breakout Sessions at Tech. Ed Europe WSV 306 WSV 310 WSV 314 WSV 308 Hyper-V over SMB: Remote File Storage Support in Windows Server 20012 Hyper-V Windows Server 2012: Cluster-in-a-Box, RDMA, and More Windows Server 2012 NIC Teaming and Multichannel Solutions Standards Support and Interoperability in Windows Server 2012 (includes Storage) Product Demo Stations (Technical Learning Center, Windows Server) Find Me Later At http: //blogs. technet. com/josebda or http: //smb 3. info

Learning Connect. Share. Discuss. Microsoft Certification & Training Resources http: //europe. msteched. com www. microsoft. com/learning Tech. Net Resources for IT Professionals Resources for Developers http: //microsoft. com/technet http: //microsoft. com/msdn

#TEVIR 306 Hands-On Labs Talk to our Experts at the TLC DOWNLOAD Windows Server 2012 Release Candidate DOWNLOAD Microsoft System Center 2012 Evaluation microsoft. com/windowsserver microsoft. com/systemcenter

Evaluations Submit your evals online http: //europe. msteched. com/sessions


- Slides: 43