Forum Discussion
Dayton_Gray_103
Nimbostratus
Mar 27, 2009npath and persistence
What options do I have to maintain persistence with nPath (layer 4) routing? Ideally we would use cookie based persistence, but this is not possible due to needing an HTTP profile associated with the Virtual Server. We aren't able to use source address or SSL session persistence for various reasons. What other options do I have to persist?
Thanks!
5 Replies
- James_Quinby_46Historic F5 AccountThe Universal Inspection Engine (UIE) can be used to create persistence records for just about anything. A common use-case for UIE is to pull JSESSIONID strings out of HTTP headers or cookies and create persistence records from them. There's a write up here:
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=48
This iRule, for example:
http://devcentral.f5.com/wiki/default.aspx/iRules/FixSelectPoolBasedOnSenderCompID.html
...uses UIE to create persistence for the FIX protocol. There is also some information in the Config guide (check the bottom of this page: https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/LTM_config_guide_943/ltm_persist_profiles.html1193560).
In short, you're going to want to identify something in the traffic that can be used to identify and distinguish sessions, use UIE to pull this string out and then persist on it. - L4L7_53191
Nimbostratus
To clarify: are you running true npath? If so, persistence may be difficult for you as the BigIP isn't privy to the entire flow. From the sounds of your original post it's not clear if you're running in-line or not. Hopefully, you're in-line. If this is the case, you've got a bunch of options, as the post above indicates.
-Matt - Dayton_Gray_103
Nimbostratus
Yeah this will be running true nPath (outbound node traffic does not touch the BigIP) and the virtual servers are configured as type: Performance (Layer 4). Will UIE still work with this? - L4L7_53191
Nimbostratus
I don't think it will, but someone please correct me if I am wrong. The challenge with this design is that the BigIP only sees a portion of the full traffic flows, so your persistence options are dramatically limited.
-Matt - dennypayne
Employee
I don't see why you couldn't use UIE to persist based on some element of each request, since every request should come to the LTM. You shouldn't need to do anything with responses, so the fact that those are bypassing the LTM shouldn't matter. Maybe I'm missing something too, but...
Denny
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
