In this article, I will show you how to configure Network Load Balancing (NLB) within your Windows Server infrastructure. Services and applications that are affected by high load require technologies to address this issue. Network Load Balancing is a technology that allows system administrators to configure clusters that distribute traffic between several servers. Suppose you have a website that receives a large number of requests and cannot be handled by one server. In this case you would configure a NLB cluster to distribute traffic across multiple web servers and thus ensuring that the website can serve all requests. Also here are some of my related guides: How to manage azure resource manager resource groups by using Azure CLI, how to configure azure resources with tools, how to install and configure Ansible on Ubuntu, how to install Ansible on Windows with Cygwin, how to automate infrastructure deployments in the cloud with ansible and azure pipelines, how to install Kerberos packages in Windows via Cygwin, how to configure a remote server (windows) to Support Ansible, and how to deploy Azure VMware solution private cloud.
Open your VM server manager and then select Add roles and features.
Then click Next
Select your server name from the server pool and then click Next.
Check the WEB Server (IIS) roles box, click add features, then select next.
Check the Network Load Balancing box, click add features, then select next.
Configuring Network Load Balancing in Windows Server 2019 After installing the Network Load Balancing feature on all the participating NLB nodes, the subsequent step is to configure Network Load Balancing. For this, you would like to perform the subsequent steps.
Create a New Cluster
- On the Server Manager console of the SRV2019-1 NLB node
- Click Tools and then choose Network Load Balancing Manager.
- Right-click Network Load Balancing Clustering and then choose New Cluster
On the New Cluster: Connect panel, type SRV2019-1.techdirect.local (or IP Address) in the Host field then click Connect. Verify that the Interface name is listed then click next.
On the New Cluster, set the priority (unique host identifier) value 1. This NLB node will reply to the clients’ queries, first, also ensure that the default status has set as Started and click next.
Click the Add button to add a new Cluster IP address.
PS Note: The Cluster IP address is that the new virtual IP address on which the host service, during this case, IIS will run.
Type Cluster IP Address such as 10.0.0.100 and click ok.
Then click Next.
On the New dialog box, Select a cluster operation mode, Unicast and then click next.
Then click Finish
Then wait until the SRV2019-1 NLB node is added successfully. The Icon Color of the added NLB node should be green.
Right-click on Cluster name and then select Add Host to Cluster.
Connect dialog box, type SRV2019-2, and then click Connect to add one more NLB node, and click next.
On the Add Host to Cluster Dialog box: Host Parameters dialog box, set the priority value as 2 and proceed to next.
Then click Finish
Finally, verify that the second NLB node SRV2019-1 is added successfully.
Verifying Network Load Balancing Configuration
- To verify that your NLB Cluster is configured successfully and functioning properly, perform the subsequent steps.
- Type 10.0.0.100 within the Internet Explorer and verify that you simply are ready to access the Default Webs
- Close Internet Explorer. On the SRV2019-1 node.
- Then open the Network Load Balancing Manager window, select and right-click SRV2019-1(Ethernet), select Control Host and then select Stop to stop this node temporarily.
- Then switch back to SRV2019-DC and try again to open the Default Website. the Default Website should still be displayed. However, this time, the SRV2019-2 NLB node will serve the Website.