Forum Discussion
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
- The_BhattmanNimbostratusHi Brett,
- ArieAltostratusAside from the persistence issue (and without knowing the architecture), will POOL_B always be available when POOL_A is not?
Unless you need a lot of functionality on the "downpage" it may be preferable to embed the HTML on the LTM and send it via a "respond"-command when POOL_A is down. That way you can display the page even if the entire environment behind the LTMs is down.
- nitassEmployeeit seems to be okay to me.
- Brett_10751NimbostratusI was able to test this further on a development vip/pools using examples provided by nitass and persistence does not seem to be an issue. It is working as it is suppose to. I didn't try bhattman's suggestion as it seemed to be working okay with persist none on the test VIP. I'll have to test this further on my actual production VIP which happens to be HTTPS which I failed to mention in the intial post.
- hooleylistCirrostratusHi Brett,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects