Forum Discussion
asamosaad
Nimbostratus
Mar 04, 2020iRule to redirect to another VIP if all pool members are down
Hi! as a newbie i need to get get help for an iRule to check if all pool members are down then forward http requests for domains abc.com & xyz* to another vServer (VIP). I would be thankful for your...
Mayur_Sutare
MVP
Mar 04, 2020Please try this ,
when HTTP_REQUEST { if { [active_members EXAMPLETEST_POOL] == 0 } { HTTP::redirect "https://abc.com" } }
Hope it helps you!
Mayur
- asamosaadMar 04, 2020
Nimbostratus
Hi Mayur,
Thank you for your answer, i do appreciate it.
there are two conditions for the redirect:
- all pool member is down?
- is domain abc.com OR xyz.*?
- then redirect to another vServer VS2 on the same ltm
- all pool member is down?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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