ONTAP 9.13

to English version

BranchCacheサーバー キーの変更

BranchCacheサーバー キーを変更するには、Storage Virtual Machine (SVM)でBranchCacheの設定を変更し、別のサーバー キーを指定します。

タスク概要

サーバー キーを特定の値に設定すると、複数のサーバーが同じファイルのBranchCacheデータを提供している場合に、クライアントが同じサーバー キーを使用してサーバーのハッシュを使用できるようになります。

サーバー キーを変更する場合は、ハッシュ キャッシュをフラッシュすることも必要になります。ハッシュのフラッシュ後、BranchCache対応クライアントによって新しい要求が行われると、ONTAPによって新しいハッシュが作成されます。

手順
  1. 次のコマンドを使用して、サーバー キーを変更します。
    vserver cifs branchcache modify -vserver vserver_name -server-key text -flush-hashes true

    新しいサーバー キーを設定する場合は、-flush-hashes も指定して値を true に設定する必要があります。

  2. vserver cifs branchcache show コマンドを使用して、BranchCacheの設定が正しいことを確認します。

次の例は、SVM vs1でスペースを含む新しいサーバー キーを設定し、ハッシュ キャッシュをフラッシュします。

cluster1::> vserver cifs branchcache modify -vserver vs1 -server-key "new vserver secret" -flush-hashes true

cluster1::> vserver cifs branchcache show -vserver vs1

                                 Vserver: vs1
          Supported BranchCache Versions: enable_all
                      Path to Hash Store: /hash_data
          Maximum Size of the Hash Store: 20GB
Encryption Key Used to Secure the Hashes: -
        CIFS BranchCache Operating Modes: per_share
Top of Page