1. Navigate to Computer Configuration\Windows Settings\Policy-based QoS. 2. Create a new policy with the following settings:
o Name: Limit to 100Kbps
o Specify Outbound Throttle Rate: 100
Note: This task is required to simulate a slow network connection in a test environment where all the computers are connected by a fast network connection.
Task 3: Enable a file share for BranchCache
1. In File Explorer, create a new folder on the C: drive named Share. 2. Share this folder with the following properties:
o Sharename: Share o Permissions: default
o Caching: Enable BranchCache
3. Copy C:\Windows\System32\mspaint.exe to the C:\Share folder.
Task 4: Configure client firewall rules for BranchCache
1. On LON-DC1, open Group Policy Management.2. Navigate to Forest: Adatum.com\Domains\Adatum.com\Default Domain Policy, and open the policy for editing.
3. Navigate to Computer Configuration\Policies\Windows Settings\Security Settings\Windows
MCT USE ONL
Y. STUDENT USE PROHIBITED
3-40 Managing Storage in Windows Server 2012
4. Create a new inbound firewall rule with the following properties: o Rule type: predefined
o Use BranchCache – Content Retrieval (Uses HTTP) o Action: Allow
5. Create a new inbound firewall rule with the following properties: o Rule type: predefined
o Use BranchCache – Peer Discovery (Uses WSD) o Action: Allow
Results: After completing this exercise, you will have deployed BranchCache, configured a slow link, and
enabled BranchCache on a file share.
Exercise 2: Configuring BranchCache on the Branch Server
Scenario
The next step you must perform is to configure a file server for the BranchCache feature. You will install the BranchCache feature and configure it as BranchCache Host Server.
The main tasks for this exercise are as follows: 1. Install the BranchCache feature on LON-SVR1 2. Enable the BranchCache host server
Task 1: Install the BranchCache feature on LON-SVR1
1. Start 20417D-LON-SVR1. After the computer starts, sign in as Adatum\Administrator with the password Pa$$w0rd.
2. Open Server Manager and add the BranchCache for Network Files role service. 3. Add the BranchCache feature.
Task 2: Enable the BranchCache host server
1. On LON-DC1, open Active Directory Users and Computers. Create a new organizational unit (OU) called BranchCacheHost, and move LON-SVR1 into this OU.
2. Open Group Policy Management, and block GPO inheritance on the BranchCacheHost OU.
3. Switch to LON-SVR1, and restart the computer. Sign in as Adatum\Administrator with the password
Pa$$w0rd.
4. Open Windows PowerShell by clicking the icon on the taskbar, and run the following cmdlets: Enable-BCHostedServer –RegisterSCP
Get-BCStatus
MCT USE ONL
Y. STUDENT USE PROHIBITED
Upgrading Your Skills to MCSA Windows Server® 2012 3-41
Exercise 3: Configuring BranchCache Client Computers
Scenario
After you have configured the network components, you must ensure that the client computers are configured correctly. This is a preparatory task to enable use of BranchCache.
The main tasks for this exercise are as follows:
1. Configure client computers to use BranchCache in the Hosted Cache mode
Task 1: Configure client computers to use BranchCache in the Hosted Cache mode
1. On LON-DC1, in Group Policy Management Editor, edit the Default Domain Policy, and configure thefollowing at Computer Configuration\Policies\Administrative
Templates\Network\BranchCache:
o Turn on BranchCache: Enable
o Enable Automatic Hosted Cache Discovery by Service Connection Point: Enable o Configure BranchCache for network files: Enable
o Type the maximum round- trip network latency value (milliseconds) after which caching begins: 0 2. Start 20417D-LON-CL1, open a Command Prompt window, and refresh the Group Policy settings
(gpupdate /force).
3. At the command prompt, type netsh branchcache show status all, and then press Enter. 4. Start 20417D-LON-CL2, open the Command Prompt window, and then refresh the Group Policy
settings (gpupdate /force).
5. At the command prompt, type netsh branchcache show status all, and then press Enter.
Results: After completing this exercise, you will have configured the client computers for BranchCache.
Exercise 4: Monitoring BranchCache
Scenario
Finally, you must test and verify that the BranchCache feature is working as expected. The main tasks for this exercise are as follows:
1. Configure Performance Monitor on LON-SVR1 2. View performance statistics on LON-CL1 3. View performance statistics on LON-CL2 4. Test BranchCache in the Hosted Cache mode 5. To prepare for the next module
Task 1: Configure Performance Monitor on LON-SVR1
1. Open Performance Monitor.2. In the navigation pane of the Performance Monitor console, under Monitoring Tools, click
Performance Monitor. Remove existing counters, change to a report view, and then add the BranchCache object to the report.
MCT USE ONL
Y. STUDENT USE PROHIBITED
3-42 Managing Storage in Windows Server 2012
Task 2: View performance statistics on LON-CL1
1. Switch to LON-CL1 and open Performance Monitor.2. In the navigation pane of the Performance Monitor console, under Monitoring Tools, click
Performance Monitor. Remove existing counters, change to a report view, and then add the
BranchCache object to the report.
Task 3: View performance statistics on LON-CL2
1. Switch to LON-CL2 and open Performance Monitor.2. In the navigation pane of the Performance Monitor console, under Monitoring Tools, click
Performance Monitor. Remove existing counters, change to a report view, and then add the BranchCache object to the report.
Task 4: Test BranchCache in the Hosted Cache mode
1. Switch to LON-CL1.2. Open \\LON-DC1.adatum.com\share and copy the executable file to the local desktop. This could take several minutes because of the simulated slow link.
3. Read the performance statistics on LON-CL1. This file was retrieved from the LON-DC1 (Retrieval: Bytes from Server). After the file was cached locally, it was passed up to the hosted cache. (Retrieval: Bytes Served)
4. Switch to LON-CL2.
5. Open \\LON-DC1.adatum.com\share, and copy the executable file to the local desktop. This should not take long because the file is cached.
6. Read the performance statistics on LON-CL2. This file was obtained from the hosted cache (Retrieval: Bytes from Cache).
7. Read the performance statistics on LON-SVR1. This server has offered cached data to clients (Hosted Cache: Client file segment offers made).