hello,
When "lb::down" command is executed. Normaly on "network map" i can see my node is down or no?
Because when my irule is active on my pool.
All request is retry and i haven't error during my load test.
But all node up on "network map". There is no down node
My new code is correcte or no?
when HTTP_REQUEST {
set poolname "TEST"
set fqdn "TEST.com"
if { [string tolower [HTTP::host]] equals $fqdn }
{
set request_headers [HTTP::request]
pool $poolname
}
}
when HTTP_RESPONSE {
set currentnode [LB::server addr]
set portnumber "80"
if { ([HTTP::status] == 500) or ([HTTP::status] == 404) or ([HTTP::status] == 503) }
{
LB::down pool $poolname member $currentnode $portnumber
HTTP::retry $request_headers
log "Server $poolname $currentnode $portnumber down!"
}
}
thank you.