BranchCache対応のONTAP SMB共有を作成する
SMB共有の作成時に共有プロパティを設定して、共有でBranchCacheを有効にすることができます branchcache。
-
SMB共有でBranchCacheが有効になっている場合は、共有のオフラインファイル設定を手動キャッシュに設定する必要があります。
これは、共有を作成するときのデフォルト設定です。
-
BranchCacheが有効な共有を作成するときに、オプションの共有パラメータを追加で指定することもできます。
-
Storage Virtual Machine(SVM)でBranchCacheが設定されておらず、有効になっていない場合でも、共有のプロパティを設定でき `branchcache`ます。
ただし、共有でキャッシュされたコンテンツを提供するには、SVMでBranchCacheを設定して有効にする必要があります。
-
パラメータを使用する場合、共有に適用されるデフォルトの共有プロパティはないため、
-share-properties`共有プロパティに加えて、共有に適用する他のすべての共有プロパティをカンマで区切って指定する必要があります `branchcache。 -
の詳細については
vserver cifs share create、を"ONTAPコマンド リファレンス"参照してください。
-
BranchCacheが有効なSMB共有を作成します。+
vserver cifs share create -vserver vserver_name -share-name share_name -path path -share-properties branchcache[,…] -
コマンドを使用して、SMB共有に対してBranchCache共有プロパティが設定されていることを確認します
vserver cifs share show。
次のコマンドは、SVM vs1上でパスを使用して、「data」という名前のBranchCacheが有効なSMB共有を作成します /data。デフォルトでは、オフラインファイルの設定は次のように設定されてい `manual`ます。
cluster1::> vserver cifs share create -vserver vs1 -share-name data -path /data -share-properties branchcache,oplocks,browsable,changenotify
cluster1::> vserver cifs share show -vserver vs1 -share-name data
Vserver: vs1
Share: data
CIFS Server NetBIOS Name: VS1
Path: /data
Share Properties: branchcache
oplocks
browsable
changenotify
Symlink Properties: enable
File Mode Creation Mask: -
Directory Mode Creation Mask: -
Share Comment: -
Share ACL: Everyone / Full Control
File Attribute Cache Lifetime: -
Volume Name: data
Offline Files: manual
Vscan File-Operations Profile: standard