App Server Web Server DB Server SQL Server Hyper-V Server File Server File Server Shared Storage IIS Dynamic scaling w. active-active file shares Fast failure recovery Clustered Shared Volume cache CHKDSK with zero downtime Application Servers Data.

Download Report

Transcript App Server Web Server DB Server SQL Server Hyper-V Server File Server File Server Shared Storage IIS Dynamic scaling w. active-active file shares Fast failure recovery Clustered Shared Volume cache CHKDSK with zero downtime Application Servers Data.

App
Server
Web
Server
DB
Server
SQL Server
Hyper-V Server
File Server
File Server
Shared
Storage
IIS
Dynamic scaling w. active-active file shares
Fast failure recovery
Clustered Shared Volume cache
CHKDSK with zero downtime
Application Servers
Data Center Network
(Ethernet, InfiniBand or combination)
Single Logical File Server (\\fs\share)
Simpler management
Single File System Namespace
Cluster Shared Volumes
Clustered File Server
Detailed information available with Windows Server 2012 Release Candidate here
Improve CSV I/O Performance
Get-ClusterGroup | ? {$_.GroupType -eq "ScaleoutFileServer"} | FL Name, OwnerNode, State, GroupType
Name
: smbsofs33
OwnerNode : FSF-260403-07
State
: Online
GroupType : ScaleoutFileServer
Get-ClusterGroup | ? {$_.GroupType -eq "ScaleoutFileServer"} | Get-ClusterResource
Name
---Scale-Out File Server
smbsofs33
State
----Online
Online
OwnerGroup
---------smbsofs33
smbsofs33
ResourceType
-----------Scale Out File Server
Distributed Network Name
> smbsofs33
Server: stb-red-dc-01.stbtest.microsoft.com
Address: 10.200.81.201
Non-authoritative answer:
Name:
smbsofs33.ntdev.corp.microsoft.com
Addresses: 2001:4898:0:fff:0:5efe:10.217.108.49
2001:4898:0:fff:0:5efe:10.217.108.103
2001:4898:0:fff:0:5efe:10.217.108.148
10.217.108.148
10.217.108.49
10.217.108.103
> smbsofs33
Server: stb-red-dc-01.stbtest.microsoft.com
Address: 10.200.81.201
Non-authoritative answer:
Name:
smbsofs33.ntdev.corp.microsoft.com
Addresses: 2001:4898:0:fff:0:5efe:10.217.108.49
2001:4898:0:fff:0:5efe:10.217.108.103
2001:4898:0:fff:0:5efe:10.217.108.148
10.217.108.148
10.217.108.49
10.217.108.103
> smbsofs33
Server: stb-red-dc-01.stbtest.microsoft.com
Address: 10.200.81.201
Non-authoritative answer:
Name:
smbsofs33.ntdev.corp.microsoft.com
Addresses: 2001:4898:0:fff:0:5efe:10.217.108.103
2001:4898:0:fff:0:5efe:10.217.108.148
2001:4898:0:fff:0:5efe:10.217.108.49
10.217.108.49
10.217.108.148
10.217.108.103
SQL Server
Node A
Node B
Node C
Scale-Out File Server Cluster
4x4Gbps
Overall throughput (MiBps)
Local
Remote
6,100
6,000
Delta from local
Run 1
6000
Run 2
5000
Run 3
4000
Run 4
3000
Run 5
2000
Run 6
Run 7
1000
Run 8
0
1
2
3
4
5
# of Nodes
6
7
8
Run 9
Run 10
7000
Overall Throughput (MiBps)
Overall Throughput (MiBps)
7000
~2%
6000
5000
4000
Run 1
3000
Run 2
2000
Run 3
1000
0
1
2
3
4
5
6
# of Nodes and Clients
7
8
16
Individual VM Boot Time
(in seconds)
Local
Remote
Minimum
18
19
Maximum
34
36
Average
23
25
Individual VM Boot Time
(in seconds)
Enabled
Disabled
Minimum
19
18
Maximum
61
1141
Average
29
211
Failovers are not transparent
SQL Server
\\fs1\share
Node A
\\fs1\share
Node B
File Server Cluster
SMB Transparent Failover
SQL Server
\\fs1\share
\\fs1\share
Node A
Node B
File Server Cluster
New components (1/2)
Witness
Service
Witness Protocol
User
Kernel
SMB Server
Witness
Client
User
User
Kernel
Kernel
Operation replay
SMB Redirector
SMB 3.0
State persistence
SMB Server
Resume Key Filter
File System
SMB Client
SMB Server
New components (2/2)
Witness
Service
Witness Protocol
User
Kernel
SMB Server
Witness
Client
User
User
Kernel
Kernel
Operation replay
SMB Redirector
SMB 3.0
State persistence
SMB Server
Resume Key Filter
File System
SMB Client
SMB Server
Overview
availability
continuous
Features (1/3)
Features (2/3)
Features (3/3)
Volume instance attach
Volume Protection
• Database is being
loaded from store
• All creates are held
until complete (<3s)
Namespace
protection
• Local handles are being
established
• All rename and create
operations are blocked
until complete (<60s)
Create Protection
Handles Cancelled
• Remote handles are
being resumed
• All new creates are
blocked until all
handles are resumed or
cancelled (<60s)
• Unclaimed handles are
cancelled to release file
create blackout
Overview
Registration process
\\fs1\share
SQL Server
\\fs1\share
\\fs1\share
\\fs1
Node A
\\fs1
Node B
File Server Cluster
Notification process
SQL Server
\\fs1\share
\\fs1\share
Node A
Node B
File Server Cluster
Cluster in a Box prototypes
Quanta
Wistron
LSI HA-DAS MegaRAID® and SAS
controllers
Quanta application servers, JBOD
expansion, and 10GbE switch
Mellanox IB FDR NICs and switch
OCZ SAS SSDs
Infrastructure
Domain Controller server
Power distribution unit
1GbE switch
Keyboard & monitor
MegaRAID® is a registered trademark of LSI Corporation
App
Server
Web
Server
DB
Server
SQL Server
Hyper-V Server
File Server
File Server
Shared
Storage
IIS
WSV303 Windows Server 2012 High-Performance, Highly-Available Storage
Using SMB
WSV322 Update Management in Windows Server 2012: Revealing ClusterAware Updating
WSV330 How to increase SQL availability and performance using Window
Server 2012 SMB 3.0 solutions
WSV334 Windows Server 2012 File and Storage Services Management
#TE(sessioncode)
DOWNLOAD
Windows Server
2012 Release
Candidate
Hands-On Labs
microsoft.com/windowsserver
DOWNLOAD
Windows Azure
Windowsazure.com/
teched
http://northamerica.msteched.com
www.microsoft.com/learning
http://microsoft.com/technet
http://microsoft.com/msdn
User
User
Kernel
Server State
Preservation
State Affected
Preserved
In progress CREATEs
(for persistent
Opened file handles
handle timeout
interval) – for
transient/permanent
network disconnects, Read/Write I/Os
server failovers
In-progress byte range locks
Operation
replay
Comments
SMB2 Redirector
Kernel
SMB 3.0
Replay, duplicate resolved via GUID
State
persistence
SMB2 Server
Resume Key Filter
Fenced until client replays the open with same
File System
GUID. Includes support for Desired Access, Share
SMB 3.0 Server
modes
Must ensure all writes prior to failover are flushed
before processing replay of reads or writes
Replay, duplicate resolved via sequence numbers
Established byte range locks
Server preserves, client does not replay
Sticky timestamps
Office interop
SMB2 FIDs describing open handles
Only the persistent portion of SMB2 FID is needed
Enumeration of dir & EAs
Client restarts enumeration (Win32 API compliant)
Close
Client replays
Change notification queue/block
Client handles this
Oplock state
Not Continuously Available – only used by downlevel SMB clients, which don’t use CA
Mixed
In progress lease breaks
Replay if reconnect to same node. More complex if
new node.
Renegotiated on
reconnect
File and directory lease state
Renegotiated on open re-establishment.
Write+Handle leases are preserved.
Not preserved
(client replays, etc)
User
User
Kernel
Kernel
State Preservation
Action
State Affected
Operation
replay
Comments
SMB2 Redirector
Simple Replay of
operation
(requires server state
to ensure correct
operation)
CREATE (file or directory)
Using prior Create GUID, issue “re-open”.
Read or Write I/Os
Replay (after Create is reconnected).
Rename/set DELETE_DISPOSITION
SMB2 FID or GUID used for open data handles,
lease handles, opened for delete/rename handles.
In progress byte range lock requests
Replay - duplicates resolved via sequence numbers
FSCTLs
Replay after re-open
Close
Replay (re-open, then close), but re-open fails, is
okay
Directory Lease state
Renegotiation can cause directory cache flush.
File Lease state
Write+Handle leases preserved, all else could be
renegotiated
Cached file data & metadata
Write-Back data cache is preserved. May cause flush
of metadata and/or read caches.
Granted byte range locks
No replay – server preserves.
Enumeration State (dir and EAs)
Start enumeration over, skip entries already
returned.
Change notification queue/block
Complete to app with error code to force reenumeration/requeue.
Attempt to replay,
potentially
renegotiate
Other Action
State
persistence
SMB2 Server
SMB 3.0
Resume Key Filter
File System
SMB 3.0 Server
Feature / capability
Area
Feature / capability
Clustered File Server
Scale-Out
BranchCache



Data de-duplication




DFS Namespaces - Root


SMB Direct


DFS Namespaces - Leaf


SMB Encryption


DFS Replication


NTFS




ReFS


FSRM (Quota,
Screening, Reporting)
CSVFS


FSRM Classification


File Server VSS Agent


Folder Redirection


Client Side Caching


Information Worker

Not
recommended
Hyper-v


SQL Server


Scale-Out
SMB Transparent Failover


SMB Scale-Out

SMB Multichannel
Data management
“Classic”
“Classic”
Apps
File
System
SMB
Capabilities
Area
Clustered File Server