Persistence issue with aflex

leburtonleburton Member

Hi, I have a very simple script handling redirection to an outage server if my primary servers aren't available (see below). I have however got an issue that when persistence is applied (source-ip or cookie persistence), users are being persisted to the outage pool even after the primary service group is back online. Is there a simple way to expand the script to stop this unwanted persistence case?

e.g. using persist uie delete ? or should I use match-type service group with a cookie persist template?

when RULE_INIT {

 set ::DEBUG 0


when LB_FAILED {

pool service-outage_v4-80

if { $::DEBUG == 1 } { log "ipv4 service outage!" }



Sign In or Register to comment.