Forum Discussion
Gill_32697
Nimbostratus
Feb 06, 2013irule for default and backup secondary pool
Need help fixing the second half of this irule, after the redirect.
I will be adding a new pool as a backup pool incase the default pool members al all down. So is defaul HQ-Pool is down then us...
nathe
Cirrocumulus
Feb 06, 2013Gilbert,
I'm wondering whether both a redirect to https and checking about the pool members will work in a single iRule. I'm sure I will be corrected if wrong but I'd add the redirect to the http virtual server (which I presume you've got) and then have another iRule for the pool selection on the https virtual server.
when CLIENT_ACCEPTED {
if {[active_members HQ-Pool] < 1}{
Send to the backup pool
pool SC-Pool
}
else {
Send to the default pool
pool HQ-Pool
}
Does this help your scenario?
N
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