Forum Discussion
JSESSIONID Universal Persistence
Hi Team,
I have query on Universal persistence table/record created by below or any jessionid universal persistence irule. All TMM will refer to same universal persistence table or seperate universal persistence table is maintained for each TMM.
Our setup has two virtual server on different ip(two ISP) but same application behind it and same configuration
I am asking this question since we had issue where in we saw client initially was received on TMM1(VS1) and server1 was selected but after few sec (15 or 20 sec) same client request (with old jsessionid cookie) was received on different tmm and different virtual server(VS2) but this time instead forwarding connection to server1 request was sent to server2.
would like to know every tmm has seperate universal persistence table or i have to enable accross all virtual server/ service in persistence setting?
when HTTP_RESPONSE { if { [HTTP::cookie "JSESSIONID"] ne ""} { persist add uie [HTTP::cookie "JSESSIONID"] log local0. "[IP::client_addr] Clairmail persistence HTTP_Response. Cookies: [HTTP::header values Cookie]" } } when HTTP_REQUEST { if { [HTTP::cookie "JSESSIONID"] ne ""} { persist uie [HTTP::cookie "JSESSIONID"] log local0. "[IP::client_addr] Clairmail HttpRequest. Set-Cookies: [HTTP::header values Cookie]" } }
You have to enable Match Across Virtual Servers in your Universal Persistence profile. And attach the same persistence profile to your virtual servers.
Cheers,
Kees
Recent Discussions
Related Content
* 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