Install and configure the hosted cache server

Updated: October 7, 2009

Applies To: Windows 7, Windows Server 2008 R2

When you deploy BranchCache in hosted cache mode for one or more branch offices, you must install a hosted cache server in each branch office. You can use an existing application server as a hosted cache server if you upgrade the server to one of the following operating systems:

  • Windows Server® 2008 R2 Enterprise

  • Windows Server 2008 R2 Enterprise with Hyper-V

  • Windows Server 2008 R2 Enterprise Core Install

  • Windows Server 2008 R2 Enterprise Core Install with Hyper-V

  • Windows Server 2008 R2 for Itanium-Based Systems

  • Windows Server® 2008 R2 Datacenter

  • Windows Server® 2008 R2 Datacenter with Hyper-V

  • Windows Server® 2008 R2 Datacenter Core Install with Hyper-V

To deploy a hosted cache server, you must install and enable the BranchCache feature, enable hosted cache mode, and configure firewall exceptions to allow communication between the hosted cache server and client computers in the branch office.

Note

By default, the cache on the hosted cache server is configured to use 5% of the hard disk space on the local hard disk. If you want to change the size of the cache, you can use the netsh branchcache set cachesize command, which specifies the size of the local cache as either a percentage of the size of the hard disk where the cache is located or as an exact number of bytes. For more information, see Additional Resources.

See the following topics to install and configure the hosted cache server.

Note

When you enable hosted cache mode using the netsh branchcache set service command as described in the topic Enable hosted cache server mode on a hosted cache server, the firewall on the hosted cache server is automatically configured with the correct exceptions for hosted cache mode. You do not need to make additional configuration to the firewall, however the topic Configure hosted cache mode firewall rules is provided for reference.