Forum Discussion
source address affinity persistence and SSL persistence together
Hello I’m working on setting up persistence on my LTM virtual server, I would like to do source address affinity persistence and SSL persistence together. But all I see is having a “Default Persistence Profile” and a “Fallback Persistence Profile”
Default Persistence Profile = Specifies the persistence profile you want the system to use as the default for this virtual server ! Fallback Persistence Profile = Specifies the persistence profile you want the system to use if it cannot use the specified default persistence profile. ! Therefore my question is how I setup “source address affinity persistence and SSL persistence together”.
Thanks
2 Replies
- Brad_Parker
Cirrus
You can't really set them up together as one uses the persistence table on the BigIP(source affinity) and one doesn't as the persistence is maintained by the client(cookie). What you can do though is to do a universal persistence and set your persistence based on a combination of the source address and a cookie value.
https://support.f5.com/kb/en-us/solutions/public/7000/300/sol7392.html
A possible iRule for your uie could look like this:
when HTTP_RESPONSE { if { [HTTP::cookie exists somecookie] } { persist add uie "[IP::client_addr]_[HTTP::cookie somecookie]" } } when HTTP_REQUEST { if { [HTTP::cookie exists somecookie] } { persist uie "[IP::client_addr]_[HTTP::cookie somecookie]" } } - KDS2014
Nimbostratus
Interesting, thanks for that information I will look into.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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