Forum Discussion
Ravi_Rajan_7549
Nimbostratus
Feb 28, 2006Limiting connections based on Application
I am new to irules and need some help.
I have a pool with 2 members and a virtual server for this pool.
2 members are web servers each containing the same 10 applications. I want to lim...
Colin_Walker_12
Feb 28, 2006Historic F5 Account
Interesting use case, it sounds like you'd need a rule similar to the one in the Docs & Tips section that deals with global variables and limiting the number of connections to a vip based on client IP address. You can find that doc here: Click here
For your purposes, though, it sounds like you'd need to extend the $::active_clients array a little further, so that you had something like $::active_clients([$client_ip],[$appName]), which would represent the number of connections to the specified application, from a given client IP address. Note that this could produce a very large array depending on your usage.
-Colin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
