James_Thomson
Mar 31, 2010Employee
GTM iRule to determine which LB method was used
I'm trying to sort out a way in GTM to have an irule log a message when the pool load balancing method "Alternate" is used and the client IP address associated with that request.
I know GTM irules are more limited.
I have the DNS_REQUEST and DNS RESPONSE events available and I can use LB_selected to get the IP address that was selected, but none of that helps me figure out if that IP was selected with the primary load balancing method of Topology or the Alternate load balancing method of Round Robin.
Any ideas?