Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


January 30, 2002

Installing NLB on a Dual-NIC System

RSS
Subscribe to Windows Web Solutions | See More IIS and Web Administration Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    The New WLBS

You know how to install Network Load Balancing (NLB) on a single-NIC system, but what if you’re running a dual-NIC system? Here are the special configuration considerations for such a setup.

Let’s begin with what you need to have. First, you must have one of the following OSs running in your network:

  • Windows 2000 Advanced Server
  • Win2K Datacenter Server
  • Win2K Server with Microsoft Application Center 2000
  • Windows .NET Enterprise Server

In my examples, I use .NET Enterprise Server beta 2 to build my NLB cluster.

Second, before you begin the dual-NIC configuration, you must have two properly installed Local Area Connections; that is, you should have both interfaces correctly cabled and able to communicate successfully by using TCP/IP. (Verify this communication before proceeding by pinging after hosts on the respective networks.)

To install and configure NLB, right-click My Network Places, then select Properties. The resulting Network Connections dialog box lets you configure the multiple network interfaces for this particular cluster node. You see two network connections. The first connection, called Local Area Connection, is the private interface through which NLB heartbeat messages pass. The second connection, called Local Area Connection 2, will eventually become the public connection. Note that these names are the default names, and you can change them in the initial configuration. Just remember to keep the names straight throughout the configuration. To help you remember which connection is which, I recommend giving each connection a name that more closely represents your scenario. (For example, I named my connections Private Connection and Public Connection, respectively.) Labeling the network greatly facilitates configuration and troubleshooting. (You might even want to go one step further and label the physical network connections with cable tags to indicate which interfaces they attach to.)

To configure the private interface, right-click Local Area Connection, then select Properties. Configure the TCP/IP properties for this network connection, as Web Figure A shows. (Don’t select the Network Load Balancing check box because you don’t want public traffic going to this interface.)

Now, you need to configure the public interface and the cluster. Open the Local Area Connection 2 properties, then select the Network Load Balancing check box and click Properties. In the Network Load Balancing Properties dialog box, click the Cluster Parameters tab. In the Cluster IP configuration area, enter the IP address and subnet mask for the public interface. (The TCP/IP configuration you supply to this connection should be consistent across each node in the cluster.) Then, supply the Fully Qualified Domain Name (FQDN—e.g., www.windowswebsolutions.com) and network address to properly handle incoming client requests.

After you’ve supplied the public cluster information, you need to tell the cluster about the configured private interface (i.e., Local Area Connection). You might think that configuring the private IP address on the NLB settings for the public interface is odd, but you’re supplying the same IP address information (i.e., public cluster addresses) to multiple server interfaces. Switch to the Host Parameters tab, then supply the dedicated IP address and subnet mask that you applied to the private interface. If this NLB node is the first one you’re configuring, leave the Priority (unique host identifier) setting at the default value of 1. If this node is a subsequent installation, set the priority value to the next highest unused number.

If this node is the first one in the NLB cluster, you’re finished. Click Apply, then click OK, and your first node is up and running. If this node is a subsequent NLB node, you now have a working cluster. You can use NLB’s command-line operation to verify that the cluster is working correctly. To do so, type

wlbs query

at a command prompt. If your NLB setup is working correctly, you’ll receive a result similar to the one that Web Figure B shows. If not, verify that you’ve configured each public and private interface with the correct TCP/IP settings. Also, ensure that the private interfaces on each node in the cluster can see each other.

End of Article



Reader Comments
Thanks Allen for explaining in details abt the NLB configuration on dual NICs. The above setup doesn't take much longer time than putting an effort to make the live site to work across the NLB servers. Lets speak the practical situation where you r going to setup NLB for production servers, you've 1 site with 1 virtual IP and with 2 private IP addresses (i.e. www.domain.com + 202.xx.xxx.xxx + 192.20.10.1 + 192.20.10.2). Your site is up and running fine with 192.20.10.1 and now you've added similar server to the same zone and you've configured NLB for both servers. In this situation beside the above steps mentioned what r the other configuration required to make it work for both servers, lets say i bring down 192.20.10.1 server using WLBS STOP does the traffic routed to 192.20.10.2? In the first place how r u going to configure in the DNS entry and in the firewall entry to accept 2 different private networks with 1 virtual ip. Hope you'll help to clarify my doubts. Thanks in advance.

Shafi December 15, 2003


I've bought three books on load balancing and read countless articles about setting up NLB with Win2k3 -- all of which mention the heartbeat connection, even in their diagrams. Yours is the only one that actually told me how to configure it in the Host Parameters tab. Bravo.

AJ Hartley January 06, 2004


wonderfull :-)

tectime January 15, 2004


Hi Allen,
I found this article more than interesting but still not satisfying. I trying to set up a NLB cluster with 2 nic's per node based on Windows Server 2003. Goal is to achieve an infrastructure where the cluster and heartbeat information goes over the first nic (192.168.10.0/30) and the main LAN traffic goes over the second nic (10.38.24.0/21).
As suggested I entered the Heartbeat NIC information in the host settings in the cluster parameters. I then get a message that I need to enter the just added IP address to the LAN NIC IP settings. Because this address is already assigned to the Heartbeat NIC this is not possible.

I am very surprised finding so many articles on the Internet on NLB and how good it is to split up the Cluster/Heartbeat traffic from the LAN traffic using two NICs, but nowhere (really nowhere !!) I can find how do configure NLB that way on a Windows Server 2003 environment.

I hope you can help me out with this.

Sincerely,

Maurice Joosten
IT Consultant
The Netherlands

Maurice Joosten March 11, 2004


Expecting screen shots

Anonymous User January 11, 2005 (Article Rating: )


Maurice,

-First, don't use the NIC properties page. Just stay away from it. Use the "Administrative Tools\Network Load Balanacing Manager" tool.
-Add a new cluster. The cluster IP will be the one you will route outside traffic to (10.38.24.x), enter your mask, and the DNS name (doesn't have to resolve yet). I've selected multicast here, and it works. Not sure what the best setting is. Click Next.
-Add any additional NLB IPs (you can always do this later). Click Next.
-Setup any port rules (I don't), click next.
-enter the IP for the first host. Usually, this is the machine you are currently logged into. This CAN be either the "outside" or "inside/heartbeat" IP. I just stick with the heartbeat IP. select the heartbeat IP from the list. Next.
-Select 1 as the priority. Click Finish. Easy part done.
-Add a host to the cluster. Enter the info for the second host. Finish.
-Here is where it gets a little hairy. Be patient and calm. Most likely the next thing you will see is the second host as a "misconfigured" status. Let go a for a few minutes. Afte that, every few minutes you should click the refresh command from the menu. Soon it will show both hosts as converged. Also you can use the line command"nbl query".

-Dana

Anonymous User April 11, 2005 (Article Rating: )


Hello, are the hearbeat NIC and the Ooutside NIC (in a dual nic machine) on the same subnet before creating the cluster? Or are they on seperate subnets all together?
Thanks.

Anonymous User April 15, 2005 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


IIS and Web Administration Whitepapers Best Practices for SharePoint Backup & Recovery

Meeting Compliance Objectives in SharePoint

Improve SharePoint Performance for Remote Workers

Related Events No Do Overs – Get Virtualization Right the First Time

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Web Filtering: An Assessment

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement