gtm match source send to member in DC
Been working in this GTM irule all day put cant get it to work. This is for a GTM with one member in each DC. Basically need to check source IP and WideIP member status, if up then send to member in correct DC.
when DNS_REQUEST { Match on DAServer Networks if { [IP::addr [IP::client_addr] equals 192.168.163.0/24] ) { Check status of member Mobilemail-IT is UP if { [LB::status vs 192.168.163.39] eq "up" } { host 192.168.163.39 } } else { Match on DFServer Networks if { [IP::addr [IP::client_addr] equals 192.168.204.0/24] ) { Check status of Mobilemail-DF is UP if { [LB::status vs 192.168.204.39] eq "up" } { host 192.168.204.39 } } if both are down send to BV else { host 192.168.204.100 }
} }