issue with XML post when port used with server name

Answered Question
Jul 15th, 2008

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

I have this problem too.
0 votes
Correct Answer by Syed Iftekhar Ahmed about 8 years 4 months ago

It would be some thing in line with the following example

<?xml version="1.0" ?>

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.

Actions

This Discussion