Forum Discussion
Howard_Poz_1055
Nimbostratus
Apr 03, 2006Need Help - Override tcp session timeout due to Source_addr Persistence
New to iRules:
====================
Need assistance in getting traffic directed back to a "preferred" node when it comes back online - Essentially to over-ride the tcp session timeout value to the "failover server". This client is using source-address persistence. I found this tidbit and have been looking thru the postings:
"With this simple rule, and the proper pool configuration (I.E. a separate pool for your failure server[s] ) you can be sure that you aren’t persisting to the failure server, and that your users will be back to using the proper web servers as soon as they’re back online".
----------------------------------------------------------------
Not sure how to apply or if this is the right path:
rule nopersist_failover {
when LB_FAILED {
persist none
LB::reselect pool FAILURE_POOL
}
}
================================================================
Would appreciate assistance. Thank you very much !
- Colin_Walker_12Historic F5 AccountThe way this would be used in the scenario it sounds like you're outlining, is that you would create seperate pools for your "preferred" and "fallback" hosts.
rule nopersist_failover { when LB_FAILED { persist none LB::reselect pool fallback_pool } }
- Howard_Poz_1055
Nimbostratus
Colin - Thank you VERY MUCH for your input. Much appreciated !
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