IIS and network load balancing
Re: IIS and network load balancing
This is never how I did it.
I usually use a network load balancing piece of equipment. Currently we use Netscalers. They work like natting firewalls, but this way:
Each web server has a private IP, and the netscaler has a public IP. The netscaler does the load balancing.
Now I'm not a microsoft person, but my bet is this setup works the same way. Let's say you have 5 nodes, 10.0.0.1, 2, 3, 4, and 5, and a public IP of 200.100.90.80. There's only one public IP on one NIC unless youre doing something like NIC teaming.
The packet comes into 200.100.90.80, and that public interface will pick a machine to send teh packet to. Depending on the website's needs, session consistancy is kept or discarded.
I usually use a network load balancing piece of equipment. Currently we use Netscalers. They work like natting firewalls, but this way:
Each web server has a private IP, and the netscaler has a public IP. The netscaler does the load balancing.
Now I'm not a microsoft person, but my bet is this setup works the same way. Let's say you have 5 nodes, 10.0.0.1, 2, 3, 4, and 5, and a public IP of 200.100.90.80. There's only one public IP on one NIC unless youre doing something like NIC teaming.
The packet comes into 200.100.90.80, and that public interface will pick a machine to send teh packet to. Depending on the website's needs, session consistancy is kept or discarded.
.השואה... לעולם לא עוד
Holocaust... Never Again.
Some people create their own storms and get upset when it rains.
--anonymous
Holocaust... Never Again.
Some people create their own storms and get upset when it rains.
--anonymous
Re: IIS and network load balancing
Russell - I have never tried to implement a Microsoft load balancing solution. Is there a reason you are not using a Cisco solution? Or other routing protocol for whatever switches and routers you have?
Re: IIS and network load balancing
If they use the same ip on the nic, all I can figure is they are being separated out by M.A.C. numbers.
Ø resist
Take away the second first, and the first is gone in a second.
NRA Life Member, TSRA, chl instructor
Take away the second first, and the first is gone in a second.
NRA Life Member, TSRA, chl instructor
- CodeJockey
- Senior Member
- Posts: 321
- Joined: Fri Jan 25, 2008 9:00 am
- Location: Arlington, TX
- Contact:
Re: IIS and network load balancing
I would definitely use a hardware solution for load balancing. You will find that it works much better than the Microsoft implementation of NLB. Just my $.02.
Always watch your six!
NRA Life Member
NRA Life Member
Re: IIS and network load balancing
I'll just jump in to say
with everyone who has recommended a hardware LB solution. Based on many years of experience, NLB is unstable, cumbersome, and a pain to manage.
I'd recommend a Webmux from RedHill or any of the Cisco CSS line of LB's. Easy VIP maintenance, URI Health Checks, SSL Decryption, and very stable.
It's cool to know there are so many 'geeks' on this board!

I'd recommend a Webmux from RedHill or any of the Cisco CSS line of LB's. Easy VIP maintenance, URI Health Checks, SSL Decryption, and very stable.
It's cool to know there are so many 'geeks' on this board!

*NRA Endowment Member* | Veteran
Vote Adam Kraut for the NRA Board of Directors - http://www.adamkraut.com/
Vote Adam Kraut for the NRA Board of Directors - http://www.adamkraut.com/
Re: IIS and network load balancing
It can. It maybe that there is some sort of port routing, using mac addresses, or hierarchy set in the DNS.
Ø resist
Take away the second first, and the first is gone in a second.
NRA Life Member, TSRA, chl instructor
Take away the second first, and the first is gone in a second.
NRA Life Member, TSRA, chl instructor
-
- Senior Member
- Posts: 342
- Joined: Sun May 11, 2008 12:35 am
Re: IIS and network load balancing
Russel NLB is a cooperative system. One incoming request is broadcast to all servers in the cluster. Each server makes a decision on whether to accept the request. The NLB algorithm is written to only allow ONE server in the cluster to accept the request. The algorithm is based on each server knowing information about other servers in the cluster. To find out this other information, each server will periodically send out a heartbeat ping to the other servers. If one server is detected as being offline, NLB will readjust it's algorithms to pull that server out of the cluster.
Many people have asked why are you using NLB. The primary reason is that it is free, and actually works quite well when configured properly. Hardware based load balancers can cost alot of money, and for small farms (2-4 servers) it is hard to justify spending that much money when Windows can do the loadbalancing for free.
Many people have asked why are you using NLB. The primary reason is that it is free, and actually works quite well when configured properly. Hardware based load balancers can cost alot of money, and for small farms (2-4 servers) it is hard to justify spending that much money when Windows can do the loadbalancing for free.
-
- Senior Member
- Posts: 342
- Joined: Sun May 11, 2008 12:35 am
Re: IIS and network load balancing
No worries Russel. Anyone in IT will tell you that in general, a dedicated hardware solution will outperform a software solution and is generally the best choice to go with. If you have the money, then I would always recommend that direction. However, if funds are tight, NLB is 100% able to do what you need. However it is free, and you shouldn't expect it to give you all of the same features as a paid for hardware solution.
Re: IIS and network load balancing
To answer your original question, (I am kind of sketchy on this one because I couldn't find it in my text book, I just remember my professor commenting about it) DNS some how points to one of the servers. Some how it can tell the difference and I think there maybe some way to set a priority in them. But I think DNS usually picks the most available one if I remember correctly.
But you should go with Cisco if you are thinking of changing things!! haha.
But you should go with Cisco if you are thinking of changing things!! haha.
Police Officer to me: I like your Glock shirt, that is what I am carrying on my waist right now.
Me before thinking: Thanks, and me too
Police Officer:
Me before thinking: Thanks, and me too
Police Officer:
