BranchCache 裝載快取模式部署概觀BranchCache Hosted Cache Mode Deployment Overview

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

您可以使用此指南部署 BranchCache 裝載快取的伺服器分公司位置的加入網域的電腦。You can use this guide to deploy a BranchCache hosted cache server in a branch office where computers are joined to a domain. 您可以使用本主題以取得總覽 BranchCache 裝載快取模式部署程序。You can use this topic to gain an overview of the BranchCache Hosted Cache Mode deployment process.

此概觀包含需要以及部署的簡單概觀逐步 BranchCache 基礎結構。This overview includes the BranchCache infrastructure that you need, as well as a simple step-by-step overview of deployment.

裝載快取伺服器部署基礎結構Hosted Cache Server deployment infrastructure

部署,裝載快取伺服器部署服務連接點使用 Active Directory Domain Services (AD DS),在 Windows Server 2012 R2、Windows Server 2016 中,您可以選擇使用 BranchCache 及 Windows Server 2012,以 prehash 網站與檔案共用的 content 根據內容伺服器,然後預先載入 content 裝載快取的伺服器上。In this deployment, the hosted cache server is deployed by using service connection points in Active Directory Domain Services (AD DS), and you have the option with BranchCache in Windows Server 2016, Windows Server 2012 R2, and Windows Server 2012, to prehash the shared content on Web and file based content servers, then preload the content on hosted cache servers.

下圖顯示部署 BranchCache 裝載快取伺服器所需的基礎結構。The following illustration shows the infrastructure that is required to deploy a BranchCache hosted cache server.

BranchCache 裝載快取模式概觀

重要

雖然這個部署描述內容伺服器雲端的資料中心] 中,您可以使用此指南部署無論或雲端位置中主要辦公室部署內容伺服器 – BranchCache 裝載快取伺服器。Although this deployment depicts content servers in a cloud data center, you can use this guide to deploy a BranchCache hosted cache server regardless of where you deploy your content servers – in your main office or in a cloud location.

