how to configure branch cache for share point server

How to configure Branch Cache in Hosted mode for SharePoint Optimization on WAN links with WIndows Server 2008R2 and Windows7?
Windows 7 and Windows Server 2008 R2 introduce a new feature (BranchCache) that can reduce wide area network (WAN) utilization and enhance Microsoft SharePoint Products and Technologies responsiveness when users access content in a central office from branch office locations. When you enable BranchCache, a copy of the content that is retrieved from the Web server is cached within the branch office. If another client in the branch requests the same content, the client can download it directly from the local branch network without needing to retrieve the content by using the Wide Area Network (WAN).


Configuring BranchCache with Microsoft SharePoint :

Configuring Web Servers
The configuration of Web Servers in preparation for BranchCache requires only installing the BranchCache role on the server machine through the Server Manager or optionally the Command Prompt.
  1. Open Server Management on each Web server by clicking Start | All Programs | Administrative Tools | Server Manager.
  2. On the Server Manager dialog select the Roles node.
  3. On the Server Manager dialog in the Roles window, select Add Role.
  4. On the <> dialog select BranchCache from the list of available options and click Next.

Configuring the Hosted Cache Server

Install the BranchCache Feature
  1. Open Server Manager on the Hosted Cache server by clicking Start | Administrative Tools | Server Manager.
  2. On the Server Manager dialog select the Features node.
  3. On the Server Manager dialog in the Features window, select Add Features.
  4. On the Add Features Wizard select BranchCache from the list of available Features and click Next.
  5. On the Confirm Installation Selections dialog click Install.
  6. On the Installation Results dialog click Close.
Enable Hosted Cache Server Mode
  1. Open an elevated Command Prompt on the Hosted Cache server by clicking Start | All Programs | Accessories | Command Prompt.
  2. Enter netsh branchcache set service mode=HOSTEDSERVER in the Command Prompt and press Enter.
Configure the Cache
  1. Open an elevated Command Prompt on the Hosted Cache server by clicking Start | All Programs | Accessories | Command Prompt.
  2. Enter netsh branchcache set localcache directory=<drive>:\<share>
  3. Enter netsh branchcache set cachesize size=<size in percent> percent=TRUE
Create a new Certificate
  1. On the Hosted Cache server open Microsoft Management Console by clicking Start | Run… and entering MMC in the Open… field.
  2. On the Microsoft Management Console click File | Add / remove snap-in.
  3. On the Add or Remove Snap-ins dialog select Certificates from the list of available snap-ins and click Add.
  4. On the Certificate snap-in dialog select Computer account from the list of available options and click Next.
  5. On the Select Computer dialog select Local computer (the computer this console is running on) and click Finish.
  6. On the Add or Remove Snap-ins dialog click OK.
  7. On the Console1 – [Console Root] dialog expand the Certificates (Local Computer) | Personal | nodes and then select Certificates.
  8. On the Console1 – [Console Root] dialog select Action | All Tasks | Import…
  9. On the Certificate Import Wizard* dialog click Next.
  10. On the Console1 – [Console Root] dialog double-click the certificate imported from the previous steps and select Details on the Certificate dialog.
  11. On the Certificate dialog select Thumbprint and copy the Thumbprint.
  12. Paste the copied Thumbprint into a text editor and remove any spaces.
  13. Open an elevated Command Prompt on the Hosted Cache server by clicking Start | All Programs | Accessories | Command Prompt.
  14. Enter netsh http add sslcert ipport:0.0.0.443 certhash=<paste from text editor> appid= and press Enter.
  15. Enter netsh branchcache show status all to confirm the configuration
* The Hosted Cache server requires a certificate with the Server Authentication EKU. Follow the steps on the Certificate Import Wizard to install your certificate. Once the certificate has been imported, follow the remaining steps in this section.
Configure Client Machines
Refer to http://technet.microsoft.com/en-us/library/dd637820(WS.10).aspx.
BranchCache can be used with Windows SharePoint Services 3.0, Microsoft Office SharePoint Server 2007, Microsoft SharePoint Foundation 2010, and Microsoft SharePoint Server 2010.
Other Resources: Learn more here http://technet.microsoft.com/en-us/library/dd755969(WS.10).aspx.

No comments:

Post a Comment