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.
hoolio
August 21, 2007, 11:21am
2
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 rateclass
Click here
Post: iRules for rate shaping
Click here
Aaron
Puli
January 12, 2012, 8:27pm
3
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
}