Module 09 - Implementing Networking For Branch Offices
Module 09 - Implementing Networking For Branch Offices
1. Switch to LON-SVR1, click Start, and then click Server Manager. The password to log in to all
VMs in this lab is Pa55w.rd.
2. In Server Manager, click Manage, and then click Add Roles and Features.
6. On the Select server roles page, expand File and Storage Services (installed), expand File and
iSCSI Services, and then select the DFS Namespaces check box.
7. In the Add Roles and Features pop-up window, click Add Features.
8. Select the DFS Replication check box, and then click Next.
1. Switch to LON-SVR.
5. In the New Namespace Wizard, on the Namespace Server page, under Server, type LON-SVR1,
and then click Next.
6. On the Namespace Name and Settings page, under Name, type BranchDocs, and then
click Next.
7. On the Namespace Type page, ensure that Domain-based namespace is selected. Take note
that the namespace will be accessed by \\Adatum.com\BranchDocs.
8. Ensure that the Enable Windows Server 2008 mode check box is selected, and then click Next.
2. In the New Folder dialog box, under Name, type DataFiles, and then click Add.
3. In the Add Folder Target dialog box, type \\LON-SVR1\DataFiles, and then click OK.
5. In the Create Share dialog box, in the Local path of shared folder box,
type C:\BranchDocs\DataFiles.
6. Click All users have read and write permissions, and then click OK. The permissions are
configured later.
7. In the Warning dialog box, click Yes.
2. In the details pane, notice that there is currently only one folder target.
4. In the New Folder Target dialog box, under Path to folder target, type \\TOR- SVR1\DataFiles,
and then click OK.
5. To create the shared folder on TOR-SVR1, in the Warning dialog box, click Yes.
6. In the Create Share dialog box, under Local path of shared folder,
type C:\BranchDocs\DataFiles.
7. In the Create Share dialog box, under Shared folder permissions, select All users have read
and write permissions, and then click OK.
8. To create the folder on TOR-SVR1, in the Warning dialog box, click Yes.
9. In the Replication dialog box, click Yes. The Replicate Folder Wizard starts.
1. In DFS Management, in the Replicate Folder Wizard, on the Replication Group and
Replicated Folder Name page, accept the default settings, and then click Next.
3. On the Primary Member page, select LON-SVR1, and then click Next.
4. On the Topology Selection page, select No topology, and then click Next.
6. On the Review Settings and Create Replication Group page, click Create.
11. In the New Topology Wizard, on the Topology Selection page, click Full mesh, and then
click Next.
12. On the Replication Group Schedule and Bandwidth page, click Next.
13. On the Review Settings and Create Topology page, click Create.
14. On the Confirmation page, click Close, and in the Replication Delay dialog box, click OK.
15. In the details pane, on the Memberships tab, verify that the replicated folder appears on both
TOR-SVR1 and LON-SVR.
Results : Upon completion of this exercise, you will have implemented DFS.
2. In File Explorer, in the address bar, type \\Adatum.com\BranchDocs\DataFiles, and then press
Enter.
3. In File Explorer, right-click the empty space in the details pane, click New, and then click Text
Document.
5. In File Explorer, in the address bar, type C:\BranchDocs\Datafiles, and then press Enter. Confirm
that the Repltest.txt file is located in the folder.
6. Switch to TOR-SVR.
7. In File Explorer, in the address bar, type C:\BranchDocs\Datafiles, and then press Enter. Confirm
that the Repltest.txt file is located in the folder.
Note: If Repltest.txt does not appear within one minute or even after refreshing the view,
restart TOR-SVR.
Results : Upon completion of this exercise, you will have validated the deployment of DFS in
branch offices.
3. In the Add Roles and Features Wizard, on the Before you begin page, click Next.
4. On the Select installation type page, click Next.
5. On the Select destination server page, ensure that Select server from the server pool is
selected, and then click Next.
6. On the Select server roles page, expand File and Storage Services (installed), expand File and
iSCSI Services, and then select the BranchCache for Network Files check box.
7. In the Add Roles and Features pop-up window, click Add Features, and then click Next.
11. On the taskbar, click the Search Windows icon, in the Search box, type gpedit.msc, and then
press Enter.
12. In the Local Group Policy Editor console, in the navigation pane, under Computer
Configuration, expand Administrative Templates, expand Network, and then click Lanman
Server.
13. In the Lanman Server result pane, in the Setting list, right-click Hash Publication for
BranchCache, and then click Edit.
14. In the Hash Publication for BranchCache dialog box, click Enabled. In the Hash publication
actions list, select the Allow hash publication only for shared folders on which BranchCache
is enabled check box, and then click OK.
3. In the Local Disk (C:) window, on the menu, click the Home tab, and then click New Folder.
6. In the Share Properties dialog box, on the Sharing tab, click Advanced Sharing.
7. In the Advanced Sharing dialog box, select the Share this folder check box, and then click
Caching.
8. In the Offline Settings dialog box, select the Enable BranchCache check box, and then click OK.
11. On the taskbar, click Search Windows icon, in the Search box type cmd, and then press Enter.
12. At the command prompt, type the following command, and then press Enter:
1. Switch to LON-DC.
2. In Server Manager, on the menu bar, click Tools, and then in the Tools drop- down list,
click Group Policy Management.
4. In the Group Policy Management Editor, in the navigation pane, under Computer
Configuration, expand Policies, expand Windows Settings, expand Security Settings, and then
expand Windows Firewall with Advanced Security.
5. In the Windows Firewall with Advanced Security window, in the navigation pane,
expand Windows Firewall with Advanced Security, and then click Inbound Rules.
6. In the Group Policy Management Editor, on the Action menu, click New Rule.
7. In the New Inbound Rule Wizard, on the Rule Type page, click Predefined, click BranchCache
– Content Retrieval (Uses HTTP), and then click Next.
9. To create the firewall inbound rule, on the Action page, click Finish.
10. In the Group Policy Management Editor, in the navigation pane, click Inbound Rules, and then
on the Action menu, click New Rule.
11. On the Rule Type page, click Predefined, click BranchCache – Peer Discovery (Uses WSD), and
then click Next.
14. Close the Group Policy Management Editor and Group Policy Management console.
2. In the Add Roles and Features Wizard, on the Before you begin page, click Next.
4. On the Select destination server page, ensure that Select server from the server pool is
selected, and then click Next.
5. On the Select server roles page, expand File and Storage Services (installed), expand File and
iSCSI Services, and then select the BranchCache for Network Files check box.
9. Click Close.
1. On LON-SVR1, click Start, and then click the Windows PowerShell icon.
2. In the Windows PowerShell window, type the following cmdlet, and then press Enter:
Enable-BCHostedServer –RegisterSCP
3. In the Windows PowerShell window, type the following cmdlet, and then press Enter:
Get-BCStatus
1. Switch to LON-DC.
2. In Server Manager, click Tools, and then click Active Directory Users and Computers.
3. In the Active Directory Users and Computers window, double-click the Computers container.
9. In Server Manager, on the menu bar, click Tools, and then in the Tools drop- down list,
click Group Policy Management.
10. In the Group Policy Management console, in the navigation pane, expand Forest: Adatum.com,
expand Domains, expand Adatum.com, right-click IT, and then click Create a GPO in this
domain and link it here.
11. In the New GPO window, type BCClient, and then click OK.
12. In the Group Policy Management console, in the navigation pane, expand Forest: Adatum.com,
expand Domains, expand Adatum.com, expand IT, right-click BCClient, and then click Edit.
13. In the Group Policy Management Editor, in the navigation pane, under Computer
Configuration, expand Policies, expand Administrative Templates, expand Network, and then
click BranchCache.
14. In the BranchCache results pane, in the Setting list, right-click Turn on BranchCache, and then
click Edit.
15. In the Turn on BranchCache dialog box, click Enabled, and then click OK.
16. In the BranchCache results pane, in the Setting list, right-click Enable Automatic Hosted Cache
Discovery by Service Connection Point, and then click Edit.
17. In the Enable Automatic Hosted Cache Discovery by Service Connection Point dialog box,
click Enabled, and then click OK.
18. In the BranchCache results pane, in the Setting list, right-click Configure BranchCache for
network files, and then click Edit.
19. In the Configure BranchCache for network files dialog box, click Enabled ; in the Type the
maximum round trip network latency (milliseconds) after which caching begins box, type 0,
and then click OK.
Note: This setting is used to simulate access from a branch office and is not typically
required.
20. Close the Group Policy Management Editor.
23. On the taskbar, in the Ask me anything box, type cmd, and then press Enter.
24. In a Command Prompt window, type the following command, and then press Enter:
gpupdate /force
25. At the command prompt, type the following command, and then press Enter:
26. Verify that BranchCache is enabled with the status of Running, and that the options from Group
Policy are applied. If the status is Stopped, repeat steps 24 and 25.
gpupdate /force
30. In a Command Prompt window, type the following command, and then press Enter:
31. Verify that BranchCache is enabled with status Running and that the options from Group Policy
are applied. If the status is Stopped, repeat steps 29 and 30.
Results : Upon completion of this exercise, you will have implemented BranchCache.
2. In the navigation pane of the Local Group Policy Editor console, under Computer
Configuration, expand Windows Settings, right-click Policy- based QoS, and then click Create
new policy.
3. On the Create a QoS policy page of the Policy-based QoS Wizard, in the Policy name box,
type Limit to 100 KBps, click the Specify Outbound Throttle Rate check box, type 100, and
then click Next.
6. On the Specify the protocol and port numbers page, click Finish.
1. Switch to LON-CL.
2. In the Ask me anything box, type perfmon, and then press Enter.
3. In the navigation pane of the Performance Monitor console, under Monitoring Tools,
click Performance Monitor.
4. In the Performance Monitor result pane, click the Delete (Delete Key) icon.
5. In the Performance Monitor result pane, click the Add (Ctrl+N) icon.
6. In the Add Counters dialog box, under Select counters from computer, click BranchCache,
click Add, and then click OK.
7. Click the arrow to the right of Change graph type, and then click Report.
Notice that the value of all performance statistics is zero.
9. Switch to LON-CL.
11. In File Explorer, in the address bar, type \\SYD-SVR1\Share, and then press Enter.
Note: This file copy will take some time because of the 100-Kbps bandwidth limit placed on
SYD-SVR.
14. In Performance Monitor, click any counter, and then press Ctrl+A.
15. Right-click any counter, and then click Scale selected. counters.
Note: Note that several counters are no longer at zero, which indicates that BranchCache is
active.
18. On LON-SVR1, click Start, and then click the Windows PowerShell icon.
19. In the Windows PowerShell window, type the following command, and then press Enter:
Get-BCStatus
Note: Note that under DataCache, the CurrentActiveCacheSize value is 6573184 bytes, which
is the size of mspaint.exe.
22. In File Explorer, in the address bar, type \\SYD-SVR1\Share, and then press Enter.
Note: Note that the file copy time is much faster than to LON-CL1, because the file is cached
on LON-SVR.
Results : Upon completion of this exercise, you will have validated the deployment of
network services in branch offices.