Forum Discussion
raul_rodriguez_
Apr 07, 2005Nimbostratus
Multi-tier application - Maintaining persistence/state
Application Logic:
Client--HTTP-->VIP(tier1)-->Tomcat webserver--TCP:8009-->VIP(tier2)----------->JDK1.4.2_06:Tomcat server
I need to be able to loadbalance both tiers, with persistence based on the Client IP. In other words I need "state" maintained between the Client, webserver and the JKD:Tomcat server. But if a new client connects to the same webserver (tier1) it should be able to send this new clients requests to the 2nd JDK:Tomcat server...etc.
Can I do this with an iRule? and how?
Thanks.
- drteeth_127330Historic F5 AccountSo tomcat is connecting to the tier2 vip? Is tomcat simply forwarding the request? Does it preserve the request headers and cookies? Is it transparent, i.e. does it preserve the client IP address? You should be able to do this with iRules provided that there is some information to persist on.
- unRuleY_95363Historic F5 AccountAre both the tier 1 and tier 2 VIP's hosted on the same BIGIP?
- raul_rodriguez_NimbostratusYes, both Tier Vip's are on the same BIGIP.
- Brian_Gupta_115NimbostratusAm a bit confused about persistence in a URI parsing iRule. What is the order of precedence?
- drteeth_127330Historic F5 AccountBy default, separate persistence entries are maintained for each pool. That is, the pool is an implicit key for a persistence record unless the "across_pools" attribute is enabled on the persistence profile.
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