Skip to main content

Setting up BranchCache

You can use Storage Manager to configure BranchCache on a CIFS-enabled storage virtual machine (SVM) to enable the caching of content on computers that are local to the requesting clients.

Before you begin

  • CIFS must be licensed, and a CIFS server must be configured.

  • For BranchCache version 1, SMB 2.1 or later must be enabled.

  • For BranchCache version 2, SMB 3.0 must be enabled, and the remote Windows clients must support BranchCache 2.

About this task

  • You can configure BranchCache on SVMs.

  • You can create an all-shares BranchCache configuration if you want to offer caching services for all of the content that is contained within all of the SMB shares on the CIFS server.

  • You can create a per-share BranchCache configuration if you want to offer caching services for the content that is contained within selected SMB shares on the CIFS server.

  1. Click Storage > SVMs .
  2. Select the SVM , and then click SVM Settings.
  3. In the BranchCache tab, click Set Up .
  4. In the BranchCache Setup dialog box, enter the following information:
    1. Specify the path to the hash store.

      The path can be to an existing directory where you want the hash data to be stored. The destination path must be read-writable. Read-only paths such as Snapshot directories are not allowed.
    2. Specify the maximum size (in KB, MB, GB, TB, or PB) for a hash data store.

      If the hash data exceeds this value, older hashes are deleted to provide space for newer hashes. The default size for a hash store is 1 GB.
    3. Specify the operating mode for the BranchCache configuration.

      The default operating mode is set to all shares.
    4. Specify a server key to prevent clients from impersonating the BranchCache server.

      You can set the server key to a specific value so that if multiple servers are providing BranchCache data for the same files, clients can use hashes from any server using that same server key. If the server key contains any spaces, you must enclose the server key in quotation marks.
    5. Select the required BranchCache version.

      By default, all of the versions that are supported by the client are selected.
  5. Click Set Up .