Forum Discussion
pvaughan
Jun 25, 2012Nimbostratus
cookie persistance Site affinity Irule help
Hey Guys and gals, need some help with an irule. I have been tasked with the following requirement and need to write an irule to accomplish this task.
We have 2 data centers with a gtm handing out dns and ltms doing the local loadbalaincing. When a client does a write request to the application it will insert a cookie marking the site it came from for example dc1 or dc2. My developers want to make sure if the ldns times out and the gtm sends the client a different site the ltm will see the wrong site in the cookie and send the packets to the correct site. Thanks
- hooleylistCirrostratusHi,
- pvaughanNimbostratusgtm is going to resolve the dns request globally so I don't think a redirect will work. I would rather have the ltm proxy the connection and send it to the other ltm. So if the ltm sees the cookie for the wrong site then snat and send the request to the other ltm
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