Forum Discussion
Bala_02_152654
Nimbostratus
Aug 20, 2014irule for load balancing to particular pool member based on maximum number of http requests
I have a virtual server 192.168.1.1 and pool members are 10.10.10.1 and 10.10.10.2 The both pool members are basically serving a streaming media content. It listens on either http or any streaming me...
nitass
Employee
Aug 20, 2014i 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
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