BranchCache 部署指南BranchCache Deployment Guide

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

您可以使用此快速入門,以了解如何部署 Windows Server 2016 中的 BranchCache。You can use this guide to learn how to deploy BranchCache in Windows Server 2016.

本主題中,除了本指南包含下列各節。In addition to this topic, this guide contains the following sections.

BranchCache 部署概觀BranchCache Deployment Overview

BranchCache 是隨附於某些版本的 Windows Server 2016、 Windows Server 寬區域 (wan) 頻寬最佳化技術®2012 R2、 Windows Server® 2012、 Windows Server® 2008 R2 和相關的 Windows client 作業系統。BranchCache is a wide area network (WAN) bandwidth optimization technology that is included in some editions of Windows Server 2016, Windows Server® 2012 R2, Windows Server® 2012, Windows Server® 2008 R2, and related Windows client operating systems.

若要最佳化 WAN 的頻寬,BranchCache 複製 content 從您的主要辦公室內容伺服器,並快取 content 分公司的位置,以允許 client 分公司本機而不是透過 WAN 存取 content 在的電腦。To optimize WAN bandwidth, BranchCache copies content from your main office content servers and caches the content at branch office locations, allowing client computers at branch offices to access the content locally rather than over the WAN.

在分公司 content 快取上執行 Windows Server 2016 的 BranchCache 功能伺服器、 Windows Server 2012 R2、 Windows Server 2012 或 Windows Server 2008 R2-,或分公司中有不伺服器提供,如果快取 client 的電腦執行 Windows 10 上的 content®,Windows® 8.1、 Windows 8 或 Windows 7® 。At branch offices, content is cached either on servers that are running the BranchCache feature of Windows Server 2016, Windows Server 2012 R2 , Windows Server 2012 , or Windows Server 2008 R2 - or, if there are no servers available in the branch office, content is cached on client computers that are running Windows 10®, Windows® 8.1, Windows 8, or Windows 7® .

Client 電腦要求 content 接收主要辦公室或雲端 datacenter 及 content 分公司快取之後,相同分公司其他電腦就可以取得本機物件,而非連絡內容伺服器 WAN 連結。After a client computer requests and receives content from the main office or cloud datacenter and the content is cached at the branch office, other computers at the same branch office can obtain the content locally rather than contacting the content server over the WAN link.

部署 BranchCache 的優點Benefits of deploying BranchCache

BranchCache 快取的檔案、 網頁和應用程式 content 分公司的位置,以允許 client 存取資料的使用的區域網路 (區域網路) 而不是存取 content 保守型 WAN 連接到電腦。BranchCache caches file, web, and application content at branch office locations, allowing client computers to access data using the local area network (LAN) rather than accessing the content over slow WAN connections.

BranchCache 降低 WAN 流量和分公司使用者打開網路上的檔案所需的時間。BranchCache reduces both WAN traffic and the time that is required for branch office users to open files on the network. BranchCache 一律可讓使用者最新的資料,並保護您的安全性,以加密裝載快取伺服器上及 client 電腦上的快取。BranchCache always provides users with the most recent data, and it protects the security of your content by encrypting the caches on the hosted cache server and on client computers.

本指南所提供的項目What this guide provides

部署本文可讓您下列模式在組織中部署 BranchCache︰This deployment guide allows you to deploy BranchCache in the following modes:

  • 快取分散式的模式。Distributed cache mode. 在此模式下,從中主要辦公室或雲端,內容伺服器下載 content 分支 office client 電腦,然後快取的其他電腦,在同一個分公司 content。In this mode, branch office client computers download content from the content servers in the main office or cloud, and then cache the content for other computers in the same branch office. 快取分散式的模式不需要在分公司伺服器電腦。Distributed cache mode does not require a server computer in the branch office.

  • 裝載快取模式。Hosted cache mode. 在此模式下,分支 office client 電腦下載內容伺服器中主要辦公室或雲端,和裝載快取伺服器,請從擷取 content。In this mode, branch office client computers download content from the content servers in the main office or cloud, and a hosted cache server retrieves the content from the clients. 然後,裝載快取伺服器快取 content 其他 client 電腦。The hosted cache server then caches the content for other client computers.

本指南也會提供如何部署三種類型的內容伺服器上的指示。This guide also provides instructions on how to deploy three types of content servers. 內容伺服器包含分支 office client 電腦的下載來源 content 而一或多個內容伺服器部署 BranchCache 模式。Content servers contain the source content that is downloaded by branch office client computers, and one or more content server is required to deploy BranchCache in either mode. 內容伺服器類型︰The content server types are:

  • 網頁伺服器端內容伺服器]Web server-based content servers. 這些內容的伺服器來傳送 content BranchCache client 電腦使用的 HTTP 和 HTTPS 通訊協定。These content servers send content to BranchCache client computers using the HTTP and HTTPS protocols. 這些內容伺服器必須執行 Windows Server 2016、 Windows Server 2012 R2、 Windows Server 2012 或 Windows Server 2008 R2 的支援 BranchCache 版本和時已安裝的 BranchCache 功能。These content servers must be running Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2 versions that support BranchCache and upon which the BranchCache feature is installed.

  • 位元為基礎的應用程式伺服器]BITS-based application servers. 這些內容的伺服器來傳送 content BranchCache client 電腦使用背景聰明傳輸服務 (位元)。These content servers send content to BranchCache client computers using the Background Intelligent Transfer Service (BITS). 這些內容伺服器必須執行 Windows Server 2016、 Windows Server 2012 R2、 Windows Server 2012 或 Windows Server 2008 R2 的支援 BranchCache 版本和時已安裝的 BranchCache 功能。These content servers must be running Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2 versions that support BranchCache and upon which the BranchCache feature is installed.

  • 檔案伺服器端內容伺服器]File server-based content servers. 這些內容伺服器必須執行 Windows Server 2016、 Windows Server 2012 R2、 Windows Server 2012 或 Windows Server 2008 R2 的支援 BranchCache 版本並安裝時,檔案服務伺服器角色。These content servers must be running Windows Server 2016, Windows Server 2012 R2 , Windows Server 2012 , or Windows Server 2008 R2 versions that support BranchCache and upon which the File Services server role is installed. 此外, BranchCache 網路檔案的必須安裝和設定檔服務伺服器角色服務。In addition, the BranchCache for network files role service of the File Services server role must be installed and configured. 這些內容的伺服器來傳送 content BranchCache client 電腦使用伺服器訊息區 (SMB) 通訊協定。These content servers send content to BranchCache client computers using the Server Message Block (SMB) protocol.

