16. Windows performance tuning information:
http://www.microsoft.com/whdc/system/sysperf/Perf_tun_srv-R2.mspx
- DefaultNumberOfWorkerThreads = 256
• Internal testing shows ~35% improvement in IOPS and response time in
Windows Server 2012 R2 compared to Windows Server 2008 R2
0
1
2
3
4
5
6
2,000 4,000 6,000 8,000 10,000 12,000 14,000
Response Time (ms) Comparison
WS2012 / R2 (Non-Tuned) WS2008R2 (Tuned) WS2008R2 (Non-Tuned)
12,019
16,462
WS2008R2 WS2012 / R2
IOPS Comparison
IOPS
17. Component NFSv3 NFSv4.1
State Model Stateless Stateful (lease based/recallable)
Semantics POSIX POSIX and Windows
Security Weak (AUTH_UNIX) Strong (krb5, krb5i, krb5p)
Permission Model POSIX (Unix style) Windows style ACL’s
File Names ASCII (mostly) UTF-8
File System Model Single File System pNFS, Pseudo FS
Ports Multiple (NLM, NSM, MOUNT) Single (2049)
RPC Single RPC per request Compound RPC’s
Locking Separate NLM protocol Lease-based locking in the same protocol
Exports Separate for every mount point Can be mounted together as part of
pseudo file system
18. • RFC 5661 Features (NFSv4.1) の中で実装されていない機能
× ACL support
× Delegations
× Migration & Replication
× pNFS (Parallel NFS)
× RDMA support
× Other optional aspects of RFC 5661
• NFSでサポートされていない Windows File Systems の機能
× ReFS
× CSVFS
× FAT
× FAT32
× CDFS
19. VM IO halted for
seconds
VM IO halted for
seconds
NFS v3 – VMware ESX
• Clustered NFS v3 server with NFS share.
• Multiple VMs running off the NFS share.
• File bench workload running inside VM.
• Planned failover
Achieved Goal: Slight brown-out, VM continues to run.
• Ease of deployment, management, performance, high
availability for NFS shares
• NFSv3 transparent failovers for VMware workloads
• VMware official compatibility tests performed by OEM
vendors
• Internal testing :
• VMware storage certification passed in WS2012 with no tuning
• Failover achieved within VMware’s best practice of 120s timeout (ESX
Server)
• http://www.vmware.com/files/pdf/VMware_NFS_BestPractices_WP_EN.pdf
20. Windows NFS Server 2012 Interoperability with
NFS Clients
• Major Industry NFS Clients (Released & Beta)
• Fedora16/17
• RHEL6.2
• SUSE11.3
• CentOS5.5
• Ubuntu10.10
• FreeBSD8.1
• OpenSolaris10
• Solaris11
• University of Michigan
• OSX10.6.5
• ESX4/5
Windows NFS Client Interoperability
with NFS servers
• Major Industry NFS Servers (Released &
Beta)
• Fedora16/17
• RHEL6.2
• SUSE11.3
• Solaris10/11
• ONTAP8.0.1 (NetApp)
• NOTE: NFSv4.1 client for Windows can be
downloaded from CITI (University of
Michigan)
22. NIC チーミング(最大 32 NIC/Team)を OS 標準でサポート
• スイッチ依存(Static or LACP)/ 非依存
• ネットワークフォールトトレランス
SMB 3.0 マルチチャネル with RSS
• SMB スループット向上
• 1 NIC あたり 4 TCP/IP Connection
• 1セッションあたり 32 Connection
NIC
NIC
RSS: Receive-side scaling
NIC
NIC
Remote Direct Memory Access)
NICNIC
RSS
RSS
RSS
RSS
RSS
RSS
SMBMulti.
NIC Teaming
NICNIC RSSRSS
NIC Teaming
SWITCH
SMBMulti.
23. SMB 3.0 マルチチャネルを使用するための条件
必要条件
• Windows Server 2012 または Windows 8 が動作していること
• 少なくとも以下の1つの構成が有効であること
• 複数のネットワークアダプターが有効であること
• 少なくとも1つのネットワークアダプターが RSS (Receive Side Scaling) をサポート
• 少なくとも1つのネットワークアダプターが NIC チーミング構成であること
• 少なくとも1つのネットワークアダプターが RDMA (Remote Direct Memory Access) を
サポートしていること
SMB マルチチャネルが使用できない構成
• 1枚の RSS 非対応ネットワークアダプターしか実装していない
• スピードの異なるネットワークアダプター
インストール手順
• 必要なし
• Windows Server 2012 と Windows 8 で自動的に有効になる
• Windows PowerShell を使用して有効/無効を切り替えられる
29. SMB セッション の規定値
NIC インターフェースあたりのコネクション
• RSS NIC :4 TCP/IP コネクション
• RDMA NIC :2 RDMA コネクション
• その他のNIC :1 TCP/IP コネクション
クライアント―サーバー間のコネクション数は最大 32(セッション数は1)
Microsoft recommends keeping default settings, but the parameters can be modified
42. 急激なストレージの増加
Source: IDC Worldwide File-Based Storage 2011-2015 Forecast:
Foundation Solutions for Content Delivery, Archiving and Big Data, doc #231910, December
2011
増加し続けるストレージの使用量と対策
• データ重複除去
ファイルの重複を削減しつつ、従来通りのアクセスを提
供
従来
• シングルインスタンスストレージ
ハード ディスク ボリュームにある重複したファイルを管
理するファイル システム フィルタ。このフィルタによ
り、ファイルの 1 つのインスタンスを中央のフォルダに
コピーし、重複したファイルは中央のファイルへのリン
クに置き換えることにより、ディスクを節約する。
• NTFS データ圧縮
Windows Server 2012/R2
43. チャンクストア
重複除去のアーキテクチャ
File1
Metadata
ファイル名
属性…
Data
A B C M N
File2
Metadata Data
A B C X Y
Deduplicate Filter
File1
Metadata
A B C M N
File2
Metadata
X Y
重複除去のためのフィルターにより、ファイルはチャンクと呼ばれる単位(32~128kb)に分割され、System
Volume Information Store 内のチャンクストアに圧縮されて格納される。異なるファイルの同一チャンクは除去
されるため、容量を大幅に削減することができる。
リパース
ポイント
リパース
ポイント
ファイル名
属性…
ファイル名
属性…
ファイル名
属性…
スパース
スパース
チャンク ストリーム
マッピング情報
チャンク ストリーム
マッピング情報
-- -- ・・・・・・・
44. 容量の節約率
0% 20% 40% 60% 80% 100%
User Home Folder (MyDocs)
General File Share
Software Deployment Share
VHD Library
Savings %
Source: Sample File Server Production data (12 Servers, 7TB)
48. Windows PowerShell からの管理
さまざまな場面で、SMI-S にアクセスするための PowerShell コマンドレットを使用できるため、管
理の自動化が容易に可能
PS C:¥> Get-Command *storage*
CommandType Name ModuleName
----------- ---- ----------
Function Get-StorageJob Storage
Function Get-StoragePool Storage
Function Get-StorageProvider Storage
Function Get-StorageReliabilityCounter Storage
Function Get-StorageSetting Storage
Function Get-StorageSubSystem Storage
Function New-StoragePool Storage
Function New-StorageSubsystemVirtualDisk Storage
Function Remove-StoragePool Storage
Function Reset-StorageReliabilityCounter Storage
Function Set-StoragePool Storage
Function Set-StorageSetting Storage
Function Set-StorageSubSystem Storage
Function Update-HostStorageCache Storage
Function Update-StorageProviderCache Storage
Cmdlet Add-VMStoragePath Hyper-V
Cmdlet Get-VMStoragePath Hyper-V
Cmdlet Move-VMStorage Hyper-V
Cmdlet Remove-VMStoragePath Hyper-V
Management
Application
Storage
PowerShell or WMI
(SMAPI)
SM Provider
SMI-S
55. ¥¥ServerName¥Share
Node1 A 10.0.0.1
Node2 A 10.0.0.2
Node3 A 10.0.0.3
Node4 A 10.0.0.4
HAFileServer A 10.0.0.1
HAFileServer A 10.0.0.2
HAFileServer A 10.0.0.3
HAFileServer A 10.0.0.4
DNS
iSCSI/SAN
※iSCSI のNICチーミングは現時点で未サポート
56. ❶
❷
Node1 A 10.0.0.1
Node2 A 10.0.0.2
HAFileServer A 10.0.0.1
HAFileServer A 10.0.0.2
DNS
❸
❹
❺
SMB3.0
❿
① クライアントはDNSを使用してDNNを名前解決(ここ
ではNode1とする)
② SMBクライアントはNode1に対して接続要求する
③ Node1は接続を受け入れる
④ ClientはWitnessを決定するために、Nodeの一覧を要求
⑤ Node1からNode一覧が送付される
⑥ Node一覧から選定したNode2に、Witnessを依頼し、自
分自身を登録
⑦ Node2 が了解し、Client を登録する
⑧ Node2 が Client の Witness Node となる
⑨ Node1がダウン
⑩ Node2 は SMB3.0 を通じて Node1のダウンを検出
⑪ Client にNode1のダウンを通知し、通信先の切り替えを
要求(この処理によってTCPコネクションエラーが発生
するまえに接続先を切り替えられる)
❻ ❼ ⓫ ⓬
59. Technology 汎用ファイルサーバー Scale-Out File Server
SMB capability: SMB Transparent Failover Yes Yes
SMB capability: SMB Scale Out No Yes
SMB capability: SMB Multichannel Yes Yes
SMB capability: SMB Direct Yes Yes
SMB capability: SMB Encryption Yes Yes
File system: NTFS file system Yes No
File system: Resilient File System (ReFS) Yes No
File system: CSV File System (CSVFS) No Yes
Data management: BranchCache Yes No
Data management: Data Deduplication Yes Yes
Warning:In Windows Server 2012 R2, Data Deduplication is only supported in a Scale-Out File Server deployment for Virtual Desktop Infrastructure (VDI)
workloads with separate storage and compute nodes. The storage must be remote.
Data management: DFS Namespaces – Namespace Server Yes No
Data management: DFS Namespaces – Folder Target Yes Yes
Data management: DFS Replication Yes No
Data management: File Server Resource Manager Yes No
Data management: File Classification Infrastructure Yes No
Data management: File Server Volume Shadow Copy (VSS) Agent Yes Yes
Data management: Folder Redirection Yes Yes
Data management: Client Side Caching Yes Yes
Workload: Information worker Yes Not recommended
Workload: Hyper-V Yes Yes
Workload: Microsoft SQL Server Yes Yes
http://technet.microsoft.com/en-us/library/hh831349.aspx
61. 仮想マシン 仮想マシン
Windows Server 2008
Hyper-V
ホスト
Hyper-V
ホスト
ゲスト OS
アプリ
共有ストレージ
(LUN)
ゲスト OS
アプリ
仮想マシン 仮想マシン
Windows Server 2012
Hyper-V
ホスト
Hyper-V
ホスト
ゲスト OS
アプリ
共有ストレージ
(LUN)
ゲスト OS
アプリ
仮想FC 仮想FC
仮想SAN SW
FC-HBA
仮想SAN SW
FC-HBA
FC
SANSAN
68. • AD DS 側で属性リストを集中管理し、グループポリシーとして配布可能
※FSRM 側は Windows Server 2012 または Windows 8
ファイルサーバー
+ ファイルサーバーリソースマネージャー
(Windows Server 2012 or Windows 8)
AD DS Fsrm protocol
74. Resource
ACL
ACE
ACE
ACE ドメイン ローカル
グループ
Read Only
ACE
A :Account
G : Global Group
DL : Domain Local Group
P : Permission
グローバル
グループ
“アクセス権”に
合わせて作成さ
れたグループ
グローバル
グループ
組織や役割ごと
のグループ
ユーザー
84. DAC においては
• クレーム = 「分類属性」として定義
• トークン = Kerberos チケットとして AD DS から発行される
AD DS
①ログオン
②属性情報を含んだ
Kerberos チケット
チケットとクレームを
照合
Windows
Server 2012/8 必須
※属性を受信して解
析する機能が必要
ユーザー
on Windows 8
Name = Junichi Anno
Company = MSKK
Windows Server 2012 必須
※Kerberosに属性を含める機構が必要
ファイルサーバー
③ アクセス
RFC2113 に対応
した AD DS
89. • Windows Server 2012 Active Directory に実装
• PAC にユーザークレームを格納することができるようになる
Whoami /claims
90.
91. Windows 7 以前のクライアントの場合、属性が格納された Kerberos チケットを要求することが
できないため、ファイルサーバーがAD DSから属性情報を受け取る
AD DS
①ログオン
② 従来の Kerberos チケット
チケットとクレームを
照合
Windows
Server 2012/8 必須
※属性を受信して解
析する機能が必要
ユーザー
on Pre-Windows 8
属性は含まれない
Windows Server 2003 以上のドメインレベル
※Service-for-User-to-Self(S4U2Self)機構が必要
ファイルサーバー
⑤属性情報を含んだ
Kerberos チケット
③ Kerberosチケット送信
104. Web
Application
Proxy AD DS
Start
File Server
https://workfolders.contoso.com/
https
User01
User02
User03
HOME
User01
WorkFolder
AD FS
事前認証
• Web Application Proxy を経由し、AD FS で認証/認可が可能
• Workplace Joinと併用することで、デバイス認証も可能
105. • ファイル サーバー リソース マネージャ(FSRM)
• 自動分類、スクリーニング
• Rights Management Service(RMS)
• 暗号化、アクセス権限設定
• ダイナミック アクセス 制御(DAC)
File Server 重要データ保管庫
重要
Data
FSRM
個人
情報
重要
Data
参照
期限
印刷
禁止
コピペ
禁止
保存
禁止
暗号化
RMS
重要
Data
読み
取り
暗号化
分類
機密
Data
スクリーニング
109. 社内データセンター
VPN
Site to Site
VPN
Point to Site
VPN Gateway
After ③ ファイルサーバーへのアクセシビリティ Part2
VPN VPN VPN
最大250台
東京大阪
Point to Site
VPN Gateway
VPN VPN VPN
最大250台
ブランチ
キャッシュ
VPN
Gateway
VPN
Gateway
110. 社内データセンター
VPN
Site to Site
VPN
Point to Site
VPN Gateway
After ④ ファイルサーバーの安全性を高めるならば
VPN VPN VPN
最大250台
メイン
ファイルサーバー
重要なデータを自
動的に移動
(DAC、
Classification)
VPN
Gateway
111. Tools Online Backup
(Application consistent with no
downtime)
Backup
destination
Backup System
State
Backup
File/Folder
WSB Yes Inside OS Yes Yes
WAB Yes Blob Store No Yes
Copy Blob No Blob Store As a whole VHD.