Scale-Out Fileserver

Preview:

Citation preview

Drive your life.

Scale-Out Fileserver

Matthias Gessenay Matthias.gessenay@corporatesoftware.ch

Agenda n  Das Problem n  Die neuen Möglichkeiten n  Verwendete Techniken n  Integration mit System Center 2012

2

DAS „PROBLEM“

3

Das “Problem” n  Hochverfügbare Dateiserver = Cluster n  Aber Cluster = eine Instanz n  Also kein Scale-Out n  Vielleicht DFS-R?

o  Locking o  Usw.

4

DIE NEUEN MÖGLICHKEITEN

5

Beides! n  Cluster Shared Volumes (CSV) sind jetzt auch für Fileserver

freigegeben o  Haben eigenes Locking-System (“orchestrierte I/O Operations”) o  Multi-Subnet o  Brauchen ein NTFS-Drive (oft iSCSI)

n  Ungeschriebene Best Practice: 1 Share pro 1 CSV

6

Scale-Out n  Fixer Scale-Out mit Hyper-V möglich

o  Scale-Out Fileserver-Rolle (SOF) läuft als Clusterservice o  Registriert alle IPs o  Benutzt Round Robin o  + 1 Clusternode = +1 Fileserver

n  Dynamischer Scale-Out mit System Center o  Service-Orientiert o  Integration mit SCOM

7

VERWENDETE TECHNIKEN

8

Cluster Shared Volumes n  Werden unter %SystemDrive%\ClusterStorage als einzelne Volumes

angezeigt n  Locking ist nicht auf LUN, sondern auf File-Level n  Jedes Volume hat einen Node als Coordinator (hält auch die NTFS-

Metadaten) n  Non-Coordinators machen einen Request beim Coordinator-Node n  Windows Cache Manager Integration

9

SMB v3 n  Erheblich verbesserte Performance n  Better together mit Hyper-V v3 n  Encryption n  SMB RDMA (Remote Direct Memory Access)

10

Hyper-V n  Viele Enterprise-Features jetzt im Server Standard n  Mehr Features als SCVMM -> Replica n  Sehr gute SMB-Anbindung (SMB3)

11

title

Anatomy of a Scale-Out File Server

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                                                    State                                                  OwnerGroup                                        ResourceType  -­‐-­‐-­‐-­‐                                                    -­‐-­‐-­‐-­‐-­‐                                                  -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐                                        -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐  Scale-­‐Out  File  Server                  Online                                                smbsofs33                                          Scale  Out  File  Server  smbsofs33                                          Online                                                smbsofs33                                          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  

Scale-Out File Server Cluster

Node A

Node B

SQL Server

Node C

Get-­‐SmbWitnessClient  |  FL  ClientName,  FileServerNodeName,  WitnessNodeName  ClientName                  :  SQLServer  FileServerNodeName  :  A  WitnessNodeName        :  B  Move-­‐SmbWitnessClient  –ClientName  SQLServer  –DestinationNode  C  

title

SMB Transparent Failover

Failovers are not transparent

File Server Cluster

Node A Node B

\\fs1\share \\fs1\share

SQL Server

File Server Cluster

SMB Transparent Failover

Node A Node B

\\fs1\sha

re

\\fs1\sha

re

SQL Server

New components (1/2)

SMB Server

SMB Client SMB Server

User

Kernel

User

Kernel

Witness Service

Witness Client

Witness Protocol

SMB Redirector

File System

Resume Key Filter

SMB Server

SMB 3.0 Operation replay

State persistence

User

Kernel

New components (2/2)

SMB Server

SMB Client SMB Server

User

Kernel

User

Kernel

Witness Service

Witness Client

Witness Protocol

SMB Redirector

File System

Resume Key Filter

SMB Server

SMB 3.0 Operation replay

State persistence

User

Kernel

Overview

continuous availability

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 • Remote handles

are being resumed

• All new creates are blocked until all handles are resumed or cancelled (<60s)

Handles Cancelled • Unclaimed

handles are cancelled to release file create blackout

Overview

Registration process

\\fs1\share

\\fs1

\\fs1

File Server Cluster

Node A Node B

\\fs1\share \\fs1\share

SQL Server

File Server Cluster

Notification process

Node A Node B

\\fs1\share \\fs1\share

SQL Server

DEMO

33

INTEGRATION MIT SYSTEM CENTER 2012

34

Scale-Out ist auch mit System Center möglich n  Über ein Service Model lassen sich n Instanzen definieren n  Diese Instanzen werden dynamisch skaliert, je nach Auslastung n  Z. B. via ProTips vom SCOM

35

Szenarien n  Fileserver

o  DFS-Namespace, z. B. mit Storage o  Cluster-Nodes (für CSV)

n  Hyper-V Storage o  Kann sich auf den SOF stützen

36

DEMO

37

FRAGEN?

38

Recommended