Gladney_7700
Apr 05, 2013Historic F5 Account
GTM iRule to parse data from host request to form a list of GTM pools for topology load balancing
IHAC who is looking to simplify ongoing management of his GTM wide-ip configuration by using an iRule with a wildcard WIP.
The example scenario is that we have a WIP for *.sip.foo.com
Users will be using a mobile app that, based on a users account, will make a DNS request that can be answered by a select group of 1 to 5 GTM pools.
Requests will come in in a format like this: ar2-ff1-sg1-sy1.sip.foo.com
Each 3 digit code separated by the dash will correspond to a GTM pool: ar2 or ff1 or sg1 or sy1
We then want to use topology load balancing to determine which pool of those available to this request to actually use for resolution.
We want any requests that cannot be parsed to be logged and discarded.
The user's hope is that rather than having to create new wide-ip's for each combination of available data centers, he can just update a data-group with new 3 digit codes and have this iRule parse the codes and load balance between the appropriate pools.
Is this possible to accomplish in the first place, if so, is this the right approach to the problem?
Thanks!