Solved

Load Balancer Stickiness

Posted on 2010-09-14
9
1,418 Views
Last Modified: 2012-05-10
Hi Experts,

There is some debate at our office whether the persistent profile rule we've set up within our F5 load balancer is working.

I would please like to know how can test that session stickiness is either working or not working.

I have found this article: http://www.testingreflections.com/node/view/4041

Are there any other tests we can use to settle the debate?

Thanks in advance!
0
Comment
Question by:JFranks22
[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
  • 5
  • 4
9 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 33675990
What persistent profile did you use?

If it is a iRule please post the iRule also.
0
 

Author Comment

by:JFranks22
ID: 33676039
Is this information stored in the logs? Can you verify how to locate this?
0
 
LVL 57

Expert Comment

by:giltjr
ID: 33676090
Um, no.  Do you have admin access to the F5?  

If you don't then you need to get the admins involved.

 
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:JFranks22
ID: 33676376
Hi quiltjr,
Thanks for weighing in.
My load balancer admin has unfortunately just left - I know he was trying the various Persistence Profiles.
The question we have is more of a general question. For any load balancer (F5 or other), how would you go about testing that a persistent profile rule is working?
Surely you don'y want to go live with an application that relies on persistent sessions without first testing that the sessions are sticky - "How" is the question?
 
 
0
 
LVL 57

Expert Comment

by:giltjr
ID: 33676515
The answer really depends.   There are various ways to do session stickiness, called persistence in the F5.

Typically if you require session stickiness you will get errors in the application when they clients get routed to the incorrect server.  So when you are doing your testing, are you getting errors because you are being routed to the wrong back-end server?


0
 

Author Comment

by:JFranks22
ID: 33677152
Ok, let's assume we do have Admin access to F5 (which we do).
Would you please explain how we could verify that the "Cookie Persistence using the HTTP Cookie Insert method" for example was maintaining persistent state.
 
 
0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 33678229
The easiest way is to run a packet trace or use Fiddler2 from the client and verify that the cookie always has the same value.

You could also run tcpdump on the F5 on both the inside (server side) and outside (client side) interfaces and verify that the session continues to send the requests to the same host.
0
 

Author Closing Comment

by:JFranks22
ID: 33682893
Thank you!
0
 
LVL 57

Expert Comment

by:giltjr
ID: 33684398
Thanks.

You could code an iRule that logs the value of the cookie on HTTP_REQUESTS and the logs the IP address of the server that is responding on HTTP_RESPOND events.
0

Featured Post

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

729 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