Forum Discussion
sub-pools for failover?
Thanks!
Mark
- Colin_Walker_12Historic F5 AccountIt sounds like what you need is a pair of pools, and an iRule to distribute between them.
when HTTP_REQUEST { if { $myPool equals "pool1" } { set myPool "pool2" } else { set myPool "pool1" } pool $myPool }
- brad_11480Nimbostratus
I'm reading that the above is an illustrative example. I'm surprised it is at a HTTP_REQUEST event and it isn't clear how the persistence is carried and on failure that the selection is in the same pool. But perhaps it doesn't matter since the persistence will dictate the member for the requests once it has been established and this code in the HTTP_REQUEST doesn't alter that.
Okay then to complicate it if all members of one pool are unavailable - become unavailable it needs to select a member of the other pool. If the pool is explicitly stated then how does it know what the 'fallback' pool is for the other group? Thanks!!!!
Recent Discussions
Related Content
* 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