Forum Discussion
Godswill_Aliagh
Nimbostratus
7 years agoRedirect triffic on out of service
irule to redirect traffic to an outside website when all pool members are down
Samir_Jha_52506
Noctilucent
7 years agoYou can write iRule but i suggest you to add fallback details in HTTP profile.
OR Maintenance URL
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://maintenance.host.url/dir/dir/file"
TCP::close
}
}
- Godswill_Aliagh7 years ago
Nimbostratus
The script worked for me without "dir/dir/file"
- Samir_Jha_525067 years ago
Noctilucent
Url was just an example. However you can customize based on requirements.
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