Forum Discussion
rajesh1
Nimbostratus
Jun 02, 2011Persistence using Jsessionid in the HTTP path
Hi ,
I am trying to acheive the session persistence using the following IRULE assigned to Universal persistence profile(checked - Matched across the services)
In the VS - default persistence is Universal and fallback is Source_addr affinity.
The application is not working Eventhough the IRULE matching the string (identified using the stats and logs) and the logs mentioned using the persistence record from the path .
The Tcpdump on the servers show the traffic from the specific Jsessionid is round robin between the servers .
The irule i used for persistence is attached to this discussion forum.
Please advice me the recommended configuration
Thanks
Raj
4 Replies
- hoolio
Cirrostratus
Hi Raj,
What do you see in the logs when the failure occurs? Do you have a OneConnect profile added to the virtual server? This is necessary whenever you're doing per HTTP request persistence. If you're using SNAT on the serverside connection, you should use a /0 source mask on the OneConnect profile. If you're not doing source address translation on the serverside connection, create a custom /32 source mask OneConnect profile and add that to the virtual server.
Aaron - rajesh1
Nimbostratus
Hi Aaron,
Enabling the oneconnect profile fixed the issue.
Thanks again.
Raj - harshpal_35434
Nimbostratus
Hello,
I am also having the same problem in my case ,i am seeing the hits on irule but i don't see any persistence record in "b persist show all" and i am not able to do the persistent .
In my case one web server is calling a APP VIP it not the browser ,Please suggest .
Harsh - nitass
Employee
Harsh,
can you post the irule here?
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
