0% found this document useful (0 votes)
10 views

Module 09 - Implementing Networking For Branch Offices

The document provides instructions for implementing Distributed File System (DFS) and BranchCache across multiple servers. It describes tasks such as installing DFS on servers, creating a DFS namespace, adding folder targets, configuring replication, and validating functionality. It also covers enabling BranchCache on a server, preparing a file share for caching, and configuring client firewall rules for BranchCache. The goal is to set up a DFS infrastructure for sharing files between branch offices and enable caching of files using BranchCache.

Uploaded by

Cong Tuan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Module 09 - Implementing Networking For Branch Offices

The document provides instructions for implementing Distributed File System (DFS) and BranchCache across multiple servers. It describes tasks such as installing DFS on servers, creating a DFS namespace, adding folder targets, configuring replication, and validating functionality. It also covers enabling BranchCache on a server, preparing a file share for caching, and configuring client firewall rules for BranchCache. The goal is to set up a DFS infrastructure for sharing files between branch offices and enable caching of files using BranchCache.

Uploaded by

Cong Tuan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

1.

Lab A: Implementing DFS for branch offices


Exercise 1: Implementing DFS

Task 1, Install the DFS role on LON-SVR1 and TOR-SVR

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.

3. In the Add Roles and Features Wizard, click Next.

4. On the Select installation type page, click Next.

5. On the Select destination server page, click Next.

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.

9. On the Select features page, click Next.


10. On the Confirm installation selections page, click Install.

11. When the installation completes, click Close.

12. Repeat steps 1 through 11 on TOR-SVR.

2. Lab A: Implementing DFS for branch offices


Task 2: Create the BranchDocs DFS namespace

1. Switch to LON-SVR.

2. In Server Manager, click Tools, and then click DFS Management.

3. In the navigation pane, click Namespaces.

4. Right-click Namespaces, and then click New Namespace.

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.

9. On the Review Settings and Create Namespace page, click Create.

10. In the New Namespace Wizard window, click Close.

3. Lab A: Implementing DFS for branch offices


Task 3: Add the DataFiles folder to the BranchDocs namespace

1. On LON-SVR1, in DFS Management, right-click Adatum.com\BranchDocs, and then click New


Folder.

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.

4. In the Warning dialog box, click Yes.

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.

8. To close the New Folder dialog box, click OK.

4. Lab A: Implementing DFS for branch offices


Task 4: Create a folder target for DataFiles on TOR-SVR

1. On LON-SVR1, in DFS Management, expand Namespaces, Adatum.com\BranchDocs, and


then click DataFiles.

2. In the details pane, notice that there is currently only one folder target.

3. Right-click DataFiles, and then click Add 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.

5. Lab A: Implementing DFS for branch offices


Task 5: Configure replication for the namespace

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.

2. On the Replication Eligibility page, 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.

5. In the Warning dialog box, click OK.

6. On the Review Settings and Create Replication Group page, click Create.

7. On the Confirmation page, click Close.

8. In the Replication Delay dialog box, click OK.


9. In the DFS Management console, expand Replication, and then
click Adatum.com\BranchDocs\DataFiles.

10. In the Action pane, click New Topology.

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.

6. Exercise 2: Validating the deployment


Task 1: Verify DFSR functionality for TOR-SVR

1. On LON-SVR1, on the taskbar, click the File Explorer icon.

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.

4. Type Repltest, and then press Enter.

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.

7. Lab B: Implementing BranchCache


Exercise 1: Implementing BranchCache

Task 1, Configure SYD-SVR1 to use BranchCache

1. Switch to SYD-SVR1, click Start, and then click Server Manager.

2. In Server Manager, click Add roles and features.

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.

8. On the Select features page, click Next.

9. On the Confirm installation selections page, click Install.

10. Click Close.

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.

15. Close the Local Group Policy Editor.

8. Lab B: Implementing BranchCache


Task 2: Prepare a file share for BranchCache

