07-15-2008 07:40 AM
Hi Guys,
We are currently using an agent on our application servers which puts a server in "inservice standby" if the CPU load on the system goes above 75%. This agent is using an XML post on the CSM to achieve this and put the server back inservice using XML post as well.
Currently we are trying to use the same agent for another application which has a port number defined as well and it does not seem to work.
To give an example where it works:
serverfarm TEST
nat server
nat client TEST
real name BLABLA
inservice
The example where it does not work:
serverfarm TEST
nat server
nat client TEST
real name BLABLA 50000
When we get the server name via XML we see that CSM returns the name as BLABLA: 50000 however using the same in the script does not work.
Would someone know how to put the port number in an XML script so that the CSM understands which server need to be changed.
Thanks,
Murtaza
Solved! Go to Solution.
07-15-2008 09:42 AM
It would be some thing in line with the following example
The DTD for CSM XML will let you know what tags and attributes are available to use:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/mod_icn/csm/csm4
_1_2/icn/xmldtd.htm
HTH
Syed
07-15-2008 09:42 AM
It would be some thing in line with the following example
The DTD for CSM XML will let you know what tags and attributes are available to use:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/mod_icn/csm/csm4
_1_2/icn/xmldtd.htm
HTH
Syed
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