Forum Discussion

Dave_21103's avatar
Dave_21103
Icon for Nimbostratus rankNimbostratus
Jun 26, 2014
Solved

LTM - Load Balancing iRule

We have a VIP that takes two connections per day coming from the same client. The client opens the two connections within the same second of each other, each connection stays open for 30 seconds. P...
  • nitass_89166's avatar
    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.html

     

    if 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