Forum Discussion
juan_47813
Nimbostratus
Dec 30, 2009Persistence Across Pools/Services
Hello!!
First of all, sorry for my English...
I've got to configure a F5 LTM v9.4.8 for a customer. The idea is to create an only virtual server with HTTPS service. Depending on the URI, the requests will be redirected to two pools, JBOSS one (port 8080) and Apache one (port 80). The nodes' IP's are the same for both pools, but the members obviously aren't. For this, I'll use ProxyPass iRule. I've used it before in another customer and it works fine.
My question is about persistence. I think the best option here is source address persistence, but I'd like that the persistence works between both port's, that is, if client A does a request to an Apache content, and after that, it links a page of JBOSS service, this second request stays in the same node. Will it work using Match Across Services option?
I've read through the post and I've found two contradictory statements:
1.
Match Across Services
The Match Across Services option is used in the following two configurations:
* Configurations that have multiple virtual servers with the same IP address but have different services specified
* Configurations that have pool members sharing the same address but have different services specified
According to this, it'd work. But I found this in another forum:
2.
You can only persist across virtuals/services if the pool members are the same in both cases (IP+port must match). Otherwise the system cannot find the "same" pool member in each pool.
Which one is the correct statement in my case?
Thank you very much.
- The_Bhattman
Nimbostratus
In my opinion it would be item 1 because that is exactly how it's behaving in one instance in my environment. - hoolio
Cirrostratus
I used to think both statements are correct, but they're not referring to the exact same configuration options. For match across services, LTM ignores the service (port) of the pool member. So the IP address of the two pools must be the same, but the ports can be different. - juan
Nimbostratus
Thank you very much for your replies. Aaron, could you paste the text of SOL5837: Match Across options for session persistence? I haven't got an account yet. - hoolio
Cirrostratus
Hi Juan, - juan
Nimbostratus
Hi Aaron. - L4L7_53191
Nimbostratus
Juan: Not to take the original question off track, but are you sure you need to use proxy pass? It seems to me like you may be able to use a basic setup with HTTP classes to do URI switching. Proxypass is an awesome rule, but if you can use normal Profiles to accomplish your task, I say use them...
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