Query GTM supplying Client IP address from LTM
Hi, I have an problem with GTM wideIP geolocation.
Problem statement: I need to send clients to specific VIPs in Geo distinct datacenters based on the client IP.
In my country all ISP DNS resolvers appear to be in the located in one city. This makes my WIDEIP Geolocation database next to useless as all in-country requests appear to come from the same place.
I haven't come across any irule function yet which allows me to query the GTM WIDE IP using the client IP address. The client address is only first available to me once the client has arrived at my APM VIP. So my options are:
1:/ write a irule with datagroups containing all my local geolocation info and do a redirect to the closest VIP however however that wouldn't allow me to know the health of the VIPs being redirected.
2:/ Somehow query the GTM using the clients IP and then redirect the client based on the GTM response. This should return the closest VIP which is available.
Any irule experts out there with a solution for option2 ?
Many thanks in advance.
B