Configuring Network Load Balancing (NLB) for a Windows 2012

network load balancing server 2012

In this blog, we’ll configure Network Load Balancing (NLB), where we’ve two servers (Server-1 and Server-2) running Windows Server 2012 and a Windows Server 2012 Domain controller (Server2012-DC). It also assumes that Server-1 and Server-2 will communicate with one another over two network connections I even have labeled Ethernet and NLB.

Servers IP Address.

Server2012-DC –            10.0.0.20

Server-1

                        Ethernet0 – 10.0.0.30

                        NLB –           192.168.0.10

Server-2

                       Ethernet0 – 10.0.0.40

                       NLB –            192.168.0.20

Cluster IP – 192.168.0.30                      

192.168.0.40

Network Load Balancing Process

1- On Server-1 open server manager and choose Add roles and features.

windows server manager 2012

2- Click Next.

add roles and features wizard

3- Select the role-based or feature-based installation and click on next.

add role based or feature based

4- Select a server from the server pool and click on next.

server 2012 server selection

5- Server Roles, click next.

active directory server roles

6- Select the Features Network Load Balancing.

install network load balancing server 2012

7- Select Add feature.

add features for the required

8- After selecting Network Load Balancing, click next.

enable network load balancing feature

9- Confirm installation selections and click on Install.

server 2012 confirm installation

10- Select the close button after completing the network load balancing installation.

server 2012 installation progress

Repeat an equivalent steps 1 to 10 for server-2 to enable feature network load balancing

11- After this, I check out my NIC’s most vital that we use two NIC’s in Servers.

I gave Nic’s an IP that’s not within the same subnet because of the production LAN, and also you’ll use a special VLAN for the NLB tropic.

NLB Server-1

internet protocol properties

12- I rename them one is Ethernet and therefore the other is NLB.

network connection

13- In server-1 open server manager, click tools and choose the Network Load Balancing Manager.

windows server 2012 dashboard

New Cluster Setup

14- After opening the Network Load Balancing Manager, right-click on network load balancing cluster and choose the new cluster

network load balancing manger

15- In host Type, the IP address of the primary NLB Server-1 (192.168.0.10) click connect.

There are two IP Addresses, one is for Ethernet0 IP and One is for NLB IP Address, click next.

creating network load balancing

16- Click Next.

network load balancing host parameters

17- Now we will create the cluster IP select Add button.

create new cluster network load balancing

18- Type the IP address which will be used for the Cluster NLB and click on ok.

network load balancing ip address

19- Click Next.

network load balancing cluster ip address

20- you’ll use multiple IP Addresses the add the NLB, that way you’ll run multi-sites on one NLB management but all on different IP Addresses / FQDN names / DNS. And on different ports. Or settings.

Now I select an FQDN for the NLB cluster name (xpertstec.local) and under cluster operation mode select Unicast and click on next.

network load balancing cluster operation mode

21- Click Finish.

network load balancing port rules

22- Uncheck All box.

configure nlb server 2012 port rule

23- After selecting cluster IP Address under port range select from 80 to 80 just the ports that we’d like and click on ok.

nlb server 2012 port rule

24- Now the cluster is prepared (one node).

network load balancing manager

25- Right-click your cluster (xpertstec.local) and choose Cluster Properties.

network load balancing manager

26- Select the cluster IP Address option and click on Add.

nlb cluster properties

27- I added a second IP to the cluster and click on ok.

nlb add cluster ip address

network load balancing cluster ip address

29- Select Port Rules and click on the Add button.

network load balancing port rules

30- Uncheck All and sort the second IP Address of the cluster Select Port range and click on ok.

nlb port rules port range

31- After adding second IP Address, click ok.

Now we’ve two IP addresses and different ports.

network load balancing port rules

Add Host To Cluster

32- Right-click your cluster and choose Add Host To Cluster.

network load balancing manager

33- Type second node IP address (Server2012-2 – 192.168.0.20) and click on connect.

network load balancing connection status

34- Select the Interface name NLB and click on next.

network load balancing connection status

35- Priority (Unique host identifier) select 2 and click on next.

network load balancing host parameters

36- Click Finish.

network load balancing port rules
network load balancing manager

37- Both nodes are now joined to the NLB cluster and that we can build an NLB website.

network load balancing manager

For more details click Here

Create a Failover Cluster in Windows Server 2012

Comments

2 responses to “Configuring Network Load Balancing (NLB) for a Windows 2012”

  1. oprol evorter Avatar

    Please let me know if you’re looking for a author for your weblog. You have some really good articles and I believe I would be a good asset. If you ever want to take some of the load off, I’d love to write some content for your blog in exchange for a link back to mine. Please blast me an e-mail if interested. Cheers!

  2. oprol evorter Avatar

    Thank you a bunch for sharing this with all folks you really realize what you’re speaking approximately! Bookmarked. Please additionally consult with my web site =). We will have a hyperlink alternate arrangement among us!

Leave a Reply