Forum Discussion
Changing member priority in GTM using i-rule
Hi
Could you please clarify what you want to achieve ? the pools you are talking about are wideip pool or regular ltm pool ? why do you want to change the priority since you'are using the Global availability lb method?
many thanks,
We want to monitor public WAF of our AWS environment covering primarily two use cases: 1) To shift traffic on backup cname of WAF in case any bug hits set of primary ones (as they are running in sync, so entire set will be gone in case of bug) 2) To check traffic in staggered way (10, 20 and so on...)once patching is done in order to check if everything is fine with the new patch. To acheive it, we have added the cname as LTM pool member and mapped the same in GTM and applied the i-rule as below:
when DNS_REQUEST { if {[active_members <primary waf pool name>] >= 1}{ cname "<primary waf name>" } else { cname "<backup-waf name>" } }
It is helpful for 1 but we are still figuring out the way for 2. One option which we could think of is changing the ratio in 'Ratio' LB method through i-rule (Any idea if this is achiveable?) Priority one is not required anymore as 1 is achieved :-)
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com