Forum Discussion
nitass
Aug 20, 2014Employee
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