<?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>Virtual IP and UCS Manager</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>Virtual IP and UCS Manager</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-22T13:17:50Z</updated>
  <dc:date>2013-05-22T13:17:50Z</dc:date>
  <entry>
    <title>RE: UCS API response - extIp not specified for one of the switches</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6483065" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6483065</id>
    <updated>2012-09-12T16:56:38Z</updated>
    <published>2012-09-12T16:56:38Z</published>
    <summary type="html">Thanks Mariusz, that thread is more about correct setup.
Anyway, my problem is, that UCS API itself is not returning what I have set and what I can see in the UCS manager.
I have attached XML portion of what UCS returns, and what is configured, shown in both KVM and manager.

Please notify mgmtIf elements:
switch-A/mgmt/if-1 returns extIp="0.0.0.0"
switch-B/mgmt/if-1 returns extIp="xxx.xxx.xxx.252

Why is the API not returning proper extIp for both switches ? It seems to me like a bug in the API. Can I create a case for this issue ?

thank you,
Martin</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2012-09-12T16:56:38Z</dc:date>
  </entry>
  <entry>
    <title>UCS API response - extIp not specified for one of the switches</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6222772" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6222772</id>
    <updated>2012-08-02T15:43:53Z</updated>
    <published>2012-08-02T15:41:43Z</published>
    <summary type="html">Hi, we have problem when monitoring UCS device through UCS API. The extIP for one of the switches is empty. The configuration screens are attached.
 
Response looks like this:
&lt;mgmtIf access="out-of-band" adminState="enable" chassisId="N/A" discovery="absent" dn="sys/switch-A/mgmt/if-1" epDn="" extBroadcast="0.0.0.0" extGw="0.0.0.0" [b]extIp="0.0.0.0"[/b] extMask="0.0.0.0" fsmDescr="" fsmPrev="nop" fsmProgr="100" fsmRmtInvErrCode="none" fsmRmtInvErrDescr="" fsmRmtInvRslt="" fsmStageDescr="" fsmStamp="never" fsmStatus="nop" fsmTry="0" id="1" ifRole="unknown" ifType="physical" ip="xxx.xxx.xxx.1" locale="" mac="00:00:00:00:00:00" mask="255.255.0.0" name="" peerChassisId="N/A" peerDn="" peerPortId="0" peerSlotId="0" portId="0" slotId="0" stateQual="unspecified" subject="switch" switchId="A" transport="" type="" vnet="1"/&gt;

&lt;mgmtIf access="out-of-band" adminState="enable" chassisId="N/A" discovery="absent" dn="sys/switch-B/mgmt/if-1" epDn="" extBroadcast="0.0.0.0" extGw="xxx.xxx.xxx.1" [b]extIp="xxx.xxx.xxx.252"[/b] extMask="255.255.255.0" fsmDescr="" fsmPrev="SwMgmtOobIfConfigSuccess" fsmProgr="100" fsmRmtInvErrCode="none" fsmRmtInvErrDescr="" fsmRmtInvRslt="" fsmStageDescr="" fsmStamp="2011-02-16T13:35:40.889" fsmStatus="nop" fsmTry="0" id="1" ifRole="unknown" ifType="physical" ip="xxx.xxx.xxx.2" locale="" mac="00:00:00:00:00:00" mask="255.255.0.0" name="" peerChassisId="N/A" peerDn="" peerPortId="0" peerSlotId="0" portId="0" slotId="0" stateQual="unspecified" subject="switch" switchId="B" transport="" type="" vnet="1"/&gt;

Can somebody explain why the extIP is not filled for the first element?
Thanks</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2012-08-02T15:41:43Z</dc:date>
  </entry>
  <entry>
    <title>eventRecord and filter of DateTime type</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2359777" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2359777</id>
    <updated>2010-07-16T02:28:20Z</updated>
    <published>2010-07-16T02:28:20Z</published>
    <summary type="html">Hi, I am trying to filter events by its created property to get events for last 30 minutes.
This is my request:
&lt;configResolveClass inHierarchical="false" classId="eventRecord" cookie="1279228291/d713a131-e5aa-49f7-b626-1fbaa39fda1a"&gt;
  &lt;inFilter&gt;
    &lt;ge class="eventRecord" property="created" value="2010-07-15T20:00:00" /&gt;
  &lt;/inFilter&gt;
&lt;/configResolveClass&gt;
 
but this request returns empty response:
 &lt;configResolveClass cookie="1279228291/d713a131-e5aa-49f7-b626-1fbaa39fda1a" response="yes" classId="eventRecord"&gt; &lt;outConfigs&gt; &lt;/outConfigs&gt; &lt;/configResolveClass&gt;
 
Is it possible using filter over datatime property, or am I getting something wrong ?
 </summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-07-16T02:28:20Z</dc:date>
  </entry>
  <entry>
    <title>UCS Fabric sysobjectid</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2346504" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2346504</id>
    <updated>2010-07-09T19:35:45Z</updated>
    <published>2010-07-09T19:35:45Z</published>
    <summary type="html">We did a SNMP request for sysobjectid to get unique device id and we get
sysObjectID = 1.3.6.1.4.1.9.12.3.1.3.847 
in return. We need uniquely identify each UCS device and my question is, are there any other possible sysobjectid OIDs that UCS system could return ?

