Forum Discussion
Nick_T_68319
Nimbostratus
Feb 20, 2009GTM - Static Persist
Can someone explain to me how static persist works? Here is my concern..
I have two datacenters hosting an e-commerce web site. In order for users to not lose their session, they NEED to stay in the same datacenter. How does static persist ensure the users get the same dns request back from the GTM? What if a user has 3 DNS servers from their ISP. If DNS server A requests the IP for them, then a little later, DNS server B gets a different IP. What happens? If someone could shed some light, that would be great. Ideally, i want to make sure static persist is VERY static, unless datacenter A or B goes down.
- James_Quinby_46Historic F5 AccountDo you, by any chance, have LTMs in your data center? That is, are the GTMs handing out IP addresses that are VIPs on a BigIP?
- Nick_T_68319
Nimbostratus
Posted By jquinby on 02/22/2009 6:56 PM
- James_Quinby_46Historic F5 AccountIn that case, you could use an iRule to insert a "Data Center Affinity" cookie for each new user that comes in. The same iRule would check for the existence of the cookie - if it matches the DC that the user has come to, all is well, continue. If, however, the user shows up at DC-"A" with a cookie inserted for DC-"B", you could issue a redirect to the other VIP. If you have layer 2 connectivity between Data Centers, you could also accept the user at DC-A, but then route the request to a node member at DC-B. Or perhaps proxy the request.
- Nick_T_68319
Nimbostratus
so on the cookie level, this would happen on the LTM? - James_Quinby_46Historic F5 AccountIt would have to - the GTM is out of the equation once an address has been resolved.
- Nick_T_68319
Nimbostratus
Posted By jquinby on 03/04/2009 8:37 AM
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