Forum Discussion

atoth's avatar
atoth
Icon for Cirrus rankCirrus
Oct 11, 2016

Check active connections to a pool?

Is there any function that will check the active connections to a pool or better yet a pool member? Something similar to show ltm pool members.

 

Based on this, I'd like write an irule, where if it goes above a certain threshold, it will send a custom http header with a certain value to warn the server, or something like that. Not exactly sure how I'm going to go about doing that.

 

4 Replies

  • Hi Atoth,

     

    I'm trying to understand what you'd want the server to do based on the message being received ?

     

    If your solution is scaled accordingly, would limiting the number of connections to each server be a better load balancing method ?

     

  • From my understanding, the application can switch to a lightweight version of itself. There are times when the traffic to the servers spike and the application team thinks that this would be useful in that scenario.

     

  • Sorry, may be I am missing something. If the server needs to switch to a lightweight version of an application based on connections on F5, can't the server do it based on connections on the server instead of connections on F5 ?

     

  • Assuming the light-weight version of the application was configured at a different port on the same server or on a completely different server address, you might be able to put the lightweight application services in the same pool as the normal application services, and use Priority Group Activation to activate the lightweight-version pool member(s) only when a configured connection limit was reached on a normal-version pool member. Persistent connections may still go to the normal-version server that has the connection limit, but new connections would be load balanced to the light-version.