Configuring NLB in windows 2008

9:27 PM

Creating an NLB Cluster
There are three key steps to creating an NLB cluster in Windows Server 2008:

  1. Install the NLB Feature into Server 2008 on each host that you will add to an NLB cluster.
  2. Use the New Cluster wizard to create the cluster and add the first host.
  3. Use the Add Host wizard to add one or more nodes to your cluster
Please create host record in DNS for cluster name (Virtual IP) before installing NLB and make sure both nodes host records are present in DNS.
Installing NLB in Server 2008
This is extremely easy. First you run Server Manager, and select Features from the tree and click on Add Features:
clip_image002
From the Add Features wizard just selects Network Load Balancing and click Next:
clip_image004
Finally from the Confirm Installation Selections click install:
clip_image006
After a few seconds, NLB will be installed on the first host. You need to repeat this installation on each host you plan to add to your NLB Cluster. Installing the NLB feature does NOT require a reboot, but removing it does.
Add another NIC for heart beat
Creating your NLB Cluster
Once NLB is installed, you create your cluster by first bringing up the NLB Cluster Manager:
clip_image008
The right clicks the Network Load Balancing cluster node in the left pane, and select New Cluster:
clip_image010
This brings up the first page of the New Cluster Wizard – here you select the first member of your cluster by adding the IP address or DNS name into the Host box:
clip_image012
This shows you the interfaces on this host that you can use for configuring a new cluster. Chose the interface and click Next:
clip_image014
This brings up the Host Parameters page, where you enter the IP address to be used for the cluster for the cluster, and then you click next:
clip_image016
This brings up the Cluster IP address page. Here you add the address used by clients to connect to nodes in the cluster:
clip_image018
After adding the IP address, and clicking next, the New Cluster wizard displays the Cluster Parameters where you specify the cluster IP configuration and the cluster operation mode (and click next):
clip_image020
Leaving all the default for the port rules; by default its set to all ports with Single affinity, which is sticky. For more information on Port Rules
clip_image022
The Wizard then does the necessary configuration, resulting in a single node NLB cluster, shown in the NLB manager like this:
clip_image024
Adding Additional Nodes
A single node cluster is not much value, so you next need to add an additional node (or nodes). To add a node, you right click your newly created cluster and select Add Host to Cluster:
clip_image026
This brings up the Add Host to Cluster: Connect page where you specify the host to add, and the interface used in the cluster:
clip_image028
Next you specify the new host’s parameters:
clip_image030
Then you get to update, in needed the cluster’s port rules:
clip_image030[1]
Clicking next completes the wizard, resulting in a 2nd host in the cluster. As seen by NLB Manager:
clip_image032
  • Make sure that both node’s status changes to "Converged"
  • Make sure each node has a unique "host priority" ID
  • Make sure each node is "started" under "initial host state"
  • Make sure you see a "succeeded" message in the log window for the second node

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results