Forum Discussion
irule for load balancing to particular pool member based on maximum number of http requests
i m only looking at a simple irule which can be used to that the first 1000 connection is exceeded then only it should be redirected to the second pool member.
you can count number of active connections using table command. it could be similar to this (you have to revise it because the example counts number of active connections for each client ip).
v10.1 - The table Command - Examples by Spark (Limiting Connections To A VIP)
https://devcentral.f5.com/articles/v101-the-table-command-examples
to send traffic to specific pool member, you can use pool or node command.
pool
https://devcentral.f5.com/wiki/iRules.pool.ashx
node
https://devcentral.f5.com/wiki/iRules.node.ashx
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