<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Technical Discussion</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=2531803" />
  <subtitle>A place for comments, questions, support and enhancement requests relating to the technical aspects of the API</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=2531803</id>
  <updated>2013-05-19T05:22:57Z</updated>
  <dc:date>2013-05-19T05:22:57Z</dc:date>
  <entry>
    <title>RE: Concurrent sessions per account</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708248" />
    <author>
      <name>Lei Zhu</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708248</id>
    <updated>2010-11-04T00:31:28Z</updated>
    <published>2010-11-04T00:31:28Z</published>
    <summary type="html">[quote]I am enhancing a JavaEE application and the enhancements include using the ANM web service client.  The application is clustered with each cluster member having 50 web container threads.  So, even with the minimum cluster size of 2 cluster members that makes 100 threads that could potentially want to use the ANM web service client concurrently.  Of course that is unlikely to happen but I hope you can see that heavily multi-threaded applications like those hosted in a clustered web application server environment may need more than 5 concurrent sessions.  Also, besides 5 being a small number it is also an odd number which makes it impossible to split evenly across cluster members. [/quote]
[quote]The reason we limit the ws API sessions to 5 is because API shares the same session pool with ANM GUI, more API sessions will affect the performance on ANM. I suggest you to implement a connection pool, which will take care the connections with ANM. We may consider to make the max API sessions configurable in the future release.[/quote]</summary>
    <dc:creator>Lei Zhu</dc:creator>
    <dc:date>2010-11-04T00:31:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: Obtain operational state of SfRserver?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708237" />
    <author>
      <name>Lei Zhu</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708237</id>
    <updated>2010-11-04T00:21:49Z</updated>
    <published>2010-11-04T00:21:49Z</published>
    <summary type="html">Any plans to add this to a future version of the ANM web services API?

 

One of the challenges we have to support the monitoring API is real-time data, when API gets the operational state from ANM database, the state may not be current state on device, since ANM polling the data from device periodically. Before we support the monitoring API, maybe better for you to get the operational data from device through SNMP.</summary>
    <dc:creator>Lei Zhu</dc:creator>
    <dc:date>2010-11-04T00:21:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Obtain operational state of SfRserver?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708588" />
    <author>
      <name>Andrew Swanson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708588</id>
    <updated>2010-11-03T19:03:47Z</updated>
    <published>2010-11-03T19:03:47Z</published>
    <summary type="html">Any plans to add this to a future version of the ANM web services API?</summary>
    <dc:creator>Andrew Swanson</dc:creator>
    <dc:date>2010-11-03T19:03:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: Concurrent sessions per account</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708584" />
    <author>
      <name>Andrew Swanson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2708584</id>
    <updated>2010-11-03T19:02:11Z</updated>
    <published>2010-11-03T19:02:11Z</published>
    <summary type="html">I am enhancing a JavaEE application and the enhancements include using the ANM web service client.  The application is clustered with each cluster member having 50 web container threads.  So, even with the minimum cluster size of 2 cluster members that makes 100 threads that could potentially want to use the ANM web service client concurrently.  Of course that is unlikely to happen but I hope you can see that heavily multi-threaded applications like those hosted in a clustered web application server environment may need more than 5 concurrent sessions.  Also, besides 5 being a small number it is also an odd number which makes it impossible to split evenly across cluster members. </summary>
    <dc:creator>Andrew Swanson</dc:creator>
    <dc:date>2010-11-03T19:02:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Concurrent sessions per account</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2706436" />
    <author>
      <name>Lei Zhu</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2706436</id>
    <updated>2010-11-03T12:18:18Z</updated>
    <published>2010-11-03T12:18:18Z</published>
    <summary type="html">I am developing an ANM web service client (targeting ANM 4.1) and it appears there is a limit of 5 concurrent sessions per ANM account.  Is this deduction correct?  Is it configurable in ANM such that my account could be configured to allow more than 5?

 

I am one of the developers for ANM 4.1 ws API, ANM 4.1 only allows 5 concurrent API sessions, and this is not configurable. I would like to know is there any reason you will need more than 5 concurrent ws API sessions.</summary>
    <dc:creator>Lei Zhu</dc:creator>
    <dc:date>2010-11-03T12:18:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Obtain operational state of SfRserver?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2706429" />
    <author>
      <name>Lei Zhu</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2706429</id>
    <updated>2010-11-03T12:11:37Z</updated>
    <published>2010-11-03T12:11:37Z</published>
    <summary type="html">[quote]Is there any way to obtain the operational state of a serverfarm realserver via the ANM (4.1) web services API?  The SfRserver data type includes the admin state (i.e. IS, ISS, or OOS) but when I compare that to the ANM web interface there is both an admin state and an operational state for a serverfarm realserver -- with the operational state indicating the latest probe status for the real server (e.g. Up or Probe Failed)[/quote]

[quote]ANM 4.1 ws API does not provide the operational state for serverfarm realserver. There is no monitoring API in this ANM release.[/quote]</summary>
    <dc:creator>Lei Zhu</dc:creator>
    <dc:date>2010-11-03T12:11:37Z</dc:date>
  </entry>
  <entry>
    <title>Obtain operational state of SfRserver?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2652917" />
    <author>
      <name>Andrew Swanson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2652917</id>
    <updated>2010-10-19T22:37:20Z</updated>
    <published>2010-10-19T22:37:20Z</published>
    <summary type="html">Is there any way to obtain the operational state of a serverfarm realserver via the ANM (4.1) web services API?  The SfRserver data type includes the admin state (i.e. IS, ISS, or OOS) but when I compare that to the ANM web interface there is both an admin state and an operational state for a serverfarm realserver -- with the operational state indicating the latest probe status for the real server (e.g. Up or Probe Failed)</summary>
    <dc:creator>Andrew Swanson</dc:creator>
    <dc:date>2010-10-19T22:37:20Z</dc:date>
  </entry>
  <entry>
    <title>Concurrent sessions per account</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2652865" />
    <author>
      <name>Andrew Swanson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2652865</id>
    <updated>2010-10-19T22:27:10Z</updated>
    <published>2010-10-19T22:27:10Z</published>
    <summary type="html">I am developing an ANM web service client (targeting ANM 4.1) and it appears there is a limit of 5 concurrent sessions per ANM account.  Is this deduction correct?  Is it configurable in ANM such that my account could be configured to allow more than 5?</summary>
    <dc:creator>Andrew Swanson</dc:creator>
    <dc:date>2010-10-19T22:27:10Z</dc:date>
  </entry>
</feed>