thank you,
Martin</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-07-09T19:35:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: extIp and ip attributes</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2346441" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2346441</id>
    <updated>2010-07-09T18:36:14Z</updated>
    <published>2010-07-09T18:36:14Z</published>
    <summary type="html">[quote]So what you getting is IP address assigned to Fabric Interconnect switch-A/mgmt/if-1 and switch-B/mgmt.. I don't why you are not getting switch-B, may be it does not exist ? 
 
all the other ones are actually blades like slot-x/mgmt/x for which you should see mac , i don't think you would get the external IP for these ones. [/quote]

I thought - switch-B was not configured to have external IP and blades were not in ip pool, so they havent public ip either. But, my question was - can I rely on extIp = 0.0.0.0 when external IP is not assigned, or is there a better way ?</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-07-09T18:36:14Z</dc:date>
  </entry>
  <entry>
    <title>extIp and ip attributes</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2342749" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2342749</id>
    <updated>2010-07-08T14:37:34Z</updated>
    <published>2010-07-08T14:37:34Z</published>
    <summary type="html">Hi, I was trying to get IP addresses of elements in UCS. I have enumerated all mgmtIf classes and some of them have extIp filled and some have not. Here is what I get:
 
dn: sys/switch-A/mgmt/if-1 extIp: 10.140.107.44 ;  ip 127.12.0.1
dn: sys/switch-B/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.12.0.2
dn: sys/chassis-1/slot-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.254
dn: sys/chassis-2/slot-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.254
dn: sys/chassis-1/blade-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.1
dn: sys/chassis-1/blade-2/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.2
dn: sys/chassis-1/blade-3/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.3
dn: sys/chassis-1/blade-4/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.4
dn: sys/chassis-2/blade-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.1
dn: sys/chassis-2/blade-2/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.2
dn: sys/chassis-2/blade-3/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.3
dn: sys/chassis-2/blade-4/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.4
 
My question is, externally available IP address is extIp, when is different from "0.0.0.0", or is there any other way how to detect externally reachable ip addresses of ucs elements ?
 
thanks, Martin</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-07-08T14:37:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Automatic discovery of UCS Manager IP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2315963" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2315963</id>
    <updated>2010-06-29T12:49:49Z</updated>
    <published>2010-06-29T12:49:49Z</published>
    <summary type="html">It was not exactly what I wanted. Lets look at that from different end. I have computer that responds to ping and I need to find whether it is an UCS manager and on what port does API respond. Is that possible ?
Thanks,</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-06-29T12:49:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: UCS API attributes</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2315930" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2315930</id>
    <updated>2010-06-29T12:42:35Z</updated>
    <published>2010-06-29T12:42:35Z</published>
    <summary type="html">That makes sense.
Thank for your response.</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-06-29T12:42:35Z</dc:date>
  </entry>
  <entry>
    <title>Automatic discovery of UCS Manager IP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2313372" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2313372</id>
    <updated>2010-06-28T20:11:39Z</updated>
    <published>2010-06-28T20:11:39Z</published>
    <summary type="html">Is there any way how to automatically discover that specific IP address is a  Virtual IP of UCS manager and or to find its port where API is listening ?
In reference are mentioned standard HTTP/S ports, but our test environment listens on port 8080.</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-06-28T20:11:39Z</dc:date>
  </entry>
  <entry>
    <title>IDs returned from UCS API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2313368" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2313368</id>
    <updated>2010-06-28T20:07:09Z</updated>
    <published>2010-06-28T20:07:09Z</published>
    <summary type="html">Are the IDs that are provided by UCS stable across reboots ?
Also what happens if a device in the middle gets removed.  For example, you have 3 blades and you have ids 1,2, and 3.  If you remove blade 2, does blade 3 keeps its ID or does it get ID 2.
 </summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-06-28T20:07:09Z</dc:date>
  </entry>
  <entry>
    <title>UCS API attributes</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2309684" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2309684</id>
    <updated>2010-06-26T13:06:45Z</updated>
    <published>2010-06-26T13:06:45Z</published>
    <summary type="html">Hi, I have two questions to UCS attributes in API,
1. Is the ¿switchId¿ property of type ¿adaptorHostEthlf¿ the ID of the Fabric Interconnect that the chassis is connected to?  Should we rely on the  fabricLocale in the blade hierarchy to better determine the relationship?
2. Does the ¿operState¿ property  reflect the overall status of an item in UCS?  What does the operability status indicate?
thank you,

 </summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-06-26T13:06:45Z</dc:date>
  </entry>
  <entry>
    <title>Virtual IP and UCS Manager</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2150500" />
    <author>
      <name>Martin Kunc</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2150500</id>
    <updated>2010-04-28T21:03:42Z</updated>
    <published>2010-04-28T21:03:42Z</published>
    <summary type="html">I am working on test implementation of UCS API polling. During reading documentation I have found expression Virtual IP. What is realation of Virtual IP to UCS manager ? Is there any limitation with using API over specific Virtual IP ?</summary>
    <dc:creator>Martin Kunc</dc:creator>
    <dc:date>2010-04-28T21:03:42Z</dc:date>
  </entry>
</feed>

