Brett_10751
Jun 07, 2011Nimbostratus
irule to change to downpage pool and change persistence
I have a VIP setup that has POOL_A with two nodes in it with default persistence profile - source address affinity with a value of 600 seconds.
On the VIP I have a irule setup that if it sees that the VIP is down then it will fail over to POOL_B without persistence. Pool B is a downpage that we wanted to use if the site exceeds its connection limits or is down for maintenance.
when LB_FAILED { persist none LB::reselect pool POOL_B }
So as a test I set each node in POOL_A to have a connection limit of 1. So after I initiated a second connection to either node in POOL_A I was sent over to POOL_B's downpage, but then I changed the connection limit back to unlimited on POOL_A and the pool was available but my client persisted on the downpage pool - POOL_B. After 10 minutes (600 seconds) after refreshing I was eventually redirected to POOL_A
Not sure what I persisted on the downpage even though POOL A was available
Shouldn't this work? Any ideas on how I can do this differently?
Thank you,
Brett