Forum Discussion
f5user_81982
Nimbostratus
Nov 17, 2014Irule for failover between pools
I need to write an irule for failover. If pool1 is available then use Pool1 else use Pool2 else send a message saying that Application is not available.
nitass
Employee
Nov 17, 2014you may try to check if pool is available using active_members and send http response (when no pool is available) using HTTP::respond.
active_members
https://clouddocs.f5.com/api/irules/active_members.html
HTTP::respond
https://clouddocs.f5.com/api/irules/HTTP__respond.html
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