Forum Discussion
GTM iRule to set the pool based on which GTM is responding to query
Hi think I understand what you are trying to do however can I ask how your DNS is setup to send traffic to your GTMs?
Reason I ask is in most setups your GTMs will be Name Server (NS) records within some DNS and so requests from client will alternate between the GTMs and so if your iRule works as expected a client session (depending on the application) could flip between data centres.
I would recommend looking at GTM Topology features which would allow you to set the DC based on the source IP/Subnet. i.e. Client sends query to local DNS which sends query to one of the GTMs, the GTM looks up the local DNS IP and selects the DC, pool or virtual server from the topology policies.
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