Forum Discussion
huudat_20099
Nimbostratus
Aug 21, 2007Bandwidth limit using iRule
I'm having a problems with bandwidth limits using rate shaping on BIG-IP LTM. I want to configured rate shaping for one HTTP Service that has three websites on single server IIS6. Example with domains and bandwidth limit as following:
www.abc1.com has a bandwidth is 300K;
www.abc2.com has a bandwidth is 500K;
www.abc3.com has a bandwidth is 1M;
Must I write a irule program? But I haven't had a experience with iRule yet. So please help me the way to I can do it.->thanks so much.
3 Replies
- hoolio
Cirrostratus
Hello,
You could use an iRule that inspects the HTTP host header value and applies a rateclass to the request. Here is an example:switch -glob [string tolower [HTTP::host]] { www.abc1.com* { rateclass class_200K } www.abc2.com* { rateclass class_500K } www.abc3.com* { rateclass class_1M } default { rateclass class_200K } }
Wiki page on rateclassClick here
Post: iRules for rate shapingClick here
Aaron - Puli
Nimbostratus
can i send the request to a pool after applying the rate class ?
does this look lke it'll work ?
www.abc3.com* {
rateclass class_1M
pool abc3_pool
} - hoolio
Cirrostratus
Hi Puli,
Sure that should work.
Aaron
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