?
Solved

Load Balancer Stickiness

Posted on 2010-09-14
9
Medium Priority
?
1,431 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
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 2000 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

850 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