Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


March 2002

The New WLBS

RSS
Subscribe to Windows Web Solutions | See More Clustering and Load Balancing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
SideBar    Installing NLB on a Dual-NIC System

First, verify that NLB is installed on your server by right-clicking My Network Places, then selecting Properties. Right-click Local Area Connection, then select Properties. NLB should appear in the Components checked are used by this connection list. Now, follow the appropriate instructions for one or two NICs to set up NLB for the first time.

In the Local Area Connection Properties dialog box, select the Network Load Balancing Service check box, then click Properties. In the Network Load Balancing Properties dialog box, you configure settings for the cluster, the host, and the ports in use.

Configuring cluster parameters. To begin NLB configuration, click the Cluster Parameters tab, which Figure 2, page 9, shows. In the Cluster IP configuration section, enter the VIP address for the cluster. As you enter the IP address, notice that the network address changes with each octet you enter. This network address is really a MAC address that's permanently assigned to a NIC. (The NLB load-balancing mode that you select later determines what you do with this address.) Each octet is converted to its hexadecimal equivalent on the fly, creating that unique network MAC address. This uniqueness is important in a switched environment because some switches don't work well when more than one switched port claims to own the same network address. Some switches let you disable the system's ability to learn network MAC addresses.

Next, enter the appropriate subnet mask for the VIP address. (You'll supply the default gateway information later.) Then, in the Full Internet name text box, enter the cluster's Fully Qualified Domain Name (FQDN—e.g., cluster.domain.com). Note that for a production server, you'll need to perform name resolution (e.g., DNS) on this FQDN before you put NLB into production.

Now you need to decide which cluster operation mode to use—Unicast or Multicast. (Note that the first network adapter is always the cluster adapter.) Notice the IGMP multicast option. This option is useful only if you're using Multicast mode and NLB traffic is overwhelming your network switch.

If you want to let administrators use the NLB command-line tools to remotely administer the cluster, select the Allow remote control check box and provide a password. Enabling this option lets you perform simple administrative tasks for your NLB cluster, such as starting and stopping the cluster, removing a host from the cluster for maintenance, and displaying cluster diagnostics. Using this remote command-line option doesn't preclude your using Win2K Server Terminal Services to remotely administer the cluster.

Configuring host parameters. In the Network Load Balancing Properties dialog box, click the Host Parameters tab, which Figure 3, page 9, shows. First, configure the cluster host's Priority. This value determines the host's priority in the cluster. The lower the number, the more requests a cluster member tends to fulfill for a client. The default value is 1. If you plan to add additional hosts to a cluster, you'll need to increment those values accordingly. Next, enter the host adapter's dedicated IP address and subnet mask. Finally, you need to decide whether to set the initial cluster state to active. Selecting the Set initial host state to active check box tells NLB to insert the host into the cluster immediately.

Configuring port rules. Switch to the Port Rules tab, which Figure 4 shows. This tab lets you tune the load-balancing algorithm. You can filter requests based on ports, protocols, and client IP addresses. The default filter is for balancing any request for any ports within the range of 0 to 65,535 for both TCP- and UDP-based requests.

The filtering mode also influences which client answers a request. One option is to use multiple hosts and balance client requests among all cluster hosts. Another option is to use the Single mode to force all client requests to a specific cluster host until that host fails. On failure, the remaining hosts in the cluster use their Priority value to determine which cluster host assumes the traffic from the failed host. Another option is to tell the cluster not to service traffic for certain ports and protocols.

In the Multiple mode, affinity options help cluster hosts decide what traffic they should answer. (For more information about affinity, see "Load Balancing Down on the Web Farm.") The Class C option directs traffic from the same Class C address space to the same cluster host. Single mode ensures that all traffic from the same IP address reaches the same cluster host. If affinity is important to you, consider the Single option first. I use Single mode on my servers so that I can use cookies.

   Previous  1  [2]  3  Next 


Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

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

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Related Events Virtualization for Mission-Critical BI with SQL Server

Delivering Reliable and Effective Web-Based Applications

Making Web Application Perform Better: What to Watch, How to Watch It, and How to Fix It

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


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 Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing