Forum Discussion
Kevin_Nail
Nimbostratus
Aug 03, 2009GTM Topology configuration
Hi,
I have a configuration dilema that I am not sure how to resolve.
Here is the scenario. I have 3 GTM's all in one location, so all queries will go the same geographic location. I need to load-balance (for lack of a better term) DNS queries between 4 different servers based on client-IP. The servers are located in:
Oklahoma
Colorado
Singapore
Korat
I have created 4 different data centers and placed the Singapore, Colorado, and Korat servers by themselves in their own datacenter. The Oklahoma servers already has a datacenter with several other IPs.
I need clients from Singapore to get handed back the server in Sinagapore, etc...
My question is this. Which would be better suited, topology or an iRule. There is 1 wideip and 1 pool that contains the 4 other servers (actually pools of servers. I created 1 pool for each location).
I could configure topology but I am not sure how to set it up so that I don't run into issues with any other future topology plans. IE: Should the destination be based on datacenter location of specific pool or regions?
Or should I just use an iRule. Any help or suggestions?
Thanks,
Kevin
- JRahm
Admin
You could do topology at the pool level, separating singapore and korat into a pool and oklahoma/colorado into a pool. Then you could further do topology within the singapore/korat pool, and use another method for the US (least conn / rr / vs capacity, etc). It really boils down to what your business rules are. If you can narrow down the business rules it would help. For example, should all users outside singapore go to US, or should all asia requests hit korat or singapore. Except for singapore, does it matter which DC the requests go to? For all other world users, should they go to colorado, oklahoma, or both? - Kevin_Nail
Nimbostratus
Hi, - JRahm
Admin
So if you have multiple matches, the highest weight wins. Also, if you have multiple records match, but the destination is not referenced in the wideIP, then the record is ineligible. This should mitigate your concern for future expansion of topology. So for this instance, you'll need IP source for Korat & Colorado. You'd place a slightly higher weight on the records for Korat & Colorado, then you could build a Continent is Asia record to send all Asia requests to Singapore, then a Continent is not Asia to send all other requests to Oklahoma. - Kevin_Nail
Nimbostratus
ok the picture is becoming a little clearer... thanks for being patient. - JRahm
Admin
For the topology record, IP subnets would be the source, the destination would be the korat pool. In the wideIP, you would add the korat pool at that level and assign topology. - JRahm
Admin
whoops, didn't see Denny's response before posting...thanks Denny! - Kevin_Nail
Nimbostratus
Thanks Guys! - Kevin_Nail
Nimbostratus
The testing is going well but has brought up another question. - dennypayne
Employee
Sorry, I misspoke a little. You're right that the Preferred, Alternate, and Fallback methods are set on the pool. The wideip can then have a lb method to lb between multiple pools (which most people don't have a need for). So if you are using only 1 pool, the wideip lb method doesn't really do anything. - Kevin_Nail
Nimbostratus
Thanks Denny! That explains alot.
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