Forum Discussion
nitass
Oct 23, 2012Employee
need to know why some requests which supposed to go to pool_X are going to default pool.is there any other irule on the virtual server? i guess it might have since you set priority 10 to the event.
anyway, just a quick confirm. when Pool_X is down, bigip won't send traffic to Default_Pool and client will receive reset.
[root@ve10:Active] config b virtual bar list
virtual bar {
snat automap
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/xyz*" -
"/YwZ*" -
"/AbC*" {
pool Pool_X
}
default {
pool Default_Pool
}
}
}
}
[root@ve10:Active] config b pool Pool_X list
pool Pool_X {
monitor all fake
members 200.200.200.111:80 {}
}
[root@ve10:Active] config b pool Default_Pool list
pool Default_Pool {
members 200.200.200.101:80 {}
}
[root@ve10:Active] config b pool Pool_X
POOL Pool_X LB METHOD round robin MIN/CUR ACTIVE MEMBERS 0/0
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
+-> POOL MEMBER Pool_X/200.200.200.111:80 inactive,down
| session enabled priority 0 ratio 1
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
| requests (total) = 0
[root@ve10:Active] config tcpdump -nni 0.0 not host 200.200.200.10 and port 80
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on 0.0, link-type EN10MB (Ethernet), capture size 108 bytes
01:50:36.809874 IP 172.28.20.11.59060 > 172.28.19.79.80: S 2018743163:2018743163(0) win 5840
01:50:36.809921 IP 172.28.19.79.80 > 172.28.20.11.59060: S 1900520667:1900520667(0) ack 2018743164 win 4380
01:50:36.810630 IP 172.28.20.11.59060 > 172.28.19.79.80: . ack 1 win 46
01:50:36.810720 IP 172.28.20.11.59060 > 172.28.19.79.80: P 1:171(170) ack 1 win 46
01:50:36.810842 IP 172.28.19.79.80 > 172.28.20.11.59060: R 1:1(0) ack 171 win 4550