Forum Discussion
Awkrd1_7470
Jan 11, 2012Nimbostratus
Fallback to different VIP in iRule, need status checking and iRule exit
I used the example in a 2/15/2010 post "Fallback to different VIP in i-Rule" as a solution and it worked like a charm until the two VIPs (backing up each other) both lost all pool members. This caused...
Awkrd1_7470
Jan 12, 2012Nimbostratus
Thanks guys! This works.
when CLIENT_ACCEPTED {
Check if currently selected pool has no active members
if {[active_members Pool A ] == 0}{
Check if the fallback VIP has active members
extra if prevents looping
if {[active_members Pool B] > 0}{
Use the fallback VIP
virtual fall_back_vip_B
take corrective step
} else {
discard
}
}
}
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