Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.clustering
Thread: How does Network Load Balancer deal with Single affinity?

HTVi
TV Discussion Newsgroups

How does Network Load Balancer deal with Single affinity?
Yash <yashgt[ at ]gmail.com> 12/25/2008 12:06:20 PM
During configuration of the Network Load Balancer on Win2003 Server,
when a rule is configured to have “Single” Affinity, on what basis
does the load balancer decide which node is to be used? Is it the IP
address from which the request is received?

If that is so, if multiple clients which are behind a public gateway
try to access the server, the server will see the traffic coming from
just one IP address. Will it serve the requests using the same host?

From behind a gateway, is it possible to access the server in such a
way that requests from one client are served by one host and requests
from a second client are served by another? We need to do this for
testing purpose.

Thanks,
Yash
Re: How does Network Load Balancer deal with Single affinity?
"Russ Kaufmann" <russ.kaufmann[ at ]mindsharp.com> 12/27/2008 6:56:02 AM
"Yash" <yashgt[ at ]gmail.com> wrote in message
news:30c7c456-a5f2-43ad-80fa-4999ca6525ba[ at ]k36g2000pri.googlegroups.com...
[Quoted Text]
> During configuration of the Network Load Balancer on Win2003
> Server, when a rule is configured to have “Single” Affinity, on what
> basis does the load balancer decide which node is to be used? Is
> it the IP address from which the request is received?

It is based on the socket.

> If that is so, if multiple clients which are behind a public gateway
> try to access the server, the server will see the traffic coming from
> just one IP address. Will it serve the requests using the same host?

Yes. This is why it is often considered a best practice for Internet facing
NLB to use the Network (2008) or Class C (2003) Affinity options.

> From behind a gateway, is it possible to access the server in such
> a way that requests from one client are served by one host and
> requests from a second client are served by another? We need
> to do this for testing purpose.

Set affinity to none and after several connections, you should see a spread.
You can test it by making the pages on each NLB server just a bit different.
I usually put a 1 in the upper right hand corner for node one and a 2 in the
upper right hand corner of the second node. Then open multiple browsers and
you should see a mix between the two.


--
Russ Kaufmann,
MVP, MCSE: Messaging and Security, MCT, MCITP, MCTS and other stuff

ClusterHelp.com, a Microsoft Certified Gold Partner
Web http://www.clusterhelp.com
Blog http://msmvps.com/clusterhelp

Re: How does Network Load Balancer deal with Single affinity?
Yash <yashgt[ at ]gmail.com> 12/27/2008 1:54:48 PM

[Quoted Text]
>
> > From behind a gateway, is it possible to access the server in such
> >  a way that requests from one client are served by one host and
> > requests from a second client are served by another? We need
> > to do this for testing purpose.
>
> Set affinity to none and after several connections, you should see a spread.
> You can test it by making the pages on each NLB server just a bit different.
> I usually put a 1 in the upper right hand corner for node one and a 2 in the
> upper right hand corner of the second node. Then open multiple browsers and
> you should see a mix between the two.
>

Our customer wants to configure the NLB for stickiness. So setting it
to None is not an option.
Thanks for response.
Re: How does Network Load Balancer deal with Single affinity?
"Russ Kaufmann" <russ.kaufmann[ at ]mindsharp.com> 12/28/2008 5:25:05 AM
"Yash" <yashgt[ at ]gmail.com> wrote in message
news:00f49e05-74d4-4cd0-8cf3-033dbb431590[ at ]z6g2000pre.googlegroups.com...

[Quoted Text]
>
> > From behind a gateway, is it possible to access the server in such
> > a way that requests from one client are served by one host and
> > requests from a second client are served by another? We need
> > to do this for testing purpose.

> Our customer wants to configure the NLB for stickiness. So
> setting it to None is not an option.

I am sorry that None was confusing. I was responding to your need to test
the application as well as testing NLB distribution. Of course you don't
want to set it to None for production. That defeats the purpose of having
Affinity.

I recommended setting it to none so that you could verify distribution
between nodes was working, not as a permanent setting, and I apologize that
I was not clear about that step.


--
Russ Kaufmann,
MVP, MCSE: Messaging and Security, MCT, MCITP, MCTS and other stuff

ClusterHelp.com, a Microsoft Certified Gold Partner
Web http://www.clusterhelp.com
Blog http://msmvps.com/clusterhelp

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen