Forum Discussion
Jeff_Lang_89686
Nimbostratus
Aug 23, 2005Help, iRule connection limit, apology server.
I'm looking for an iRule that answers an SSL virtual ip. Normally sending traffic to a pool of ssl servers, and at a connection limit of say 100, it sends to a pool of apology servers (port 80). I will need to make them answer 443 instead as I don't want to ssl proxy and I know
redirect isn't an option as it is encrypted.
Thanks.
- drteeth_127330Historic F5 AccountTry this. Configure a connection limit on each pool member. When all the pool members have exceeded this limit, new connections would typically be rejected. However, you can write an LB_FAILED rule which uses LB::reselect pool apology_pool to go to the apology pool instead.
- Jeff_Lang_89686
Nimbostratus
rule connect_apology { - Colin_Walker_12Historic F5 AccountThat looks close to me. You wouldn't need the mainpool portion though, just the LB_Failed event section...like this:
rule connect_apology { when LB_FAILED { LB::reselect pool apology_pool } }
- Jeff_Lang_89686
Nimbostratus
Aah... forgot I dont need to specify default pool. - Jeff_Lang_89686
Nimbostratus
This worked fine. The only thing was, I needed to remove all profiles to make it work.
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