如需詳細資訊,請查看適用於 BranchCache 作業系統版本For more information, see Operating system versions for BranchCache.

BranchCache 部署需求BranchCache deployment requirements

以下是使用本指南部署 BranchCache 的需求。Following are the requirements for deploying BranchCache by using this guide.

  • 檔案和 Web 內容伺服器]必須執行其中一個提供 BranchCache 功能下列作業系統: Windows Server 2016、 Windows Server 2012 R2、 Windows Server 2012 或 Windows Server 2008 R2。File and Web content servers must be running one of the following operating systems to provide BranchCache functionality: Windows Server 2016, Windows Server 2012 R2 , Windows Server 2012 , or Windows Server 2008 R2 . Windows 8 和稍後戶端繼續查看受惠於 BranchCache 不過,他們就能無法存取內容伺服器正在執行 Windows Server 2008 R2 的新區塊 hashing 技術 Windows Server 2016、 Windows Server 2012 R2、 Windows Server 2012 中的使用。Windows 8 and later clients continue to see benefits from BranchCache when accessing content servers that are running Windows Server 2008 R2 , however they are unable to make use of the new chunking and hashing technologies in Windows Server 2016, Windows Server 2012 R2, and Windows Server 2012.

  • Client 電腦必須執行 Windows 10、 Windows 8.1 或 Windows 8 使用最新的部署模型區塊和 hashing 引進了 Windows Server 2012 的改進。Client computers must be running Windows 10, Windows 8.1, or Windows 8 to make use of the most recent deployment model and the chunking and hashing improvements that were introduced with Windows Server 2012 .

  • 裝載快取伺服器]必須執行 Windows Server 2016、 Windows Server 2012 R2 或 Windows Server 2012 使用 deployment 改良功能和縮放本文件中所述的功能。Hosted cache servers must be running Windows Server 2016, Windows Server 2012 R2, or Windows Server 2012 to make use of the deployment improvements and scale features described in this document. 電腦執行其中一種作業系統的設定視做 client 電腦正在執行 Windows 7 中,但若要這樣做,可以繼續裝載快取伺服器、 必須配備適用於傳輸層安全性 (TLS)、 Windows 7 與 Windows Server 2008 R2 中所述的憑證BranchCache 部署指南A computer that is running one of these operating systems that is configured as a hosted cache server can continue to serve client computers that are running Windows 7 , but to do so, it must be equipped with a certificate that is suitable for Transport Layer Security (TLS), as described in the Windows Server 2008 R2 and Windows 7 BranchCache Deployment Guide.

  • Active Directory domain才能利用的群組原則和自動尋找裝載快取,但不是一定要使用 BranchCache 網域。An Active Directory domain is required to take advantage of Group Policy and hosted cache automatic discovery, but a domain is not required to use BranchCache. 您可以使用 Windows PowerShell 來設定個人電腦。You can configure individual computers by using Windows PowerShell. 此外,不需要您的網域控制站執行 Windows Server 2012 或更新版本,才能使用新的 BranchCache 群組原則設定。您可以匯入 BranchCache 系統管理範本加入網域控制站執行更早版本作業系統,或您可以製作群組原則物件遠端在其他電腦正在執行 Windows 10、 Windows Server 2016、 Windows 8.1、 Windows Server 2012 R2、 Windows 8 或 Windows Server 2012 上。In addition, it is not required that your domain controllers are running Windows Server 2012 or later to utilize new BranchCache Group Policy settings; you can import the BranchCache administrative templates onto domain controllers that are running earlier operating systems, or you can author the group policy objects remotely on other computers that are running Windows 10, Windows Server 2016, Windows 8.1, Windows Server 2012 R2, Windows 8, or Windows Server 2012.

  • Active Directory 網站用於限制裝載快取伺服器上的自動發現的範圍。Active Directory sites are used to limit the scope of hosted cache servers that are automatically discovered. 自動尋找裝載快取伺服器的 client 和伺服器的電腦必須是相同的網站。To automatically discover a hosted cache server, both the client and server computers must belong to the same site. BranchCache 的設計目的是戶端伺服器上影響降到最低,並不會對以外執行各自作業系統需要額外的硬體需求。BranchCache is designed to have a minimal impact on clients and servers and does not impose additional hardware requirements beyond those needed to run their respective operating systems.

歷史 BranchCache 和文件BranchCache history and documentation

第一次 BranchCache 導入了在 Windows 7®和 Windows Server® 2008 R2 和已改進在 Windows Server 2012、 Windows 8 和較新的作業系統。BranchCache was first introduced in Windows 7® and Windows Server® 2008 R2, and was improved in Windows Server 2012, Windows 8, and later operating systems.

注意

如果您要部署 BranchCache 作業系統中 Windows Server 2016 以外,下列文件資源可用的。If you are deploying BranchCache in operating systems other than Windows Server 2016, the following documentation resources are available.