Installing and Configuring NLB on Windows Server 2008

Preparing the Environment For NLB

  • Request 2 NIC’s per server in your cluster.  Configure each NIC with static IP’s, but leave the default gateway blank for the NIC running NLB.  Rename this adapter to NLB. 
  • Within the TCP/IP Properties of the NLB NIC, clear the checkbox to Register this connection in DNS

image

  • Open a command prompt with administrative privileges and run the command netsh interface ipv4 set interface “NLB” forwarding=enabled.  This step is required on 2008 server due to IP forwarding now being disabled by default.  You can read more about this issue on the Microsoft Networking Team Blog.

image

  • Edit the hosts file on each server that will be in your cluster.  Put an entry in the hosts file for the other server, and point it to the IP of the Non-NLB Network Adapter
  • Log into each of the cluster nodes and run the command Servermanagercmd –install nlb

image 

 

Creating the Cluster and adding the 1st Node

  • Open NLB Manager from Start—>All Programs—>Admin Tools.  Under the Cluster Menu option select New

alt

  • Type in the name of the first server in your cluster and click Connect.  Select the NIC named NLB and click Next

image

  • Leave the defaults on the Host Parameters screen and click Next

image

  • Click Add and configure the Cluster IP Address.  You can also add any websites IP’s in this area.  Click Next when done.

alt

  • Type in a name to identify the cluster.  This is for reference only.  Click Next.

image

  • Click Finish to accept the default Port Rules

image

 

  • After a few minutes, the first cluster node should show a status of Converged

image

 

Adding Node 2 to the Cluster

  • It is now time to add the 2nd host to the cluster.  Within NLB Manager, right click on the cluster name and select Add Host to Cluster

alt

  • Type in the server name for the 2nd node, click connect and select the network adapter named NLB.  Click Next.

image

  • Leave the defaults at the Host Parameters screen and click Next.

image

  • Again, accept the default Port Rules and click Next.

image

  • After a few minutes, the 2nd node will be added and both nodes should show a status of Converged within NLB Manager

image

Leave a Comment

Filed under NLB

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s