Forum Discussion
Persistence Question
Hello, I did some searching and was not able to find anything that would clearify how presistence is handled between 2 pairs of F5 LTM's and snat addresses.
Config:
External client (Source) ->F5 LTM pair with snat addr (LTM1) -> apache pair (PRX) -> F5 pair with snat addr (LTM2) -> application server pair (APP)
Below are 2 presistence profiles I'm interested in:
- Cookie persistence
Cookie persistence uses an HTTP cookie stored on a client's computer to allow the client to reconnect to the same server previously visited at a web site.
- Source address affinity persistence
Also known as simple persistence, source address affinity persistence supports TCP and UDP protocols, and directs session requests to the same server based solely on the source IP address of a packet.
Question:
1. With Cookie presistence, if I set the LTM2 with will the cookie presistance will the cookie come from the source client machine or from the LTM1?
2. With Source address affinity presistence, if I set the LTM2 with will the Source addr presistance come from the source client machine or from the LTM1 snat IP?
3. With eaither of these profiles, will I need to have presistance set on both LTM1 and LTM2 for it to work properly?
Thanks in advance!
-Greg Wilson
2 Replies
- nitass
Employee
1. With Cookie presistence, if I set the LTM2 with will the cookie presistance will the cookie come from the source client machine or from the LTM1?persistence cookie will be inserted by ltm2 in the first http response to client. client will send the cookie in subsequent request and ltm2 will use it to send the request to server client previously connects.
2. With Source address affinity presistence, if I set the LTM2 with will the Source addr presistance come from the source client machine or from the LTM1 snat IP?ltm1 snat ip.
3. With eaither of these profiles, will I need to have presistance set on both LTM1 and LTM2 for it to work properly?persistence profile is not needed on ltm1 if you do not want to persistence to the same apache server.
hope this helps. - Greg_33932
Nimbostratus
Thanks for the quick response!
Take care!
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