Forum Discussion
Ram_T_S
Altostratus
Aug 29, 2018Help required to construct Irule for Source based Http redirection
Hi Team,
I need a help to construct the Irule for the following requirement.
We have a application called finance running in 2 different servers located on different location.
Site A:
...
Kevin_Stewart
Employee
Aug 29, 2018It looks fine, except for maybe this,
[active_members Finance_Pool] == 1
You're looking at pool status, but which pool status, and why? Presumably you'd want to know the pool status of the other site's pool before redirecting traffic to it, but that's not information you're going get here. I'd offer three suggestions:
- Simply HTTP redirect to the other site, regardless of its availability, though you run the risk of redirecting to a failed site.
- Create some out-of-band mechanism to feed availability state to each peer, though you still run the risk of not getting this message in time.
- Set up active global availability with an F5 DNS service. This way the peers have real-time knowledge of peer availability and will provide appropriate DNS resolution based on source address.
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