10-27-2003 02:56 PM
Hello,
I'd like to assign weights to services, but it says in the documentation that this works for weighted round-robin load-balance algorithm. will this work for an advance-balance scenario? i.e. will the config below work?
content Serv1-Rule
add service Serv-1
add service Serv-2 weight 2
add service Serv-3 weight 4
protocol tcp
redundant-index 1
port 80
advanced-balance arrowpoint-cookie
vip address 12.18.27.20
active
thanks,
dayo
10-27-2003 11:49 PM
the way it works, is that the CSS tries to do an advanced-balance decision.
In your case, the CSS looks for a cookie ARPT=...
If this CSS can't make an advanced-balance decision (ie: there is no cookie) it will make a basic balancing decision.
This is where you can use a weight.
So, your config is good except that you didn't specify the basic loadbalancing method so the CSS will do roundrobin.
You need to configure something like 'balance weightedrr'
Gilles.
10-28-2003 07:25 AM
thanks Gilles. just so I'm clear, you're suggesting I have the following config?
content Serv1-Rule
add service Serv-1
add service Serv-2 weight 2
add service Serv-3 weight 4
protocol tcp
redundant-index 1
port 80
balance weightedrr
advanced-balance arrowpoint-cookie
vip address 12.18.27.20
active
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide