Forum Discussion
JRahm
Admin
Aug 29, 2005Allowing only active connections when member is disabled
Is there a way within an iRule to mandate that disabled members receive active connections only, and persistent and new connections are killed? This way the thin client in the field will requery from...
Colin_Walker_12
Aug 30, 2005Historic F5 Account
Well, as far as setting node states, that's something that's better handled by iControl. Click here
If you're just looking to use the same rule and have the VIP not respond if all nodes are down...try using discard instead of reject.
when CLIENT_ACCEPTED {
if { ([IP::client_addr] eq "10.10.192.8") || ([IP::client_addr] eq "10.20.192.8") } {
persist none
}
if { [active_members stl-ac24-pool] == 0 } {
discard
}
}This should appear as a dead connection, since it will just drop the incoming request if there are no active members.
Hope this helps,
-Colin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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