Hi,
I make a pool/node selection when running an iRule. It looks like the iRule does not trigger the lb_failed event when the pool/node is down. When is the lb_failed event triggered?
Part of mu iRule:
} else {
pool $poolname member $nodeIp $portValue
}
}
when LB_FAILED {
pool $poolname
}
Marcel.
Have you tried adding a log command to the LB_FAILED section to be sure that this is in fact being executed? That would be my first suggestion, if not.
Once we know for sure that the LB_FAILED section is not being invoked, we can look at why this might be.
Colin
I did check this and saw some strange behaviours… When I used the firefox browser I saw a logging in the log that the LB_failed was ‘selected’. When I used the IE the section was not hit. Very strange behaviour.
I did change the pool command to the LB::reselect command for the reselection of the member that is down.
I will check more of this behaviour tomorrow.