Forum Discussion
mihai_178850
Nimbostratus
Mar 25, 2015Disable BGP route adv when pool member < 2
Hi all,
I just fell on the subject of iCALLs and am trying to get around their ways of functioning.
I have 2 F5 in different geo-locations both announcing the same VIPs, albeit the se...
amolari
Cirrostratus
Mar 25, 2015Maybe the following?
- route adv. will stop when the VS is down
- trick is to bring the VS down if < 2 pool member (not standard behaviour: down if all)
If we create a new "status VS" (with reserved IP, port 80) and apply a similar Irule to it
when HTTP_REQUEST {
if { [active_members ] <= 1 } {
log local0. "not enough members in pool "
HTTP::respond 503
}
else {
log local0. "enough members in pool "
HTTP::respond 200 content "UP"
}
default {
HTTP::respond 503
log local0. "monitor check error"
}
Then we put the pool members to this VS
We add a HTTP monitor (with specific IP/Port of "status VS") to the original pool and require all monitors to be UP
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