0% found this document useful (0 votes)
69 views10 pages

Windows NLB Implementation Guide

The document provides a detailed lab guide for implementing and managing Network Load Balancing (NLB) using Windows Server 2016. It includes tasks for verifying website functionality, creating an NLB cluster, configuring port rules, and validating high availability. The guide outlines specific commands and steps to ensure successful setup and operation of the NLB cluster.
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)
69 views10 pages

Windows NLB Implementation Guide

The document provides a detailed lab guide for implementing and managing Network Load Balancing (NLB) using Windows Server 2016. It includes tasks for verifying website functionality, creating an NLB cluster, configuring port rules, and validating high availability. The guide outlines specific commands and steps to ensure successful setup and operation of the NLB cluster.
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

about:blank

Lab Answer Key: Module 10: Implementing Network


Load Balancing

Lab: NLB

Exercise a Network Load cluster

Task 1: Verify website functionality for standalone servers

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

2. In the File Explorer address bar, browse to c:\inetpub\wwwroot.

3. [Link] to open it in

4. brush tool is selected.

5. around the IIS logo.

6. Save the changes that you made to [Link], and then close Microsoft
Paint.

7. Close File Explorer.

8.

9. Windows Accessories, and Explorer.

10. Explorer Address [Link]


press Enter.

11. Verify that the webpage displays the IIS logo with the circle that you just added.

1 of 10 3/12/2019, 4:57 PM
about:blank

12. In the Internet Explorer Address Bar, type the address [Link] and
then press Enter.

13. Verify that the webpage does not display the IIS logo with the circle.

Task

1.

2. then click Server Manager.

3. In the Server Manager console, click Tools, and then click Windows
PowerShell ISE.

4. In the Windows PowerShell ISE window, type the following command to install
LON-SVR2, and then

-Computername LON-SVR1,
{Install-WindowsFeature NLB,RSAT-NLB}

Note: If you receive warnings about the network connection to each server,
ignore these.

Task Windows Server 2016 NLB

1. the Windows PowerShell the following


command to create the new NLB cluster, and then press Enter:

2 of 10 3/12/2019, 4:57 PM
about:blank

New-NlbCluster -InterfaceName "Ethernet" -OperationMode


Multicast -ClusterPrimaryIP [Link] -ClusterName LON-NLB

2. In the Windows PowerShell ISE window, type the following command to add
Name System (DNS), Enter:

-Computername LON-DC1
DNSServerResourceRecordA –zonename LON-NLB
[Link]}

Task 4: Add a second host to the cluster

• On Windows PowerShell following


command host to the cluster,

Add-NlbClusterNode -InterfaceName "Ethernet" -NewNodeName "LON-


SVR2" -NewNodeInterface "Ethernet"

Task cluster

1. Manager, click Tools Network Load


Manager.

2. Click OK to dismiss the Warning message box, if it appears.

3 of 10 3/12/2019, 4:57 PM
about:blank

3. In the Network Load Balancing Manager window, click LON-NLB


([Link]).

4. In the Host configuration information for hosts in cluster LON-NLB


([Link]) pane, verify that the nodes LON-SVR1 and LON-SVR2 display
with the status Converged.

5. [Link]) cluster,

6. 0.42) Properties dialog


verify that the cluster is set Multicast operations
mode.

7. On the Port Rules tab, verify that there is a single port rule with a Cluster IP
address of All that starts at port 0 and ends at port 65535 for both TCP and
UDP protocols, and that it uses Single affinity.

8. LON-NLB ([Link])

Result completing this exercise, you should successfully implemented


an

Exercise 2: Configuring and managing the NLB cluster

Task and affinity

Configure cluster nodes

1. , click Start, and then click Windows PowerShell.

4 of 10 3/12/2019, 4:57 PM
about:blank

2. In the Windows PowerShell window, type the following commands and then
press Enter:

Mkdir c:\porttest

3. PowerShell window, type and then

\inetpub\wwwroot c:\porttest

4. In the Windows PowerShell window, type the following commands and then
press Enter:

PortTest –PhysicalPath –Port

