Forum Discussion
Selecting a GTM pool member based on the status of another gtm pool member
Have got a GTM with 2 wide IP's called wideip_A and wideip_B Both have got one pool with 2 members called memberA1, memberA2 and memberB1 and memberB2 The GTM uses iQuery to pool the respective LTM's The requirement is that I want memberB1 to be used only if memberA1 is up and memberB2 to be used only if memberA2 is up. Basically require some iRule and I cannot make use of monitors to fulfill the requirement.
When I try ... it returs an error on the gtm logs (tail -f /var/log/gtm)
when DNS_REQUEST { set members [active_members -list pool_dmz_https_2013-OWA] log local0. "Active members are: $members" }
Any clue..require an iRule to accomplish this.
- jaikumar_f5
Noctilucent
I believe there is already an inbuilt functionality called depends-on,
depends-on Specifies the names of virtual servers on which this pool member depends.
Try the below,
tmsh modify gtm pool b-pool members modify { memberB1 { depends-on add { memberA1 } } } tmsh modify gtm pool b-pool members modify { memberB2 { depends-on add { memberA2 } } }
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