Forum Discussion
Leo_D_53884
Nimbostratus
Jan 25, 2013GTM iRule for Data Center Selection
All,
I have an interesting scenario, two data centers, NY with 1 GTM, 1 LTM cluster and Tokyo with no GTMs, 1 LTM cluster. I have different public IPs at each data center that are NATed...
The_Bhattman
Nimbostratus
Jan 28, 2013Hi Leo,
If I am reading this correctly, then you should also monitor the Tokyo LTM via the GTM pool
Then you could then re-write the irule as the following:
when DNS_REQUEST {
if { [active_members pool_tokyo] == 0 } {
host 1.1.2.10
} else {
if { [DNS::rrname] eq "www.wip.leo-d.com" } {
host 1.1.1.10
}
}
}
I haven't tested this out but hopefully this works for you
=Bhattman=
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects