GTM iRule Help?
Hey Everyone,
I tried a support case for this but it sounds to them to be more of a "Professional Services" issue over a tech issue. It has been uploaded onto the GTM and slotted into the wideIP and is configured as seen below and sadly it still doesnt appear to work as intended but it may be due to factors unknown to me so maybe someone here has dealt with this.
I am looking to make an iRule that when a request hits "wideIP A", it checks the status of "wideIP B's" pool member on if its up and if up then point to "cname A" else point to "cname B"
Is this LB::status not possible to achieve from the GTM iRuling? Is there any suggestions as to how to achieve this?
when DNS_REQUEST {
if { [LB::status pool "pool name" member "IP" "PORT"] eq "up" } {
cname "cname/fqdn"
} else { cname "cname/fqdn" }
}
Appreciate any hints or comments!