Forum Discussion
Irule for redirect when all pool members down, need one for each pool? and what is the standard practice for sorry server?
I have a query here. The irules works when your default pool is down. I.e it displays sorry page for the main URL. I've many L7 URI pools in my application, So the requirement is that for every URI also it should display the sorry page.
i.e if the main URL is https://abc.apple.com and it has a L7 URI for /payment which which has different set of nodes.
I want the even https://abc.apple.com/payment should also display the sorry page when the URI pool is down.
Can someone suggest what should be the "if" condition, to take in account all pools of an application?
- Vijay_EMay 09, 2017Cirrus
You can try something like:
when LB_SELECTED { if { [active_members [LB::server pool]] == 0 } { HTTP::respond 200 content " " } }
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