CSS Scalable Load Balancing Method

Answered Question
Jun 25th, 2009
User Badges:

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

Correct Answer by Gilles Dufour about 7 years 10 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Gilles Dufour Sun, 06/28/2009 - 23:12
User Badges:
  • Cisco Employee,

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.

a.veschak Mon, 06/29/2009 - 10:32
User Badges:

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

Gilles Dufour Tue, 06/30/2009 - 00:43
User Badges:
  • Cisco Employee,

do:

CSS11503-2# sho script ap-kal-httptag


And you will see an example.


Gilles.

a.veschak Tue, 06/30/2009 - 09:47
User Badges:

Gilles,


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


Thanks,


-Adam

Correct Answer
Gilles Dufour Thu, 07/02/2009 - 00:11
User Badges:
  • Cisco Employee,

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.

a.veschak Mon, 07/06/2009 - 09:48
User Badges:

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


Thanks for your help, Gilles!


-Adam

Actions

This Discussion