在 [分公司 HCS1HCS1 in the branch office

您必須為裝載快取伺服器設定此電腦。You must configure this computer as a hosted cache server. 如果您選擇 prehash 內容 server 的資料,讓您可以 content 預先載入您裝載快取的伺服器上,您可以匯入的資料套件包含 content 從網路與檔案伺服器。If you choose to prehash content server data so that you can preload the content on your hosted cache servers, you can import data packages that contain the content from your Web and file servers.

WEB1 雲端的資料中心WEB1 in the cloud data center

WEB1 是 BranchCache\ 式內容伺服器。WEB1 is a BranchCache-enabled content server. 如果您選擇 prehash 內容 server 的資料,讓您可以 content 預先載入您裝載快取的伺服器上,您可以 prehash 共用的 content 上 WEB1,然後建立複製到 HCS1 資料套件。If you choose to prehash content server data so that you can preload the content on your hosted cache servers, you can prehash the shared content on WEB1, then create a data package that you copy to HCS1.

1 在雲端的資料中心FILE1 in the cloud data center

1 是 BranchCache\ 式內容伺服器。FILE1 is a BranchCache-enabled content server. 如果您選擇 prehash 內容 server 的資料,讓您可以 content 預先載入您裝載快取的伺服器上,您可以 prehash 共用的 content 在 1,然後建立複製到 HCS1 資料套件。If you choose to prehash content server data so that you can preload the content on your hosted cache servers, you can prehash the shared content on FILE1, then create a data package that you copy to HCS1.

DC1 中主要辦公室DC1 in the main office

DC1 為網域控制站,您必須設定預設網域原則或另一個更適合您的部署,BranchCache 群組原則設定可讓您自動裝載快取探索服務連接點所使用的原則。DC1 is a domain controller, and you must configure the Default Domain Policy, or another policy that is more appropriate for your deployment, with BranchCache Group Policy settings to enable Automatic Hosted Cache Discovery by Service Connection Point.

當 client 分支中的電腦已群組原則」重新整理,並且這項原則設定時,它們會自動找出並開始使用裝載快取伺服器分公司。When client computers in the branch have Group Policy refreshed and this policy setting is applied, they automatically locate and begin to use the hosted cache server in the branch office.

在 [分公司 client 電腦Client computers in the branch office

您必須在套用新 BranchCache 群組原則設定,並允許戶端找出並使用裝載快取伺服器 client 電腦上重新整理群組原則。You must refresh Group Policy on client computers to apply new BranchCache Group Policy settings and to allow clients to locate and use the hosted cache server.

裝載快取伺服器部署程序概觀Hosted Cache Server deployment process overview

注意

如何執行這些步驟的詳細資料一節中提供BranchCache 裝載快取模式部署The details of how to perform these steps are provided in the section BranchCache Hosted Cache Mode Deployment.

部署 BranchCache 裝載快取伺服器的程序就會發生在這些階段:The process of deploying a BranchCache Hosted Cache Server occurs in these stages:

注意

步驟部分是選用的例如示範如何 prehash 和預先載入裝載快取的伺服器上 content 這些步驟。Some of the steps below are optional, such as those steps that demonstrate how to prehash and preload content on hosted cache servers. 當您在裝載快取模式部署 BranchCache 時的才能 prehash content 網頁和檔案內容伺服器上,以建立資料套件,並以預先載入您裝載快取的伺服器的 content 匯入的資料套件。When you deploy BranchCache in hosted cache mode, you are not required to prehash content on your Web and file content servers, to create a data package, and to import the data package in order to preload your hosted cache servers with content. 在本區段中,並一節中的步驟會 experience 為選擇性BranchCache 裝載快取模式部署,如果您想要跳它們。The steps are noted as optional in this section and in the section BranchCache Hosted Cache Mode Deployment so that you can skip them if you prefer.

  1. 在 HCS1,使用 Windows PowerShell 命令,將電腦設定為裝載快取伺服器,並在 Active Directory 登記服務連接點。On HCS1, use Windows PowerShell commands to configure the computer as a hosted cache server and to register a Service Connection Point in Active Directory.

  2. 在 HCS1,如果您的部署目標的伺服器,並裝載快取,不符合 BranchCache 預設值 (Optional) 設定您想要為裝載快取配置的磁碟空間量。(Optional) On HCS1, if the BranchCache default values do not match your deployment goals for the server and the hosted cache, configure the amount of disk space that you want to allocate for the hosted cache. 也設定您想要裝載快取的磁碟位置。Also configure the disk location that you prefer for the hosted cache.

  3. (Optional) prehash content 內容伺服器,建立的資料的套件及預先載入 content 裝載快取伺服器上。(Optional) Prehash content on content servers, create data packages, and preload content on the hosted cache server.

    注意

    Prehashing 和預先載入您裝載快取的伺服器上 content 是選擇性的但是如果您選擇 prehash 和預先載入,您必須執行的所有的下列步驟都是適用於您的部署。Prehashing and preloading content on your hosted cache server is optional, however if you choose to prehash and preload, you must perform all of the steps below that are applicable to your deployment. \ (例如,如果您不 Web 伺服器,您不需要執行任何相關 prehashing 與 Web 伺服器 content 預先載入的步驟。)(For example, if you do not have Web servers, you do not need to perform any of the steps related to prehashing and preloading Web server content.)

    1. 在 WEB1,prehash 網頁伺服器,並建立的資料套件。On WEB1, prehash Web server content and create a data package.

    2. 在 1、prehash 檔案伺服器 content 和建立的資料套件。On FILE1, prehash file server content and create a data package.

    3. 從 WEB1,1 資料套件複製 HCS1 裝載快取伺服器。From WEB1 and FILE1, copy the data packages to the hosted cache server HCS1.

    4. 在 HCS1,匯入預先載入資料快取的資料套件。On HCS1, import the data packages to preload the data cache.

  4. 在 DC1 上設定加入網域分支 office client 電腦裝載快取模式透過群組原則設定使用 BranchCache 原則設定。On DC1, configure domain joined branch office client computers for hosted cache mode by configuring Group Policy with BranchCache policy settings.

  5. 在 client 的電腦上重新整理群組原則。On client computers, refresh Group Policy.

若要繼續使用此快速入門,請查看BranchCache 裝載快取模式部署規劃To continue with this guide, see BranchCache Hosted Cache Mode Deployment Planning.