Solved

Network Load Balancing

Posted on 2010-11-14
7
769 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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Suggested Solutions

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

761 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