Forum Discussion
Bryan_Goodwin_1
Mar 20, 2014Nimbostratus
Priority group failback
I need to figure out how to sever a persistent TCP connection in order to allow my lower priority group to failback to the higher priority group. Anyone know of an iRule way of doing this?
Basic...
Mar 21, 2014
Hi!
Assume that 10.0.0.1 is the primary server and 10.0.0.2 is the fallback this should work (per request):
when HTTP_REQUEST_SEND {
if { [LB::status pool poolname member 10.0.0.1 80] equals "up" and [IP::addr [LB::server addr] equals 10.0.0.2] } {
reject
}
}
If you have more than one server in the priority group, just add some "or" to the if statement.
/Patrik
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