Forum Discussion
nathe
Feb 06, 2013Cirrocumulus
Gilbert,
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