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

Configuring "weight" in services

Hello all,

I'm a little confuse, because i think i have a fine configuration, in the content rule as well as in the service's, regardless the weight parameter.

What i want is to double load service esl0011-7778, because it is a better server, with a better performance.

Here are the config, and some show command's.

Best Regards,

Bruno Petrónio

content HTTP-teste-tempaplj

vip address 10.1.2.136

redundancy-l4-stateless

port 80

protocol tcp

advanced-balance arrowpoint-cookie

arrowpoint-cookie browser-expire

add service esl0011-7778 weight 2

add service esl0012-7778 weight 1

active

service esl0011-7778

ip address 10.1.1.120

port 7778

keepalive type http

keepalive port 7778

keepalive uri "/"

weight 2

active

service esl0012-7778

ip address 10.1.1.121

port 7778

keepalive type http

keepalive port 7778

keepalive uri "/"

active

CSS_IFAP_2# show summary | grep 7778

HTTP-teste-tempa Active

. esl0011-7778 68584

. esl0012-7778 68781

CSS_IFAP_2# show service esl0011-7778

Name: esl0011-7778 Index: 5

Type: Local State: Alive

Rule ( 10.1.1.120 ANY 7778 )

Session Redundancy: Disabled

Redirect Domain:

Redirect String:

Keepalive: (HTTP-7778:HEAD:/ 5 3 5 )

Keepalive Encryption: Disabled

Last Clearing of Stats Counters: 21/02/2008 14:04:00

Mtu: 1500 State Transitions: 0

Total Local Connections: 7705 Total Backup Connections: 0

Current Local Connections: 168 Current Backup Connections: 0

Total Connections: 7705 Max Connections: 65534

Total Reused Conns: 57531 Weight Reporting: None

Weight: 2 Load: 163

CSS_IFAP_2# show service esl0012-7778

Name: esl0012-7778 Index: 8

Type: Local State: Alive

Rule ( 10.1.1.121 ANY 7778 )

Session Redundancy: Disabled

Redirect Domain:

Redirect String:

Keepalive: (HTTP-7778:HEAD:/ 5 3 5 )

Keepalive Encryption: Disabled

Last Clearing of Stats Counters: 21/02/2008 14:04:00

Mtu: 1500 State Transitions: 0

Total Local Connections: 7449 Total Backup Connections: 0

Current Local Connections: 164 Current Backup Connections: 0

Total Connections: 7449 Max Connections: 65534

Total Reused Conns: 58029 Weight Reporting: None

Weight: 1 Load: 161

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Configuring "weight" in services

Bruno, not sure if this would work in your environment, but it served as a great workaround for me...

under service: max connections # you can set to what you want on the server and it doesn't go above. Found this in another thread.

5 REPLIES
New Member

Re: Configuring "weight" in services

Well,

After reading this:

"If you do not have a weighted roundrobin load-balancing method specified

for the content rule or do not have DFP specified for server load-balancing,

use the weight command only in service mode..."

I try to configure weight only on service's, and the behavior was the same.

Any ideas ?

Best Regards,

Bruno Petrónio

New Member

Re: Configuring "weight" in services

Hi Bruno, I tried the weight on the service too, no change in amount of connections. We're running default round robin.

Tried this also, but would have to do after hours:

VCC-CSSa(config-owner-content[cls])# balance weightedrr

%% Operation may not be performed on active content rule

Question. Is 1 going to get the lower load or 10 as the weight. The CSM is 10 gets the higher load. Not sure on the CSS? Thanks

New Member

Re: Configuring "weight" in services

Bruno, not sure if this would work in your environment, but it served as a great workaround for me...

under service: max connections # you can set to what you want on the server and it doesn't go above. Found this in another thread.

New Member

Re: Configuring "weight" in services

Tks for your inputs Sheila,

As long as i understood the "CSS Load Balance Configuration Guide", if we have a service with weight 10, it will receive 10 times more connections, comparing with one with weight 1.

Now, i cant do the suggestion u make about balance mode weighteddr method, but i'll try as soon as possible, and will feedback.

Relating the "max connection #" command, i don't know what will be the threshold connections for 1 OAS, and then is difficult to adjust this parameter.

Thank you once again.

Best Regards,

Bruno Petrónio

New Member

Re: Configuring "weight" in services

Changing the balance method from round-robin to weightedrr resolve this issue.

Nevertheless, i read somewhere that it should be running with roundrobin too.

Am i wrong ?

Best Regards,

Petrónio

150
Views
4
Helpful
5
Replies
CreatePlease to create content