DESKTOP

Windows 7 : Configuring Network Connectivity - Understanding BranchCache

8/6/2011 3:37:19 PM

BranchCache is a new technology that has been introduced in Windows Server 2008 R2 and Windows 7, BranchCache allows an organization with slower links between offices to cache data so downloads between offices do not have to occur each time a file is accessed.

For example, say John comes into work and logs in to the network. John accesses the corporate website and downloads a media file that takes four minutes to download. With BranchCache enabled, when Judy comes into work and connects to the corporate website and tries to download the same media file, the file will be cached from the previous download, and Judy will have immediate access to the file.

There are two types of BranchCache configurations that you can set up—distributed cache mode and hosted mode:

Distributed Cache Mode In the distributed cache mode configuration, all Windows 7 client machines cache the files locally on the client machines. So in the preceding example, after John downloaded the media file, Judy would receive the cached media file from John's Windows 7 machine.

Hosted Mode In the hosted mode configuration, the cache files are cached on a local (within the site) Windows Server 2008 R2 machine. So in the preceding example, after John downloaded the media file, the cached file would be placed on a Windows Server 2008 machine by default and all other users (Judy) would download the media file from the Windows Server 2008 R2 machine.

1. Distributed Cache Mode Requirements

If you decide to install BranchCache in the distributed cache mode configuration, a hosted cache server running Windows Server 2008 R2 is not required at the branch office. To set up distributed cache mode, the client machines must be running either Windows 7 Enterprise Edition or Windows 7 Ultimate Edition.

The Windows 7 machines would download the data files from the content servers at the main branch office, and then these Windows 7 machines become the local cache servers. To set up distributed cache mode, you must install a Windows Server 2008 R2 content server at the main office first. After the content server is installed, physical connections (WAN or VPN connections) between the sites and branch offices must be established.

Client computers running Windows 7 have BranchCache installed by default, but you must, however, enable and configure BranchCache and configure firewall exceptions. Complete Exercise 1 to configure BranchCache firewall rule exceptions.

Exercise 1: Configuring BranchCache Firewall Exceptions

  1. On a domain controller, click Start => Administrative Tools => Group Policy Management. This opens the Group Policy Management console.

  2. In the Group Policy Management console, expand the following path: Forest Domains => Group Policy Objects. Make sure that the domain you choose contains the BranchCache Windows 7 client computer accounts that you want to configure.

  3. In the Group Policy Management console, right-click Group Policy Objects and select Create And Link Group Policy Here. Name the policy BranchCache Client and press Enter. Right-click BranchCache Client and click Edit. The Group Policy Management Editor console opens.

  4. In the Group Policy Management Editor console, expand the following path: Computer Configuration ^Policies ^-Windows Settings ^Security Settings ^Windows Firewall with Advanced Security ^-Windows Firewall with Advanced Security => LDAP => Inbound Rules.

  5. Right-click Inbound Rules and then click New Rule. The New Inbound Rule Wizard opens.

  6. In Rule Type, click Predefined, expand the list of choices, and then click BranchCache— Content Retrieval (Uses HTTP). Click Next.

  7. In Predefined Rules, click Next.

  8. In Action, ensure that Allow The Connection is selected, and then click Finish. You must select Allow The Connection for the BranchCache client to be able to receive traffic on this port.

  9. Now to create the WS-Discovery firewall exception, right-click Inbound Rules, and click New Rule. The New Inbound Rule Wizard opens.

  10. In Rule Type, click Predefined, expand the list of choices, and then click BranchCache— Peer Discovery (Uses WSD). Click Next.

  11. In Predefined Rules, click Next.

  12. In Action, ensure that Allow The Connection is selected, and then click Finish.

  13. In the Group Policy Management Editor console, right-click Outbound Rules, and then click New Rule. The New Outbound Rule Wizard opens.

  14. In Rule Type, click Predefined, expand the list of choices, and then click BranchCache— Content Retrieval (Uses HTTP). Click Next.

  15. In Predefined Rules, click Next.

  16. In Action, ensure that Allow The Connection is selected, and then click Finish.

  17. Create the WS-Discovery firewall exception by right-clicking Outbound Rules, and then click New Rule. The New Outbound Rule Wizard opens.

  18. In Rule Type, click Predefined, expand the list of choices, and then click BranchCache— Peer Discovery (Uses WSD). Click Next.

  19. In Predefined Rules, click Next.

  20. In Action, ensure that Allow The Connection is selected, and then click Finish.


Now that you have looked at the distributed cache mode configuration, let's take a look at the hosted mode configuration.

2. Hosted Mode Requirements

To set up a hosted mode BranchCache configuration, you must first set up a Windows Server 2008 R2 hosted cache server at the main and branch offices. You also need Windows 7 Enterprise or Windows 7 Ultimate computers at the branch offices.

The Windows 7 machines download the data from the main cache server, and then the hosted cache servers at the branch offices obtain a copy of the downloaded data for other users to access.

Your network infrastructure must also allow for physical connections between the main office and the branch offices. These connections can be VPNs or some type of WAN links. After these requirements are met, your cache server must obtain a server certificate so the client computers in the branch offices can positively identify the cache servers.

