Forum Discussion
hooleylist
Jun 24, 2007Cirrostratus
The BIG-IP will complete a three way handshake with the client if there is a TCP profile on the virtual server, regardless of the state of the nodes. If you want to reset this connection if no nodes are up, you can try this:
when CLIENT_ACCEPTED {
if { [active_members [LB::server pool]] == 0 } {
log local0. "no nodes available for [LB::server pool]. Resetting client connection: [IP::client_addr][TCP::client_port] -> [IP::local_addr]:[TCP::local_port]"
reject
}
}
Edit: changed discard to reject. But it seems that reject and discard both cause TMM to send a reset back to the client?!
Aaron