Forum Discussion
Chris_Miller
Altostratus
Jul 22, 2010Least Connections using Available App Instances
Let's assume I have 2 web servers in a pool, Server A and Server B. Server A sends traffic to App Servers A, B, and C. Server B sends traffic to App Servers D, E, and F.
LTM can query the health of App Servers A-F. With the idea of somehow using the "active_members" command for this task, I've created "pool_app_A" which contains App servers A-C and "pool_app_B" which contains App servers D-F.
I basically want to use Least Connections for our pool but if an App server is down, I want to use more of a ratio that represents it.
I'm trying to think of the optimal way to do this:
when HTTP_REQUEST {
set app_A [active_members pool pool_app_A]
set app_B [active_members pool pool_app_B]
Now, I basically need to divide "app_A" by 3 and "app_B" by 3 to represent App health for each server in the pool. If 1 of the apps is down in pool app_A for instance, we'd want to send it less traffic.- Hamish
Cirrocumulus
Why do you limit web A to App a.b.c and web B to App d,e,f? - Chris_Miller
Altostratus
Posted By Hamish on 07/23/2010 05:09 AM - hoolio
Cirrostratus
Hi Chris, - Chris_Miller
Altostratus
Posted By hoolio on 07/23/2010 11:58 AM
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects