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.
2 Replies
- nitass
Employee
you 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 - R_Marc
Nimbostratus
I think priority groups would be a better way to address this, with an iRule just for a sorry response. So one pool, 3 different priority groups, 1 min per group.
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