Forum Discussion
LTM - Load Balancing iRule
- Jun 29, 2014
The intermittent issue is that sometimes the two connections get load balanced to one member and sometimes each member receives one connection. Is there an iRule I can put in place to ensure one connection goes to each member every time?
what you are seeing is due to how cmp works. i think disabling cmp should work.
sol14358: Overview of Clustered Multiprocessing (11.3.0 and later)
http://support.f5.com/kb/en-us/solutions/public/14000/300/sol14358.htmlif you do not want to disable cmp, irule similar to Matt's suggestion is needed (global variable will demote cmp, so you have to store global_myvsconncnt in session table instead).
sol13033: Constructing CMP-compatible iRules
http://support.f5.com/kb/en-us/solutions/public/13000/000/sol13033.html
Matt, Thanks for the suggested iRule. The developers want me to attempt an iRule and I'm willing to try the one you provided. I will mark the answer as correct if it works for us. Also Patrick, I will try your suggestion as well if Matt's doesn't work. At this point, I'm not too concerned if a solution disables CMP as this VIP only takes 4 connection request per day at the most.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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