Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

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. を使用して、BranchCacheの設定が正しいことを確認します vserver cifs branchcache show コマンドを実行します

次の例は、 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