Link to home
Start Free TrialLog in
Avatar of soumenb
soumenbFlag for India

asked on

IIS load Balancing/win 2003 with two NIC ..

Hi
I am trying to do IIS Load Balancing on windows 2003 Server and with TWO NIC card.

My Configuration Details :
OS : windows 2003 Std Edition
NIC : RealTek 8139
1 Switch 10/100

I have created small Network with Two Servers and 1 Switch with 4 NIC Card.
I had given 192.168.10.190 as CLUSTER IP address,

IISLOAD 1
NIC 1 : 192.168.10.191
NIC 2 : 192.168.10.193

IISLOAD 2
NIC 1 : 192.168.10.192
NIC2 : 192.168.10.194

I have created First Server on IISLOAD1 but after that when I am adding second server to host it has added but message is "NLB NOT BOUND",

Second,
after applied LOAD BALANCE I am unable to PING Primary Ip address : 192.168.10.192.
but both machine can PING Cluster IP address 192.168.10.190..

Please help me !
soumenb
Avatar of Sam Panwar
Sam Panwar
Flag of India image

Avatar of soumenb

ASKER

Thanks Abs_jaipur !

I have already checked the http://www.west-wind.com/presentations/loadbalancing/NetworkLoadBalancingWindows2003.asp and did all the steps. I am facing one problem here..which I have already Mentioned "I am adding second server to host it has added but message is "NLB NOT BOUND", It Shouldn't be ! In Article it has mentioned both IIS server will be added.

Right now my both servers are in SINGLE work group (NO ADS ) and connected with a SINGLE SWITCH.
both VIrtusl IP and FIxed IP...do i need make any chages with my HARDWARE ?

I don't want DNS Clustering..


"NLB NOT BOUND " Means Network Load Balancing (NLB) is not bound to any network adapter. check again the configure and also following setting

1. what subnet mask you have used in clustering
2.Are you use DHCP
3.Have you create VPN betwwen both computer
4. If you using any firewall are stop system firewall if enable when we use NLB then its on so you can not ping other computer.

Please also ensure that Sometimes it is desirable for performance or other reasons to direct all outgoing traffic through a different network adapter that the one that is being load balanced with NLB. This implies that there is more than one network adapter on each host in a cluster: NLB is bound to one network adapter called cluster NIC, and the other network adapter does not have NLB bound to it. To make sure that the outbound traffic leaves each host through the non-cluster network adapter, do the following:
Set the metric on the cluster network adapter to a higher value than the non-cluster network adapter. For example, if you have two network adapters on each host, set the non-cluster network adapter metric to 1 and cluster network adapter metric to 2. The network adapter with a higher metric means it is more expensive to use than the other one with a lower metric. That will ensure that the outbound traffic will be routed out of the non-cluster network adapter.
If you want to use default gateways on both cluster and non-cluster network adapters, make sure the metric of the default gateway on the cluster network adapter has a higher value than the one on the non-cluster network adapter. If you do not want to route any outgoing traffic out of the cluster network adapter, you should not specify the default gateway for it at all.
Avatar of soumenb

ASKER

Thanks Jaipur for quick replying me !
Subnet Mask for IPs : 255.255.255.0
No I haven't use DHCP I have already Disabled it.
There is no VPN connection or any type of FIREWALL.

IISLOAD1
for NIC 1 - 192.168.10.191 / 255.255.255.0
for NIC2 -  192.168.10.193 / 255.255.255.0

IISLOAD2
for NIC 3 -  192.168.10.192 / 255.255.255.0
for NIC 4- 192.168.10.194 / 255.255.255.0

CLUSTER IP : 192.168.10.190
( I can ping it from both server)

First without LOAD BALANCE apply I can PING all IP address ,
Then I have Created Cluster IP as 190.

3. I have choosed 191 for LOAD BALANce..
then 191 has given request Timed Out  .. from IISLOAD1/IISLOAD2
but 190 Cluster server has already added..I can ping 190 from both machine but not out from any other machine.....
( for that I have connected another machine in that SWITCh)

4. now when I am adding IISLOAD2..( in IISLOAD1 add Host to Cluster)  it has added but getting "NLB NOT BOUND MESSAGE "

Up to now am I right ?
or
do i need any change ?
Hi soumenb,

Your welcome  and i will very happy if i  solve your problem.

yes your configuration seems to right ?

I am working in a hosting company and many customer want this configurationn in IIS for load balancing. and we are using all these help which i already give you.

Last 10 day before i also got the same error like not able to ping the ip which is i add in cluster and that time i am change the subnet mask and then its work you can also try the subnet 255.255.255.255 for testing.

But i think this is not problem. It seems that if you connect through the vPN from the remote and routing option then the  firewall automatic enable so may be the problem for not bound and not pinging.

An other one is may be your NIc driver and configuration or WINS on both NIC
http://technet2.microsoft.com/WindowsServer/en/Library/2d8918ea-2ee0-4d99-b0ac-5e2572f437971033.mspx
HAve check the file sharing access first then connect .

Troubleshooting NLB Problems
http://technet2.microsoft.com/WindowsServer/en/Library/8d2e0b4f-4dfd-4893-9505-124ddf4fc2f01033.mspx




ASKER CERTIFIED SOLUTION
Avatar of Sam Panwar
Sam Panwar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of soumenb

ASKER

Great..Job..it's worked ..

Thanks a lot for your help abs_jaipur.( hope you are Indian ?
I have tried with your Example !

after load balancing I have added NODE2 in NODE1 sucessfully..
But, How I can enable this option all the time..?

If I close the Load Balancing manager ..all these servers name are removed from LB Manager..
I have SAVED this Option but I don't know ?

I may need every time open SAVED CONFIGURATION file when I restart the machine ??

I am Soumen ,Network Enginner, INDIA