Forum Discussion
Jay_Allison_400
Nimbostratus
Nov 15, 2005Brute Force iRule, any more elegant solutions?
So here is the situation. We have some front end servers that connect to some middleware using .net. .net connections stink, as they are always up, are never idle, and spawn new connections when the...
unRuleY_95363
Nov 15, 2005Historic F5 Account
Here is an approach that you suggested: make the server coming up the new backup server.
when RULE_INIT {
set ::main_server pool_A
}
when CLIENT_CONNECTED {
if { [active_members $::main_server] == 0 } {
switch $::main_server {
pool_A { set ::main_server pool_B }
pool_B { set ::main_server pool_A }
}
}
pool $::main_server
}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