Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

advanced-balance and weighting

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

2 REPLIES
Cisco Employee

Re: advanced-balance and weighting

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.

New Member

Re: advanced-balance and weighting

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

123
Views
0
Helpful
2
Replies