Forum Discussion
TJ_Vreugdenhil
Cirrus
Mar 12, 2015iRule v11 to send user to correct DC database based on HTML header
We have two DC's with one LTM and GTM in each DC. All VIP's have clientSSL profiles and no serverssl profiles. A user points to www.example.com and is DNS load balanced to either DC1 or DC2 based on ...
nitass
Employee
Mar 13, 2015When a user comes into DC1 and hits the DC1 webserver. The database might actually live in DC2. In that case, the DC1 webserver will send the F5 an HTML header letting it know the database resides in DC2. Once the F5 receives this, it will redirect across an internal MPLS to DC2 LTM VIP and forward the request to the DC2 webserver.
in case you do not want to use redirect, you may try HTTP::retry. take a look at example in its wiki.
HTTP::retry
https://devcentral.f5.com/wiki/iRules.HTTP__retry.ashx
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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