Forum Discussion
OpenShift : iRule for redirecting to Status URL if PODs are unreachable
Hi,
The issue with your iRule is that is doesn't not take into consideration the health status of your pool members.
I would suggest this: in the HTTP profile there is a property called "Fallback Host". When all your pool members are marked down by the monitor assigned to the pool, the bigip will send a 302 response.
Many thanks,
Karim
- h_elyotApr 03, 2019
Nimbostratus
Hi Karim,
Thanks for the suggestion. So using http://www.statuspage.com as Fallback Host in the profile should do the job, instead of using a iRule, if I understand well?
Regards
- KarimBenyelloulApr 03, 2019
Cirrostratus
Hi,
Yes, the fallback host will redirect client only in the following situations :
-
A pool member is not chosen (the system failed to select a pool or a pool member, or no pool members were available).
-
A pool member is unreachable (when no route to the target exists).
-
A pool member is unresponsive (resets a connection request).
-
A pool member closes an established connection before the request is sent.
More info here : https://support.f5.com/csp/article/K6510
Many thanks,
Karim
-
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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