Forum Discussion
Ganesh_Ramamoor
Nimbostratus
Oct 30, 2005more than one pool in an iRule
How can I have requests to be evenly distributed across 2 (or more) pools under the same "if" condition in an iRule? For example, If I configure an iRule like:
when HTTP_REQUEST { ...
Brian_Gupta_115
Nimbostratus
Oct 30, 2005All requests are going to pool 2 because the pool command does not cause the iRule to stop executing code. The second pool command is executed immediately after and the pool is changed from pool 1 to pool 2.
You actually don't need two pools. A pool can consist of members that are listening on a variety of different ports.
-Brian
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
