wsv324: designing a branchcache infrastructure

39
Designing a BranchCache Infrastructure Manish Kalra Senior Product Manager Microsoft WSV324

Upload: dangminh

Post on 08-Dec-2016

222 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: WSV324: Designing a BranchCache Infrastructure

Designing a BranchCache Infrastructure

Manish KalraSenior Product ManagerMicrosoft

WSV324

Page 2: WSV324: Designing a BranchCache Infrastructure

Agenda

1.  Problem Background

3.  Accelerated Protocols and Workloads

4.  Deployment and Management

2.  BranchCache Solution Modes

5.  BranchCache Protocols and Content Identification

6.  Security

Page 3: WSV324: Designing a BranchCache Infrastructure

Problem Background

Page 4: WSV324: Designing a BranchCache Infrastructure

Problem Background

High link utilizationPoor application responsivenessTrend towards data centralization

Thin, expensive WAN links between main office and branch offices

Page 5: WSV324: Designing a BranchCache Infrastructure

$$$$$$$$$$$$

$$$$

$$$$$$

$$ $$ $$ $$ $$ $$

Branch – The Problem Space

$$$$

$$$$

$$$$

$$

Page 6: WSV324: Designing a BranchCache Infrastructure

BranchCache Solution Modes

Page 7: WSV324: Designing a BranchCache Infrastructure

BranchCache Modes

IIS

File Server Group PolicyManagement Hosted Cache

Content cache at a branch office is hosted on a server computer

Content cache at a branch office is distributed among client computers

Distributed CacheDistributed cache mode operates on a single subnet. At a multiple-subnet branch office that is configured for distributed cache mode, a file downloaded to one subnet cannot be shared with client computers on other subnets

Page 8: WSV324: Designing a BranchCache Infrastructure

Hosted Cache vs Distributed Cache

Recommended for branches without any infrastructureEasy to deploy: Enabled on clients through Group PolicyCache availability decreases with laptops that go offline

Distributed CacheData cached amongst clients

Recommended for larger branchesCache stored centrally: can use existing server in the branchCache availability is highEnables branch-wide caching

Hosted Cache Data cached at hosted cache server

Enterprise

Page 9: WSV324: Designing a BranchCache Infrastructure

Which do I ChooseYou can use the following guidelines to determine the mode in which you want to deploy BranchCache:

For a branch office that contains less than 100 users and does not have any local servers, use distributed cache mode.

For a branch office (either single subnet or multiple-subnet) that contains less than 100 users and also contains a local server that you can use as a hosted cache server, use hosted cache mode.

For a multiple-subnet branch office that contains more than 100 users, but less than 100 users per subnet, use distributed cache mode.

Page 10: WSV324: Designing a BranchCache Infrastructure

BranchCache Software RequirementsOperating systems for BranchCache CLIENT COMPUTER functionality:• Windows® 7 Enterprise• Windows® 7 Ultimate

Operating systems for BranchCache CONTENT SERVER functionality:• Windows Server® 2008 R2 family of operating systems can be used as BranchCache content

servers, with the following exceptions:• Windows Server® 2008 R2 Enterprise Core Install with Hyper-V, BranchCache is not supported.• In Windows Server® 2008 R2 Datacenter Core Install with Hyper-V, BranchCache is not supported.

Operating systems for BranchCache HOSTED CACHE server functionality:• 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

Page 11: WSV324: Designing a BranchCache Infrastructure

Get

Get

Get

BranchCache Distributed Cache

GetData

DataID DataID

Page 12: WSV324: Designing a BranchCache Infrastructure

Get

BranchCache Hosted Cache

Put

Get

Data

Search

Get

Sear

ch

Request

OfferID

ID

ID Data

Data

ID

Get

IDID DataID

Page 13: WSV324: Designing a BranchCache Infrastructure

Protocols and Workloads

Page 14: WSV324: Designing a BranchCache Infrastructure

BranchCache is a Platform

Content ServerUses server side Peer Distribution APIs to get identifiers for data. IDs are packed in a Content Information structure

Content Information StructureTransmitted over the accelerated protocol instead of data. Contains everything the client needs to find data locally.

