Forum Discussion
Pavel_71715
Nimbostratus
Nov 19, 2013forced failback via iRule
Hello,
Does anybody have idea how to solve following scenario? Need to forward traffic to only one node in a time. If primary node is down traffic if forwarded to the backup node. When primary is up...
Zdenda_101923
Altocumulus
Nov 20, 2013Hi, I had the same issue - member with lower priority kept connections eventhough primary member was back online. It is because LB doesn't cut current connections on backup member by default. This made troubles with long-timeout connections. Did anybody have the same issue?
Luis_Araujo_560
Nimbostratus
Mar 04, 2016Hello,
I had the same issue too and I change the iRule condition from LB::reselected to reject and it´s work very well.
I hope that it can help in this case:
when CLIENT_ACCEPTED {
set pool_name [LB::server pool]
}
when LB_SELECTED {
if { [active_members $pool_name] > 1} {
if { [IP::addr [LB::server addr] equals 2010::21%2] } {
reject
log local0. "[LB::reselect] for [IP::server_addr]"
}
}
}
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