Configure Two Node NLB Cluster In Windows Server 2008

My Environment.

Windows Server 2008 R2 Enterprise

Virtual Network –

192.168.154.0/24

Domain (AD/DNS/DB)

MSTEST.COM 192.168.154.1

Application Server 1

APP01 (192.168.154.4)

Application Server 2

APP02 (192.168.154.5)

Cluster IP

192.168.154.6

Cluster Name

kfx-app

Preparing Environment/Prerequisite’s

  • First we need to Install Network Load Balancing on the Node 1 and Node 2 Servers. To do that go to Server Manager and direct to Features. click add feature and select Network load balancing on the add new feature wizard, then get it installed by following simple steps.

Installation of NLB feature on both NLB nodes

This should be done on ALL NODES in the NLB Cluster. In this case we are performing this installation on APP01 and APP02

Open Server Manager, you can open this several different ways in Windows Server 2008. Probably the quickest way to open Server Manager is to right click “My Computer” and choose “Manage”, another way is open “Control Panel” go to “Program and Features” and select “Turn Windows features on or off”. A third way to open it is “Server Manager” option under Administrative Tools.

  • Select “Features” from the Server Manager menu on the left
  • Press “Add Features”
  • Select the checkbox next to “Network Load Balancing”
  • Press “Next”
  • Press “Install”
  • Installation will proceed to install the necessary components

NOTE: Network Load Balancing may also be installed from a command prompt with elevated privileges (right click on the command prompt in the Start menu and select Run as administrator) by running the servermanagercmd -install nlb command.

For example:

C:\Windows\system32>servermanagercmd -install nlb

……

Start Installation…

[Installation] Succeeded: [Network Load Balancing].

<100/100>

Success: Installation succeeded.

  • In this example both servers only have one network card. If you have multiple network cards you will still be able to load balance the 2 servers. You need to configure one NIC per server for NLB, both NIC’s should be on the same VLAN and be they should able to contact each other.

Once it installed, go to administrative tools and open up NLB on Node 1.

Right click on Network load balancing cluster and press New cluster.

clip_image002

In New Cluster Wizard you have to provide Host IP Address for the 1st Node of the cluster and press connect.

here I have used KFX-APP01 as Node 1.

clip_image004

In next box leave the priority as 1, also other areas as default.

clip_image006

Add New cluster from this window. Here we defining the Cluster IP which act as Central IP.

This will be the identification of the particular cluster

Across the network, so we have to provide an New IP for this guy.

clip_image008

so we have to provide an New IP for this guy and click OK.I used below IP as my Cluster IP.

This IP will use to identify the particular cluster By IP Across the network.

clip_image010

It will automatically pickup your Cluster IP, here needs an Full Internet Name for it.

Provide an Name for the cluster and select Operation Mode as well.

This name is used to identify the cluster by name Across the network as well.

clip_image012

It will show up completion summary window. click finish to complete.

clip_image014

We have now successfully added our 1st Node to our new cluster.

Give it a moment until status become converged .

clip_image016

Next to add our 2nd Node to cluster. For that simply right click and say “Add Host to Cluster”.

clip_image018

Provide the details for the Node 2 below areas as previously we done for Node 1. here I have used KFX-APP02 as my 2nd Node.

clip_image020

It will pickup priority automatically. So I’m leaving It to be 2nd. And click next

clip_image022

Click Finish to complete.

clip_image024

Give it a moment until new Host become converged in this stage also.

clip_image026

Both Servers are added successfully and our new guy is ready to rock and Roll !!!!!!.

clip_image028

Then we need to create an Host, Pointer (PTR) Records on DNS server for our new Cluster.

clip_image030

Expand your Domain as above and Right click on domain in Forward Lookup Zone. Press “New Host A (AAAA) to create a new Host Record and Check create associated PTR record box as well, Checking this box will automatically create Pointer PTR record in Reverse lookup Zone once you created

Host Record.(Provide the Cluster name and IP address you created in NLB creation earlier)

clip_image032

You will see PTR Record created at reverse lookup zones once you created your new host as below.

clip_image034

That’s all on Configuration

You can test the availability of the DNS Records across the network by pinging to the cluster IP/FQDN. (192.168.154.6 / KFX-APP.MSTEST.COM)

· Forward/Reverse Lookup zones to be created on DNS for particular Virtual network if you are Using Virtual network for the Virtual Machines,

I have done the same here.

Advertisements

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 )

Google+ photo

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

Connecting to %s