Configuring NLB in windows 2008
9:27 PMCreating an NLB Cluster
There are three key steps to creating an NLB cluster in Windows Server 2008:
- Install the NLB Feature into Server 2008 on each host that you will add to an NLB cluster.
- Use the New Cluster wizard to create the cluster and add the first host.
- Use the Add Host wizard to add one or more nodes to your cluster
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:
From the Add Features wizard just selects Network Load Balancing and click Next:
Finally from the Confirm Installation Selections click install:
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:
The right clicks the Network Load Balancing cluster node in the left pane, and select New Cluster:
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:
This shows you the interfaces on this host that you can use for configuring a new cluster. Chose the interface and click Next:
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:
This brings up the Cluster IP address page. Here you add the address used by clients to connect to nodes in the cluster:
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):
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
The Wizard then does the necessary configuration, resulting in a single node NLB cluster, shown in the NLB manager like this:
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:
This brings up the Add Host to Cluster: Connect page where you specify the host to add, and the interface used in the cluster:
Next you specify the new host’s parameters:
Then you get to update, in needed the cluster’s port rules:
Clicking next completes the wizard, resulting in a 2nd host in the cluster. As seen by NLB Manager:
- 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
0 comments