Forum Discussion
Exploitation_Ca
Oct 23, 2013Nimbostratus
IRULES - LB::reselect
Hello,
I want integrate this irule on my loadbalancer.
But you can say me if this irule is totaly correct?
Because I dont know how "lb::reselect" will react.
When my request arrive on my node, if...
Exploitation_Ca
Oct 28, 2013Nimbostratus
I seen in devcentral site.
l can do?
when HTTP_REQUEST {
set poolname "TEST"
set fqdn "TEST.com"
set NbNode 2
if { [string tolower [HTTP::host]] equals $fqdn }
{
set request_headers [HTTP::request]
pool $poolname
}
}
when HTTP_RESPONSE {
if { ([HTTP::status] == 500) or ([HTTP::status] == 404) or ([HTTP::status] == 503) } {
if { [active_members $poolname] > $NbNode } {
LB::down
HTTP::retry $request_headers
}
else {
HTTP::retry $request_headers
}
}
}
- What_Lies_Bene1Oct 28, 2013CirrostratusThat would work although I don't see the point of LB::down; this functionality should be performed by a monitor.
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