JMVaughn_44893
Jul 13, 2011Nimbostratus
RST from f5 when virtual server is down
Hopefully someone can assist. Running BIG-IP LTM v10.2, and I'm trying to create an iRule that will redirect to another site when the virtual server is down. I've tried several examples from the forums, but nothing seems to work. I set a packet capture, and what I see is:
SYN
SYN, ACK
ACK
RST, ACK
However, the counter on the iRule increments...The virtual server is down by virtue of the pool being down which is doing an HTTP check.
I've tried:
when HTTP_RESPONSE {
if { [HTTP::status] == "403" } {
HTTP::redirect "www.error.com"
}
elseif { [HTTP::status] == "404" } {
HTTP::redirect "www.error.com"
}
}
I've also tried returning a custom error page.
Also tried this:
when HTTP_REQUEST {
Check if the default pool has less than one active member
if { [active_members [LB::server pool]] < 1 } {
HTTP::redirect "www.error.com"
}
}