Link to home
Create AccountLog in
Avatar of amaru96
amaru96

asked on

Network Load Balancing

Hi guys, I need to setup network load balancing between 2 servers which from what I understand is not overly complicated but I've been asked to set it up with "persistent sessions". How do you do this?

Also, I've heard the term "sticky sessions", is this different to persistent sessions?
Avatar of Oliver
Oliver
Flag of United States of America image

what services are the servers offering? http?
Avatar of amaru96
amaru96

ASKER

Yes, it will be load balancing an internal web application. But this app requires "persistent sessions" to work properly.
Avatar of oBdA
Assuming that with "sticky sessions" you mean that a client should always connect to the same web server, that's enabled by default when setting up NLB.
It's configured in the cluster properties in "Port rules". The default is to load balance all ports to multiple servers, with a "Single" affinity. "Single" affinity means that a single computer will always end up on the same server (if the server is available).

With the CISCO ACE4710 load balancer, http coookie stickiness configuration would take care of your problems. It is same thing as persistent sessions.  Cisco ACE actually goes a little further to give you the cookie insert optin whereby the ACE would insert a cookie on behalf of a that isn't configured to set cookies.
Avatar of amaru96

ASKER

oBdA, when I look in the port rules I see the screen attached.

So in the affinity option, do I select "none" or "single"? What I want is the computer connecting to the cluster to be directed to a single server for the duration of it's session.

Also, "single host" is untagged by default. Not sure what this means.




port-rule.jpg
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of amaru96

ASKER

Thanks for the great info oBdA!