Oct 04, 2013
virtual-server with multiple irules : conditions of invocation
virtual-server-1
default pool-1
irule-1.conf
priority 100
for url A , conditional logic does to this line :
pool pool-2
irule-2.conf
priority 110
for url A , conditional logic goes to this line :
pool pool-3
if request url A is sent to virtual-server-1 , to which pool is the traffic routed ?
i understand that irule-1 is invoked first ( priority=100 < priority=110 )
i'm wondering about the conditions for invocation of irule-2
is irule-2 always invoked following irule-1 ? ( so that for url A end result is route to pool-3 )
or is irule-2 only invoked if irule-1 does not perform an action ( route to pool , redirect back to client , rewrite to pool, etc ) ? ( so that for url A end result is route to pool-2 )
how does the virtual-server default pool ( pool-1) figure-in to this ? is traffic directed to pool-1 only for those cases where both irule-1 and irule-2 fail to perfom an action ?