Forum Discussion
Mike_Graston_10
Nimbostratus
Mar 21, 2007Turning VS off when nodes down
All,
I am having an issue with Virtual servers staying up even when there are no no nodes on the back end up and running. I need to make the VIP address not availible when this event occur...
hoolio
Cirrostratus
Jun 24, 2007The 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
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