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. And see here for current known issues.

New Member

CSS Scalable Load Balancing Method

Greetings All,

Looking to the brain trust here for some options on a requested load balancing schema.

I have a CSS11506 for which I need to configure some 'scalable' load balancing.

We have 2 servers configured for load balancing... we'll call the services S1 and S2.

The requirement is to have S1 to service all traffic until its related server CPU reaches 80%. Once this occurs, then traffic should start being sent to S2 for load balancing.

How can I accomplish this?

Thanks!

-Adam

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: CSS Scalable Load Balancing Method

Unless you can do SNMP over UDP that will be difficult with the CSS script language.

The ACE device has the snmp probe to do just what you are looking for. But not ACE.

Gilles.

7 REPLIES
Cisco Employee

Re: CSS Scalable Load Balancing Method

Adam,

one solution is to have a script running on the server which can get the cpu load.

You then create a keepalive script on the CSS to poll the S1 cpu load and as long as the value returned is below 80% you keep S2 down.

Gilles.

New Member

Re: CSS Scalable Load Balancing Method

Gilles,

Thanks for the reply.

I'm not real savvy with creating scripted keep-alives from scratch.

Can you direct me to some links where I can learn more about creating such a script on the CSS?

Thanks again!

-Adam

Cisco Employee

Re: CSS Scalable Load Balancing Method

do:

CSS11503-2# sho script ap-kal-httptag

And you will see an example.

Gilles.

New Member

Re: CSS Scalable Load Balancing Method

Gilles,

How about something for an SNMP GET ... particularly on the CPU variable?

Thanks,

-Adam

Cisco Employee

Re: CSS Scalable Load Balancing Method

Unless you can do SNMP over UDP that will be difficult with the CSS script language.

The ACE device has the snmp probe to do just what you are looking for. But not ACE.

Gilles.

Cisco Employee

Re: CSS Scalable Load Balancing Method

meant SNMP over TCP.

New Member

Re: CSS Scalable Load Balancing Method

LOL... yes... ACE is coming to us soon... just trying to figure this out while still on CSS.

Thanks for your help, Gilles!

-Adam

169
Views
0
Helpful
7
Replies