Forum Discussion
VIP monitoring multiple Pools
Thanks Dario and JG.
In my use case, I don't want to respond to client. we have backup. I just want to mark VIP down if any of the Pools are down, so the our BIG IP- DNS will not provide that IP to the client.
Basically our setup looks like below,
VIP
Default Pool : A
Other pools: B,C,D
Traffic between Pools being handled by an Irule with URI mapping.
We would like to see if there is any way where active_members of Pool A or B or C or D < 1 then Mark the VIP down/Red or Tell Big-Ip DNS that I am down.
Can we do that?
Are you running an old release?
This is not a normal behavior now.
My config...
ltm virtual VS-TEST_2000 {
destination 10.130.40.150:sieve-filter
ip-protocol tcp
mask 255.255.255.255
profiles {
http { }
tcp { }
}
rules {
RULE_MarkDown
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
vs-index 18
}I'm forcing pool state down using UDP monitor.
ltm pool P-ABC_80 {
members {
N-WEB1_10.1.1.1:http {
address 10.1.1.1
session monitor-enabled
state down
}
}
monitor udp
}
ltm pool P-DEF_80 {
members {
N-WEB2_10.1.1.2:http {
address 10.1.1.2
session monitor-enabled
state down
}
}
monitor udp
}iRule
when HTTP_REQUEST {
set uri [HTTP::uri]
if { $uri starts_with "bla" } {
pool /Common/P-ABC_80
}
elseif { $uri starts_with "ble" } {
pool /Common/P-DEF_80
}
else {
drop
}
}KR,
Dario.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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