Forum Discussion
Krzysztof_Kozlo
Nimbostratus
Aug 03, 2007lb::reselect fails to select another node
I stripped out everything fancy and this still doesn't work. The behavior is peculiar:
rule reselect_test {
when LB_FAILED {
LB::reselect
}
}
poo...
Deb_Allen_18
Aug 10, 2007Historic F5 Account
I'd say you need to open a Support case, then, especially if you've been struggling with this for several months without resolution.
An iRules workaround might be to manually re-select the other server, then bail out if both are non-responsive. I've had other customers implement similar logic successfully for other reasons, but it obviously won't scale well above 2 servers:
when CLIENT_ACCEPTED {
set failed 0
}
when LB_FAILED {
incr failed
if {$failed > 1 }
specify action if both servers failed
reject
} else {
default case would match if no pool or server selected
switch [LB::server addr] {
1.1.1.1 { node 1.1.1.2 0 }
1.1.1.2 { node 1.1.1.1 0 }
default { reject }
}
}
}The advantage of monitoring is that a monitor looks for an expected response, rather than just a SYN/ACK, to determine if the server is healthy enough to receive traffic.HTH, and please let us know what you discover with Support.
/deb
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
