Forum Discussion
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
- IainThomson85_1
Cumulonimbus
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 ?
- atoth
Cirrus
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.
- Vijay_E
Cirrus
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 ?
- crodriguezRet. Employee
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.
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