Forum Discussion
tommyshocker_93
Nimbostratus
Apr 27, 2011Send percentage of traffic to different servers using LTM with GTM add-on
Hi,
Newb here, so please bear with me. Have an LTM 3600 with the GTM add-on. Is it possible to route a small percentage (10%) of traffic to an internal server and the rest to an external server? The external server is actually a CDN, so a CNAME will have to be used to send traffic to the CDN.
For example, I want to route 10% of the traffic to internal server 10.1.1.1 (by responding with a DNS A record) and 90% of the traffic to a CDN by responding with CNAME record to example.cdn.net.
Is this possible?
Thank you!
2 Replies
- hoolio
Cirrostratus
Hi Tommy,
You could use an iRule for this like the following:
http://devcentral.f5.com/wiki/default.aspx/iRules/ratio_load_balancing_using_rand_function.html
Aaron - tommyshocker_93
Nimbostratus
Thanks Aaron, I'll check out that link.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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