Solved

Network Load Balancing

Posted on 2010-11-14
7
759 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:amaru96
  • 3
  • 2
  • 2
7 Comments
 
LVL 3

Expert Comment

by:Bokis
ID: 34135019
what services are the servers offering? http?
0
 
LVL 1

Author Comment

by:amaru96
ID: 34139594
Yes, it will be load balancing an internal web application. But this app requires "persistent sessions" to work properly.
0
 
LVL 83

Expert Comment

by:oBdA
ID: 34170994
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).
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 3

Expert Comment

by:Bokis
ID: 34172377

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.
0
 
LVL 1

Author Comment

by:amaru96
ID: 34185018
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
0
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 34186084
This rule has been manually configured; default would be a port range from 0 to 65535 and "Single" affinity.
Anyway, change the affinity in this port rule to "Single", and a single client's http traffic will always end up on the same server. "None" means one request from a client can end up on one node, the next on another.
0
 
LVL 1

Author Comment

by:amaru96
ID: 34187151
Thanks for the great info oBdA!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now