Exercise 2 walks you through the process of installing the BranchCache feature on a Windows Server 2008 R2 machine. To accomplish this exercise, you must be logged in to the Windows Server 2008 machine as an administrator.

Exercise 2: Installing BranchCache on a Windows Server 2008 R2 machine

  1. Open the Server Manager by clicking Start => Administrative Tools => Server Manager.

  2. In Server Manager, right-click Features and then choose the Add Feature link.

  3. The Add Features Wizard starts. Select the BranchCache check box and click Next.

  4. At the Confirm Installation Selections screen, click Install.

  5. After the BranchCache feature installs, click Close.

  6. In the Server Manager left window pane, double-click Configuration and then click Services.

  7. In the Services detail pane, double-click BranchCache.

  8. The BranchCache Properties dialog box appears. Click the General tab and then click Start. Click OK.

  9. Close Server Manager


Make sure to repeat this exercise on all branch office cache servers. Now one of the requirements for BranchCache was a physical connection between the main office and the branch offices. In the next section, you will look at configuring DirectAccess.
Other  
  •  Windows 7 : Configuring Remote Management
  •  Configuring Windows 7 on a Network
  •  Windows Server : Branch Office Deployment - Branch Office Services (part 2)
  •  Windows Server : Branch Office Deployment - Branch Office Services (part 1)
  •  Windows Server : Planning Application Virtualization
  •  Windows 7 : Understanding TCP/IP (part 2)
  •  Windows 7 : Understanding TCP/IP (part 1) - Basics of IP Addressing and Configuration
  •  Windows Server 2008 : Planning Operating System Virtualization (part 2) - Planning for Server Consolidation
  •  Windows Server 2008 : Planning Operating System Virtualization (part 1)
  •  Windows Server 2003 : Troubleshooting Group Policy
  •  Windows Server 2003 : Working with Resultant Set of Policy (part 2)
  •  Windows Server 2003 : Working with Resultant Set of Policy (part 1) - Generating RSoP Queries with the Resultant Set Of Policy Wizard
  •  Configuring Windows 7 NIC Devices (part 2) - Configuring Wireless NIC Devices
  •  Configuring Windows 7 NIC Devices (part 1) - Configuring a Network Adapter & Troubleshooting a Network Adapter
  •  Windows 7 : Configuring Network Connectivity - Understanding Networking
  •  Preparing to Install Windows 7 (part 2) - New Install or Upgrade
  •  Preparing to Install Windows 7 (part 1) - Different Versions of Windows 7 & Hardware Requirements
  •  Maintaining Windows 7 with Backup and Restore (part 2) - Using Advanced Backup Options & Using System Protection
  •  Maintaining Windows 7 with Backup and Restore (part 1) - Creating a Backup & Restoring Files from a Backup
  •  Windows 7 : Configuring Backups and Recovery - Using Advanced Boot Options
  •  
    Top 10
    Mobile Application Security : The Apple iPhone - Push Notifications, Copy/Paste, and Other IPC
    Exploring the T-SQL Enhancements in SQL Server 2005 : The WAITFOR Command
    Parallel Programming with Microsoft .Net : Parallel Aggregation - Variations
    Optimizing an Exchange Server 2010 Environment : Analyzing Capacity and Performance
    Programming .NET Security : Hashing Algorithms Explained
    Sharepoint 2007: Specify Your Colleagues
    Algorithms for Compiler Design: THE NFA WITH ∈-MOVES
    Choosing The Right Parts For Your Build (Part 1) - Picking the perfect processor
    Choosing The Right Parts For Your Build (Part 5) - Choosing your case & Picking the right storage
    SQL Server 2008 : Leveraging the Microsoft Sync Framework
    Most View
    Legal Trouble with Social Networks (Part 1)
    The choices of mobile computing for SOHO users (part 2)
    Infrastructure Security: The Application Level
    Sharepoint 2007: Create a New List Item
    SQL Azure Data Access
    Getting Started with MySQL Enterprise & MySQL Enterprise Components
    iPhone Application Development : Using Advanced Interface Objects and Views - User Input and Output
    How to Protect Your Mobile Devices
    Joomla! Blogging and RSS Feeds : Commenting anyone?
    The Second BlackBerry Developers Conference Asia (Part 2)
    Windows Azure : Understanding the Blob Service
    Windows Server 2008 : Understanding the Identity Management for UNIX Components
    Migrating from Legacy SharePoint to SharePoint Server 2010 : Using Visual Upgrade
    Designing and Implementing Mobility in Exchange Server 2010 : Securing Access to ActiveSync Using Internet Security and Acceleration (ISA) Server 2006
    SQL Server 2008 : Explaining Advanced Query Techniques - Creating CTEs
    Configuring Server Roles in Windows 2008 : New Roles in 2008
    Mass Effect Infiltrator
    iPhone 3D Programming : Anti-Aliasing Tricks with Offscreen FBOs (part 1) - A Super Simple Sample App for Supersampling
    Changes in Windows Vista Affecting SDI
    Search for a File or Directory