06-25-2009 07:06 AM
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
Solved! Go to Solution.
07-02-2009 12:11 AM
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.
06-28-2009 11:12 PM
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.
06-29-2009 10:32 AM
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
06-30-2009 12:43 AM
do:
CSS11503-2# sho script ap-kal-httptag
And you will see an example.
Gilles.
06-30-2009 09:47 AM
Gilles,
How about something for an SNMP GET ... particularly on the CPU variable?
Thanks,
-Adam
07-02-2009 12:11 AM
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.
07-02-2009 04:44 AM
meant SNMP over TCP.
07-06-2009 09:48 AM
LOL... yes... ACE is coming to us soon... just trying to figure this out while still on CSS.
Thanks for your help, Gilles!
-Adam
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