Forum Discussion

Craig_Jackson_2's avatar
Craig_Jackson_2
Icon for Nimbostratus rankNimbostratus
Nov 05, 2008

Access to pool member connection limits?

Is there any way to access or manipulate the Connection Limit value of a pool member in an iRule? I'd like to set up a rule which would allow more concurrent connections to a particular member if a persistence cookie were present. The idea is to reserve resources for ongoing persistent sessions at the expense of sessions which have not yet been persisted.

 

 

Craig Jackson

4 Replies

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    There isn't a specific command available to do that per se, but you could write the logic yourself. Something like "if pool has more than x connections, check for cookie, if cookie exists, route normally, else redirect elsewhere". Something to that effect...

     

     

    Colin
  • Would this require keeping track of the number of pool connections myself in the iRule, or is there a way to access the counts that the LTM is already keeping?
  • I'm afraid you'll have to count it by yourself.

     

     

    Through iRule we don't have access to the number of connection already established on each pool member
  • This would be a good request for enhancement to send F5 Support. I'm pretty sure it has already been requested, but it would help to throw another case on the pile.

     

     

    Aaron