5. PowerShell window, type the commands and then


press

New-NetFirewallRule –DisplayName PortTest –Protocol TCP


–LocalPort 5678

Configure

1. On the Taskbar, click the File Explorer icon.

5 of 10 3/12/2019, 4:57 PM
about:blank

2. In File Explorer, click drive C, double-click the porttest folder, and then double-
click [Link] to open the file in Microsoft Paint.

3. Use the paintbrush to place a line across the IIS logo.

4. Save the changes to [Link], and then close Microsoft Paint.

5.

6. Address Bar, type http: and then

7. Start page displays the IIS across it.

8. Switch to LON-SVR1.

9. On LON-SVR1, switch to Network Load Balancing Manager.

10. In the Network Load Balancing Manager console, right-click LON-


then click Cluster Properties

11. 0.42) Properties dialog Rules tab,


and then click Remove

12. tab, click Add.

13. In the Add/Edit Port Rule dialog box, type the following information, and then
click OK:

• Port range: 80 to 80

Multiple host

14. On the Port Rules tab, click Add.

6 of 10 3/12/2019, 4:57 PM
about:blank

15. In the Add/Edit Port Rule dialog box, type the following information, and then
click OK:

• Port range: 5678 to 5678

• Protocols: Both

host

16. LON-NLB ([Link])

17. Balancing Manager LON-SVR1


then click Host Properties

18. On the Port Rules tab, click the port rule that has 5678 as the Start and End
value, and then click Edit.

19. In the Handling priority list, click 10.

20. both the Add/Edit Port the LON-


Properties dialog box.

Task 2: Validate port rules

1. Switch to LON-DC1.

2. In the Internet Explorer Address Bar, type [Link] and then press Enter.

3. times.

4. pages both with and added.

5. Explorer Address Bar, type the //LON-NLB:5678,


and then press Enter.

7 of 10 3/12/2019, 4:57 PM
about:blank

6. Click the Refresh icon 20 times.

7. Verify that now only the web page with the distinctive line displays.

Note: It is possible that you will need to refresh your browser more than 20
logos on [Link]

Task availability in the NLB cluster

1. Switch to LON-SVR1.

2. In the Network Load Balancing Manager console, right-click LON-SVR1


(Ethernet), click Control Host, and then click Suspend.

3. 16.0.42) node. Verify LON-SVR1


and that the node Converged.

4. Ethernet), click Control Resume.

5. LON-SVR1(Ethernet), click Control click Start.

6. Click the LON-NLB ([Link]) node. Verify that both the nodes LON-SVR1
and LON-SVR2 now display as Converged.

refresh the view.

Result exercise, you should configured


and cluster.

8 of 10 3/12/2019, 4:57 PM
about:blank

Exercise 3: Validating high availability for the NLB cluster

Task 1: Validate website availability when the host is unavailable

1. On LON-SVR1, in the Windows PowerShell window, type the following


Enter:

2. Switch to LON-DC1.

3. In the Internet Explorer Address Bar, type [Link] and then press
Enter.

4. times.

5. available while LON-SVR1 verify that it


logo with the circle

Task 2: Configure and validate Drainstop

1. Sign in to LON-SVR1 with the username Adatum\Administrator and the


password [Link]

2. the Server Manager

3. Tools, and then click Balancing

4. Click OK to dismiss the Warning message box, if it appears.

9 of 10 3/12/2019, 4:57 PM
about:blank

5. In the Network Load Balancing Manager console, right-click LON-SVR2


(Ethernet), click Control Host, and then click Drainstop.

6. Switch to LON-DC1.

7. In the Internet Explorer Address Bar, type [Link] and then press Enter.

8. and then verify that with the

Task Prepare next module

When you finish the lab, revert the virtual machines to their initial state.

1. start Hyper-V Manager

2. list, right-click 20740C-LON-DC1 click

3. Virtual Machine dialog box, click

4. Repeat steps two and three for 20740C-LON-SVR1 and 20740C-LON-SVR2.

Result: After completing this exercise, you should have successfully validated high
availability

10 of 10 3/12/2019, 4:57 PM

You might also like