In this article, nosotros will run into the steps to the Network Load Balancing (NLB) feature in Windows Server 2019. Nosotros can use NLB to manage two or more servers as a single virtual cluster.

What is NLB (Network Load Balancing) in Windows Server 2019?

The Network Load Balancing (NLB) distributes traffic across several servers by using the TCP/IP networking protocol. Past combining 2 or more computers that are running applications into a unmarried virtual cluster, NLB provides reliability and functioning for web servers and other mission-critical servers.

Windows Server 2019 NLB cluster can support upwards to 32 Servers in a unmarried NLB cluster. The servers in an NLB cluster are called hosts, and each host runs a divide copy of the server applications.

NLB distributes incoming client requests across the hosts in the cluster. You tin configure the load that is to be handled by each host.

Agreement Test lab:

For this, we will employ the virtual exam lab created in VirtualBox.

  • WS2K19-DC01: Domain Controller and DNS
  • WS2K19-SRV02: Member Server
  • WS2K19-SRV03: Member Server

Install the Network Load Balancing feature on Server 2019:

Note: We demand to perform the following steps on both member servers that are going to participate in the NLB cluster.

i. On Fellow member Server, open Server Managing director. Click on Tools and select Add Role and Features.

1. Start Add Roles and Feature Installation Wizard

ii. On the Earlier yous begin page, click Next.

2. Click Next on Before you begin screen

three. Select Part-based or feature-based installation and click Next.

3. Select Role-based or Feature-based Installation

four. Select a server from the server pool on which yous want to install the Network Load Balancing feature, click Side by side.

4. Select server from server pool to install NLB

5. On select server roles page, click Next.

5. Click Next on Select Server Roles page

6. On select features, select Network Local Balancing checkbox.

6. Select Network Load Balancing Feature checkbox

7. A new window will popular up, click on Add Features to include required features and management tools for Network Local Balancing piece of work properly.

7. Click on Add Features to Add Features required by NLB

8. Make certain that NLB characteristic is selected. Click Next.

8. Make Sure NLB feature is selected

nine. Click on the Install button to start the installation process.

9. Click on Install to start NLB feature Installation

x. Click on Shut.

10. Click on Finish

Reminder: Nosotros demand to perform the same steps to install the NLB feature on the WS2K19-SRV03 member server.

Later installing the NLB feature, the adjacent step is to create the NLB cluster using windows server 2019. To perform these steps, we need to open the Network Load Balancing Manager on one of the NLB nodes.

Configure NLB Cluster in Windows Server 2019:

11. On the Server Manager console of the WS2K19-SRV02 member server, click Tools and select Network Load Balancing Manager.

11. Open Network Local Balancing Manager

12. Select and right-click Network Load Balancing Clusters and and then click New Cluster.

12. Select Add New NLB Cluster

13. Type the IP address or proper noun of the second member server in the Host field and and so click Connect. Verify that the Interface proper name is listed and then proceed to next.

13. Type IP or Name of NLB Node to Add

fourteen. On the New Cluster: Host Parameters folio, adjust the priority value as per requirement. Also, ensure that the default condition has gear up equally Started. When you are ready, click on Next.

14. Set NLB Priority and State

15. On the New Cluster: Cluster IP Addresses page, click Add to add a new Cluster IP accost.

15. Click on Add to Add NLB Cluster IP

16. Specify a Cluster IP Accost, and click OK.

16. Specify NLB Cluster IP Address

Notation: This IP address is a new NLB Cluster virtual IP address on which the host service will run.

17. If required, you tin can add more than than one IP address by performing the same steps. Click Adjacent.

17. Click Next

18. Select an NLB cluster functioning style. You can likewise specify the FQDN proper noun for the NLB cluster in the Full Internet name field. Click Next.

18. Select NLB Cluster Operation Mode

19. On the New Cluster: Port Rules page, select the existing port rule and click on edit.

19. Edit Default NLB Port Rule

20. Type port range. From eighty  to 80 (As we but want port number eighty for IIS NLB cluster). Select Affinity mode to none. Click OK.

20. Add TCP port 80 to the Rule

21. Click on the Add button to a new rule for port number 443 using the same steps.

21. Add TCP port 443 to the Rule

22. Click on Finish.

22. Click Finish to complete Cluster Configuration

23. Wait until the WS2K19-SRV03 node is added successfully. The Icon Color of the added NLB node should be displaying green.

23. Verify NLB node Status

Add together 2nd NLB node to an Existing NLB cluster:

24. Right-click on the existing NLB cluster and select Add Host To Cluster.

24. Select Add Host to NLB Cluster

25. Type the WS2K19-SRV02 in the Host field then click Connect. Verify that the Interface name is listed and so proceed to next.

25. Type IP or Name of NLB Node to Add

26. On the New Cluster: Host Parameters page, adjust the priority value equally per requirement. Also, ensure that the default status has ready as Started. When you are set, click on Next.

26. Set NLB Priority and State

27. Click on Terminate to complete the process of adding the second NLB node to an existing NLB cluster.

27. Click Finish to complete Cluster Configuration

28. Verify that the 2nd NLB node is added successfully. The icon color should exist displaying light-green.

28. Verify NLB node Status

Exam the NLB Configuration with Default Web Site:

Already I have installed IIS service on both member servers to test the NLB cluster. Nosotros will access the default website using the NLB cluster IP address.

29. Open a spider web browser. Blazon the NLB cluster IP accost in the address bar.

29. Access NLB Cluster Website

Verify that you can access the Default Website. You are accessing the WS2K19-SRV03 server due to NLB priority 1.

30. Delete web browsing history and again admission the NLB cluster IP address using Net Explorer.

30. Delete Web Browsing History

31. This time you are accessing the WS2K19-SRV02 server due to NLB load balancing.

31. Access NLB Cluster Website again

Used this type of configuration when balancing traffic betwixt two IIS servers. The port rules were handling only HTTP (port 80) and HTTPS (port 443) traffic.

That'south it for this guide on How to Install and Configure the Network Load Balancing (NLB) feature in Windows Server 2019. Thank you lot for reading.

Lookout man Video on How to Install and Configure NLB in Windows Server 2019: