Forum Discussion
Kev_Pearce_1070
Nimbostratus
Aug 25, 2006Can I read the status of a pool in an iRule?
Hi,
I'm trying to write a very short simple iRule that says:
if pool1 is up then use pool1 else use pool2
But I can't find how to read the status of an pool in an iRule. ...
Deb_Allen_18
Aug 30, 2006Historic F5 Account
Hi Kev -
You can set a fallback URL for the virtual server, but it would be to a specific host and URI, rather than a reference to another pool.
Instead of a rule or fallback host, you could use priority grouping in your pool to use the preferred servers if available, otherwise use the fallback servers. To do that, define all of the servers in the default pool, assigning a higher priority to the preferred servers, and a lower priority to the fallback servers, setting "Priority Group Activation" to "Less than 1 available members"
HTH
/deb
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
