Forum Discussion
AJ_Fasano_1976
Nimbostratus
Jan 28, 2007GTM iRule. Is this possible?
First, I am not asking for the iRule. I would actually like to figure it out myself, assuming they are flexible enough for this.
We need a hybrid topology/RTT type of solution because of issues associated with the probers not being able to query the LDNS servers. Our customer is extremely security consious and there are hundreds of LDNS servers out there which means we will go through this issues of getting FW/ACLs open many many times.
What I was thinking was a rule that would first evaluate the topology definitions. If the LDNS is not in them it would need to evaluate the various RTTs to the DNS. If there are at least two successful RTT probes, go with the shortest one. If there are less than two, GTM would default to a round-robin pool with hosts that are central to all the possible nodes.
Is it possible to retrieve the rtt times to the LDNS server that is querying the GTM? I did see a function called ROUTE::rtt and ROUTE::rttvar. Would those be the ones?
Thanks.
- Kevin_Jones_505Historic F5 AccountFrom my perspective, there are 2 problems with this plan. First, a good set of topology records shouldn't miss any LDNSs. That being said, if you want to "miss" some and use RTT to load balance them, there's something else that sounds iffy. The first time a LDNS sends a probe, GTM cannot use RTT as a load balancing metric. You mention waiting for the probes to return .. how long? If it takes 15 - 20 seconds to get the metrics (and that would be fast), the DNS resolution will take 15 - 20 seconds. That's a very long time.
- AJ_Fasano_1976
Nimbostratus
Believe me when I tell you I was not keen on even proposing the question. But the customer wanted to know so I did it. - JRahm
Admin
You could incorporate a rule to do a reverse lookup (assuming this functionality is in GTM rule set? Classes are not in v9.2.x, are they in v9.4?) on the ldns_ip and bind them to a topology record roughly in the vicinity of where that domain is likely to be globally. Not a complete solution, but could potentially address some of the worst case blind decisions.
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