pierrevocat_109
Oct 30, 2008Nimbostratus
DNS_Request redirects traffic slowly
Hi,
I'm using the following IRule (V9.3.1) to direct traffic between 2 physical sites/locations (A and B) and also redirecting traffic based on whether it is internal or external.
when DNS_REQUEST {
if { [IP::addr [IP::remote_addr]/16 equals 192.168.0.0]}{
if { [active_members gtm-pool-siteA-internal] } {
pool gtm-pool-gtm-pool-siteA-internal}
else {
pool gtm-pool-siteB-internal}
} elseif { [active_members gtm-pool-siteB-external] } {
pool gtm-pool-siteB-external
} else {
pool gtm-pool-siteA-external
}
}
I've set up 4 GTM pools and it seems to be working however when the pools are marked as down it takes clients a while before they get redirected to an alternative pool instead they keep on hitting the pool that is marked as down until I flush the clients dns or the browser is closed and opened up again.
Is there any other alternative to DNS_REQUEST.
Thanks
Pierre