1. On SYD-SVR1, on the taskbar, click the File Explorer icon.

2. In the File Explorer window, navigate to Local Disk (C:).

3. In the Local Disk (C:) window, on the menu, click the Home tab, and then click New Folder.

4. Type Share, and then press Enter.

5. Right-click Share, and then click Properties.

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.

9. In the Advanced Sharing dialog box, click OK.

10. In the Share Properties dialog box, click Close.

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:

Copy C:\windows\system32\mspaint.exe c:\share

13. Close the command prompt.

14. Close File Explorer.

9. Lab B: Implementing BranchCache


Task 3: Configure client firewall rules for BranchCache

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.

3. In Group Policy Management, expand Forest: Adatum.com, expand Domains,


expand Adatum.com, right-click Default Domain Policy, and then click Edit.

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.

8. On the Predefined Rules page, 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.

12. On the Predefined Rules page, click Next.

13. On the Action page, click Finish.

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

10. Lab B: Implementing BranchCache


Task 4: Install the BranchCache feature on LON-SVR

1. On LON-SVR1, in Server Manager, click Add roles and features.

2. In the Add Roles and Features Wizard, on the Before you begin page, click Next.

3. On the Select installation type 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.

6. On the Select server roles page, click Next.


7. On the Select features page, click BranchCache, and then click Next.

8. On the Confirm installation selections page, click Install.

9. Click Close.

11. Lab B: Implementing BranchCache


Task 5: Start the BranchCache host server on LON-SVR

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

4. Ensure that BranchCache is enabled and running.

12. Lab B: Implementing BranchCache


Task 6: Configure client computers to use BranchCache in the hosted cache
mode

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.

4. Right-click LON-CL1, and then click Move.

5. In the Move window, click IT, and then click OK.

6. Right-click LON-CL2, and then click Move.

7. In the Move window, click IT, and then click OK.

8. Close Active Directory Users and Computers.

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.

21. Close the Group Policy Management console.

22. Restart 20741B-LON-CL1, and then sign in as Adatum\Administrator with the


password Pa55w.rd.

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:

netsh branchcache show status all

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.

27. Restart 20741B-LON-CL2, and then sign in as Adatum\Administrator with the


password Pa55w.rd.

28. Click Start, and then type cmd.exe. Press Enter.


29. In a Command Prompt window, type the following command, and then press Enter:

gpupdate /force

30. In a Command Prompt window, type the following command, and then press Enter:

netsh branchcache show status all

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.

13. Exercise 2: Validating the deployment


Task 1: Simulate slow link to the branch office

1. On SYD-SVR1, click Start, type gpedit.msc, and then press Enter.

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.

4. On the This QoS policy applies to page, click Next.


5. On the Specify the source and destination IP addresses page, click Next.

6. On the Specify the protocol and port numbers page, click Finish.

7. Close the Local Group Policy Editor.

14. Exercise 2: Validating the deployment


Task 2: Verify BranchCache functionality for SYD-SVR

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.

8. Repeat steps 1 through 7 for LON-CL2 and LON-SVR.

9. Switch to LON-CL.

10. On the taskbar, click the File Explorer icon.

11. In File Explorer, in the address bar, type \\SYD-SVR1\Share, and then press Enter.

12. In File Explorer, right-click mspaint.exe, and then click Copy.

13. In File Explorer, right-click Desktop, and then click Paste.

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.

16. Switch to LON-SVR.


17. On LON-SVR1, switch to Performance Monitor, and then note that counter statistics reflect
BranchCache activity on LON-SVR.

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.

20. Switch to LON-CL.

21. On LON-CL2, on the taskbar, click the File Explorer icon.

22. In File Explorer, in the address bar, type \\SYD-SVR1\Share, and then press Enter.

23. In File Explorer, right-click mspaint.exe, and then click Copy.

24. In File Explorer, right-click Desktop, and then click Paste.

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.

You might also like