Forum Discussion
Multiple Persistence Profiles & Timeouts / 1 VIP
Hi all,
Firstly, whats happened to devcentral.. All my history did not merge over and most articles are 404 now :-(
Has anyone had to figure out the following...
1 VIP, Multiple services behind that VIP using SNI.
Requests are filtered off to their respective pool via an iRule using the host header.
Everything is working as it should, however we have had some requests now to use different persistence timeouts for different ways the traffic is being filtered to. The VIP is using one persistence source addr as part of the setup, but I need to in effect use multiple persistence profiles to be used.
I have thought about universal persistence on the HTTP response, but it this the only way this can be achieved? Can the iRule not filter the request to the destination pool, but also have a persistence profile added in there also?
Thanks..
Hi Markie,
yes persistence can be set using an irule depending on the URL or host information. See two examples below
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { /myuri { persist source_addr } } }
when HTTP_REQUEST { if { [HTTP::host] equals"www.xyz.com"} { persist source_addr } }
Best Regards,
Oscar Pucheta
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