Forum Discussion
Michelle_Johns1
Nimbostratus
Jul 28, 2011GTM irule to select a virtual, not a pool
I need a solution to select a virtual based on ldns. I cannot use simple topology because the NYpool virtual and the NCpool virtual are both hosted in the NC DataCenter. (I do not have an LTM in NY)
So, i was thinking of using an irule like the following, but I want to select a virtual in each site instead of having a pool for each site.
when DNS_REQUEST {
if { [matchregion ldns NY]} {
pool NYpool
} elseif { [matchregion ldns NC]} {
pool NCpool
} elseif { [matchregion ldns CO]} {
pool COpool
} else {
return
}
}
3 Replies
- Ryan_Paras_7933
Nimbostratus
sorry, can you please go a little more in depth why you think topology wont work for you? - Michelle_Johns1
Nimbostratus
I have 2 LTMs: One in NC and one in CO - Anthony_Graber
Employee
Michelle,
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