ClientFeeds the Content Information structure into the client side Peer Distribution APIs to find and download content locally.

Page 15: WSV324: Designing a BranchCache Infrastructure

Framework

Office CopyFile Explorer SharePoint Office BITS WMP IE

HTTP SMB

BranchCache™

3rd Party Applications

Page 16: WSV324: Designing a BranchCache Infrastructure

Peer Distribution on MSDN

Page 17: WSV324: Designing a BranchCache Infrastructure

Deployment and Management

Page 18: WSV324: Designing a BranchCache Infrastructure

Deployment Overview

1. Install the optional “Windows BranchCache” component on a Windows 2008 R2 web or file server

2. If you’re using BranchCache on a file server you’ll need to install the File Services Role as well as BranchCache for remote files

3. Use Group Policy to enable Windows BranchCache on Windows 7 clientsSet BranchCache Distributed Cache Mode. This applies to all clients in the GPO

IIS

File Server Group PolicyManagement Hosted Cache

3. Install a hosted cache in your branch. Configure clients to use it with Group PolicySet BranchCache Hosted Cache Mode. Specify a server to host the cache4. Install Cert

Page 19: WSV324: Designing a BranchCache Infrastructure

Deployment Overview

4. Configure GPO setting “LanMan Server” in the BranchCache Policy to allow hash generation

IIS

File Server Group PolicyManagement Hosted Cache

Page 20: WSV324: Designing a BranchCache Infrastructure

Configuration Manager & WSUS

IntegrationDistribution Points (DPs) run on Windows Server 2008 R2Download packages (apps, updates etc) once into a branch office, get it from other clients or the Hosted Cache after that

GoalsReduce WAN utilization in the remote office scenarioReduce the number of actively managed Distribution PointsFor users, transfer content faster and with less restrictions in the remote office scenario

Support for Configuration Manager (and WSUS) clients available on Windows Vista, Windows Server 2008 R2

Page 21: WSV324: Designing a BranchCache Infrastructure

Application Virtualization (AppV)

IntegrationHTTP Streaming in AppV optimized using BranchCacheVirtual applications only have to traverse the WAN link onceEliminate IIS Servers (AppV staging servers) from the branch office

GoalsMake users productive quickly in branch officesSave on the need for deploying IT infrastructure in branch officesReduce bandwidth utilization over the WAN link to save costs

Support available on Windows 7 and Windows Server 2008 R2

Page 22: WSV324: Designing a BranchCache Infrastructure

SharePoint & IIS

IntegrationIIS and SharePoint need to run on Windows Server 2008 R2Users never get stale content; if content is updated, the content identifiers change

GoalsImprove SharePoint, IIS responsiveness in branch offices without requiring separate branch infrastructureEnable Office Web Applications to see improved performance in branch offices

Support available for Windows 7 and Windows 2008 R2

Page 23: WSV324: Designing a BranchCache Infrastructure

File Servers

IntegrationBranchCache integration ensures that data needs to move over the WAN link only onceSMB Transparent Caching enables better road-warrior scenariosAll application semantics around locking are automatically maintained

GoalsImprove the SMB protocol to reduce chattiness over the WAN link, and be aware of common application behaviorsReduce bandwidth utilization over the WAN link, and improve performance of applications (Robocopy, Office etc) in branch offices

Available on Windows 7 and Windows Server 2008 R2

Page 24: WSV324: Designing a BranchCache Infrastructure

BranchCache Protocols and Content Identification

Page 25: WSV324: Designing a BranchCache Infrastructure

Data, Bocks and Segments

S1 S2 S3

B1

B2

B1

B2

Bn

B1

B2

Bn

Content

SegmentsUnit of discovery

BlocksUnit of download

HashesReturned by server

Segment hashes, Block hashesup to ~2000x data reduction

Bn

Page 26: WSV324: Designing a BranchCache Infrastructure

Security

Page 27: WSV324: Designing a BranchCache Infrastructure

Security Overview

Server authenticates the client and performs authorization checks

Server transmits content information structure to the client only if the client has access. Transfer happens over the accelerated protocol.

Client uses content information structure to calculate:

-segment id (public)-encryption key (private) Client multicasts the

segment id to find a peer with the data

Client downloads encrypted blocks from a peer or the hosted cache and decrypts them with the encryption key,

Cached data is stored in the clear, but can be protected with BitLocker or EFS

Page 28: WSV324: Designing a BranchCache Infrastructure

Security Computations

B1

B2

BnBlocks

Block hashesHash(block)

Segment hash of dataHoD = Hash (Blockhashes)

Server secret keyKs

Segment Secret Kp = Hash(HoD, Ks)

Encryption keyKe = Kp

Segment IdHash(Kp, HoD + K)

Client

Server

Page 29: WSV324: Designing a BranchCache Infrastructure

Security of Data at Rest

Hosted CacheCache contains content requested by all branch clients Use BitLocker or EFS to encrypt cache as necessary

ClientsCache only contains content requested by the clientData in cache ACL’d so that it is only accessible if authorized by the serverIf data leakage is a concern, then use BitLocker or EFS

All data can be purged from the cache using netsh

Page 30: WSV324: Designing a BranchCache Infrastructure

How is SSL Optimized?

Sockets

SSL

HTTP

IE

Data encrypted

Data in clear

Data in clear

Client Server

IPsec

Sockets

SSL

HTTP

IIS

Data encrypted

Data in clear

Data in clear

IPsec

Data encryptedData encrypted

Data encrypted

Branch Cache Branch Cache

Page 31: WSV324: Designing a BranchCache Infrastructure

Common Deployment QuestionsCan Hosted Cache be clustered

NOWhere is the default location of hostedcache

Windows PartitionCan it be moved

Yes – netsh branchcache set localcacheCan I clear the cache

Yes – netsh branchcache flush Does Hosted Cache work with DFS-R

NOWhat is the default time the content sits in the cache

We prune the cache on a least recently used basis, meaning content gets pushed out by other content when the cache fills up.  We kill content after 28 days if it hasn’t been used.

Can I generate/delete hash filesYES for FILE SERVER Role – Use HASHGEN http://technet.microsoft.com/en-us/library/ff660040(WS.10).aspx

Page 32: WSV324: Designing a BranchCache Infrastructure

demo

BranchCache In Action

Page 33: WSV324: Designing a BranchCache Infrastructure

BranchCache Resources

Content Identification (PCCRC)Discovery (PCCRD)Retrieval (PCCRR)Hosted Cache Offer (PCHC)HTTP extensions for BranchCache (PCCRTP)SMB extensions for BranchCache (SMB2.1)

Protocols

BranchCache Executive Overview BranchCache Technical Overview BranchCache Security GuideBranchCache Deployment Guide

Collateral

Protocol parsers

Netmon Parsers

Case studies (partial)Sporton InternationalConvergent Computing

[email protected]

Websitehttp://www.branchcache.com

Page 34: WSV324: Designing a BranchCache Infrastructure

Track Resources

Don’t forget to visit the Cloud Power area within the TLC (Blue Section) to see product demos and speak with experts about the Server & Cloud Platform solutions that help drive your business forward.You can also find the latest information about our products at the following links:

Windows Azure - http://www.microsoft.com/windowsazure/

Microsoft System Center - http://www.microsoft.com/systemcenter/

Microsoft Forefront - http://www.microsoft.com/forefront/

Windows Server - http://www.microsoft.com/windowsserver/

Cloud Power - http://www.microsoft.com/cloud/

Private Cloud - http://www.microsoft.com/privatecloud/

Page 35: WSV324: Designing a BranchCache Infrastructure

Resources

www.microsoft.com/teched

Sessions On-Demand & Community Microsoft Certification & Training Resources

Resources for IT Professionals Resources for Developers

www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

Learning

http://northamerica.msteched.com

Connect. Share. Discuss.

Page 36: WSV324: Designing a BranchCache Infrastructure

Complete an evaluation on CommNet and enter to win!

Page 37: WSV324: Designing a BranchCache Infrastructure

Scan the Tag to evaluate this session now on myTech•Ed Mobile

Page 38: WSV324: Designing a BranchCache Infrastructure

© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to

be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS

PRESENTATION.

Page 39: WSV324: Designing a BranchCache Infrastructure