Solved

Network Load Balancing

Posted on 2010-11-14
7
770 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 84

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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
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 84

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
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…

737 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