• No results found

Task 2: Simulate a slow link to the branch office

In document 20412B-ENU-TrainerHandbook (Page 98-102)

1. In the Local Group Policy Editor console, navigate to Computer Configuration \Windows Settings\Policy-based QoS.

2. Create a new policy with the following settings: o Name: Limit to 100 Kbps

o Specify Outbound Throttle Rate: 100 o Accept default values on other wizard pages

Task 3: Enable a file share for BranchCache

1. In a Windows Explorer window, create a new folder named C:\Share. 2. Share this folder with the following properties:

o Share name: 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 then open the policy for editing.

3. Navigate to Computer Configuration\Policies\Windows Settings\Security Settings \Windows Firewall with Advanced Security\Windows Firewall with Advanced Security \Inbound Rules.

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

MCT USE ONL

Y. STUDENT USE PR

OHIBITED

Configuring Advanced Windows Server® 2012 Services 2-31

o Action: Allow

6. Close the Group Policy Management Editor and Group Policy Management console.

Results: At the end of this exercise, you will have deployed BranchCache, configured a slow link, and enabled BranchCache on a file share.

Exercise 2: Configuring the Branch Office Servers for BranchCache

Scenario

The next step you must perform is to configure a file server for the BranchCache feature. You will install the BranchCache feature, request a certificate, and then link it to BranchCache.

The main tasks for this exercise are as follows: 1. Install the BranchCache feature on LON-SVR1. 2. Start the BranchCache host server.

 Task 1: Install the BranchCache feature on LON-SVR1

On LON-SVR1, from Server Manager, add the BranchCache for Network Files role service and the BranchCache feature.

Task 2: Start the BranchCache host server

1. On LON-DC1, open Active Directory Users and Computers, and create a new OU called BranchCacheHost.

2. Move LON-SVR1 into the BranchCacheHost OU.

3. Open Group Policy Management, and block GPO inheritance on the BranchCacheHost OU. 4. Restart LON-SVR1 and sign in as Adatum\Administrator with the password Pa$$w0rd. 5. On LON-SVR1, open Windows PowerShell, and run the following cmdlet:

Enable-BCHostedServer –RegisterSCP

6. On LON-SVR1, in Windows PowerShell, run the following cmdlet:

Get-BCStatus

7. Ensure that Branch Cache is enabled and running.

Results: At the end of this exercise, you will have enabled the BranchCache server in the branch office.

Exercise 3: Configuring Client Computers for BranchCache

Scenario

After configuring the network components, you must ensure that the client computers are configured correctly. This is a preparatory task for using BranchCache.

The main task for this exercise is as follows:

MCT USE ONL

Y. STUDENT USE PR

OHIBITED

2-32 Implementing Advanced File Services

 Task 1: Configure client computers to use BranchCache in hosted cache mode

1. On LON-DC1, open Server Manager, and then open Group Policy Management. 2. Edit the Default Domain Policy.

3. In the Group Policy Management Editor, browse to Computer Configuration\Policies \Administrative Templates\Network\BranchCache, and configure the following: a. Turn on BranchCache: Enabled

b. Enable Automatic Hosted Cache Discovery by Service Connection Point: Enabled c. Configure BranchCache for network files: Enabled

d. Type the maximum round trip network latency (milliseconds) after which caching begins: 0 4. Start 20412B-LON-CL1, open a command prompt window, and refresh the Group Policy settings

using the command gpupdate /force.

5. At the command prompt, type netsh branchcache show status all, and then press Enter.

6. Verify that BranchCache is Enabled with status Running and that the options from Group Policy are applied. If the status is Stopped, repeat steps 4 and 5.

7. Start the 20412B-LON-CL2, open the command prompt window, and refresh the Group Policy settings using the command gpupdate /force.

8. At the command prompt, type netsh branchcache show status all, and then press Enter.

9. Verify that BranchCache is Enabled with status Running and that the options from Group Policy are applied. If the status is Stopped, repeat steps 7 and 8.

Results: At the end of 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. Configure performance statistics on LON-CL1. 3. Configure performance statistics on LON-CL2. 4. Test BranchCache in the hosted cache mode.

 Task 1: Configure Performance Monitor on LON-SVR1

1. On LON-SVR1, open Performance Monitor.

2. In the Performance Monitor console, in the navigation pane, under Monitoring Tools, click Performance Monitor.

3. Remove existing counters, change to report view, and then add the BranchCache object counters to the report.

MCT USE ONL

Y. STUDENT USE PR

OHIBITED

Configuring Advanced Windows Server® 2012 Services 2-33

Task 2: Configure 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.

3. In Performance Monitor, remove existing counters, change to a report view, and then add the BranchCache object to the report.

Task 3: Configure performance statistics on LON-CL2

1. Switch to LON-CL2, and open Performance Monitor.

2. In the Performance Monitor console, in the navigation pane, under Monitoring Tools, click Performance Monitor.

3. In the 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 mspaint.exe 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 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 mspaint.exe to the local desktop. This should not take as 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).

Results: At the end of this exercise, you will have verified that BranchCache is working as expected.

To prepare for the next module

When you finish the lab, revert the virtual machines to their initial state. To do this, complete the following steps.

1. On the host computer, start Hyper-V Manager.

2. In the Virtual Machines list, right-click 20412B-LON-DC1, and then click Revert. 3. In the Revert Virtual Machine dialog box, click Revert.

MCT USE ONL

Y. STUDENT USE PR

OHIBITED

2-34 Implementing Advanced File Services

Module Review and Takeaways

Best Practice:

• When considering an iSCSI storage solution for your organization, spend most of the time on the design process. The design process is crucial because it allows you to optimize the solution for all technologies that will be using iSCSI storage, such as file services, Exchange Server, and SQL Server. The design should also accommodate future growth of your organizations’ business data. Successful design processes guarantee a successful deployment of the solution that will meet your organization’s business requirements.

• When planning for BranchCache deployment, ensure that you work closely with your network administrators so that you can optimize network traffic across the WAN.

• When planning for file classifications, ensure that you start with your organization’s business

requirements. Identify the classifications that you will apply to documents, and then define a method that you will use to identify documents for classification. Before you deploy the file classification infrastructure, create a test environment and test the scenarios to ensure that your solution will result in a successful deployment, and that your organizations’ business requirements will be met.

In document 20412B-ENU-TrainerHandbook (Page 98-102)

Related documents