Forum Discussion
kamat_48975
Nimbostratus
Jan 15, 2009How to limit traffic to a particular node
Hello,
I have 6 nodes and the requirement is that 5% of the traffic should go node 6 and rest of all the 5 nodes should divide the remaining traffic(95%) equally. Please let me know how to configure it?
Thanks,
Kamat
3 Replies
- dennypayne
Employee
You'll need to use the ratio loadbalancing mode and assign a weight of 5 to the one node and weights of 19 (95/5) to the others.
Denny - kamat_48975
Nimbostratus
Hello Denny,
Thank you for yor reply. If i understand correctly is the following configuration is what you are suggesting?
b node 172.20.1.122 '{
screen www01
ratio 19
}'
b node 172.20.1.123 '{
screen www02
ratio 19
}'
b node 172.20.1.124 '{
screen www03
ratio 19
}'
b node 172.20.1.125 '{
screen www04
ratio 19
}'
b node 172.20.1.126 '{
screen www05
ratio 19
}'
b node 172.20.1.128 '{
screen www06
ratio 5
}'
b pool www_http_pool '{
lb method member ratio
monitor all http
member 172.20.1.122:http ratio 19
member 172.20.1.123:http ratio 19
member 172.20.1.124:http ratio 19
member 172.20.1.125:http ratio 19
member 172.20.1.126:http ratio 19
member 172.20.1.128:http ratio 5
}'
b pool www_https_pool '{
lb method member ratio
monitor all https
member 172.20.1.122:https ratio 19
member 172.20.1.123:https ratio 19
member 172.20.1.124:https ratio 19
member 172.20.1.125:https ratio 19
member 172.20.1.126:https ratio 19
member 172.20.1.128:https ratio 5
}'
Thanks,
Kamat. - dennypayne
Employee
I wouldn't worry about putting ratios on the nodes themselves, the ratio in the pool member definition is all you need. Looks fine though.
Denny
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