Forum Discussion
Chris_Miller
Altostratus
Apr 26, 2010Best Way to do Cookie Persistence here?
I have one VIP and 5 "pools" that can service the VIP. Each pool is made up of 3 clustered servers so pool persistence is required, but not server persistence within the pool.
So, if a user hits our ...
Michael_Yates
Nimbostratus
Apr 27, 2010I believe that you are trying to replace the default behavior of the F5 Persistence Cookie and compensate for Pool Member failures with an iRule. You shouldn't have to do either since those features are available through Virtual Server and Pool setup options.
Use Default Cookie Behavior (Tracks the Pool and Pool Member selected by whatever Load Balancing Method is configured - Round Robin, Least Connections (Node), Least Connections (Member), etc):
HTTP Cookie Insert: Specifies that the system inserts server information, in the form of a cookie, into the header of the server response. This is the default setting.
If Pool Member Fails:
Set Pool setting "Action On Service Down" to "Reselect".
This should give you the behavior that you are looking for and decrease the setup complexity.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects