<?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>How to start, stop, reboot a Blade Server via XML API</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7417247" />
  <subtitle>How to start, stop, reboot a Blade Server via XML API</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7417247</id>
  <updated>2013-05-22T21:18:41Z</updated>
  <dc:date>2013-05-22T21:18:41Z</dc:date>
  <entry>
    <title>RE: How to start, stop, reboot a Blade Server via XML API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7555350" />
    <author>
      <name>Helmut Pfeiler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7555350</id>
    <updated>2012-10-12T10:57:59Z</updated>
    <published>2012-10-12T10:57:59Z</published>
    <summary type="html">Hi Purvi
 
Many thanks for your reply - that really helped!!!
 
Many thanks
Helmut</summary>
    <dc:creator>Helmut Pfeiler</dc:creator>
    <dc:date>2012-10-12T10:57:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Helmut Pfeiler in Unified Computing UCS Manager - Tech</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7429039" />
    <author>
      <name>Purvi Chokshi</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7429039</id>
    <updated>2012-10-08T18:03:13Z</updated>
    <published>2012-10-08T18:03:13Z</published>
    <summary type="html">Hello Helmut,

 

Try this out.

 

For Power on :

 

&lt;lsPower&gt;&lt;dn=""org-root/ls-testSP/power" state="up"&gt;&lt;/lsPower&gt;  

Where testSP is the name of service profile.

 

For Power off :

&lt;lsPower&gt;&lt;dn=""org-root/ls-testSP/power" state="soft-shut-down"&gt;&lt;/lsPower&gt;

 

In case you do not have any service profile associated to your blade, you need to do hard reset :

&lt;computeBlade&gt;&lt;adminPower=”hard-reset-immediate” dn=”sys/chassis-1/server-1” lc=”undiscovered”&gt;&lt;/computeBlade&gt;

 

Thanks,

Purvi

 

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com] 
Sent: Monday, October 08, 2012 8:44 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Helmut Pfeiler in Unified Computing UCS Manager - Technical Discussions: RE: How to start, stop, reboot a Blade Server via XML API

 

Helmut Pfeiler has created a new message in the forum "Technical Discussions": -------------------------------------------------------------- Hi Sage
 
Unfortunately the only interface option is the XML API.
So if someone knows the XML to use, that would really help.
 
Many thanks for the answers till now!
 
Helmut
--
To respond to this post, please click the following link: or simply reply to this email.</summary>
    <dc:creator>Purvi Chokshi</dc:creator>
    <dc:date>2012-10-08T18:03:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to start, stop, reboot a Blade Server via XML API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7421612" />
    <author>
      <name>Helmut Pfeiler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7421612</id>
    <updated>2012-10-08T15:43:23Z</updated>
    <published>2012-10-08T15:43:23Z</published>
    <summary type="html">Hi Sage
 
Unfortunately the only interface option is the XML API.
So if someone knows the XML to use, that would really help.
 
Many thanks for the answers till now!
 
Helmut</summary>
    <dc:creator>Helmut Pfeiler</dc:creator>
    <dc:date>2012-10-08T15:43:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to start, stop, reboot a Blade Server via XML API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7420441" />
    <author>
      <name>Sage Harvey</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7420441</id>
    <updated>2012-10-08T14:39:49Z</updated>
    <published>2012-10-08T14:39:49Z</published>
    <summary type="html">Hi Helmut,
I know you are specifically looking for help on this with XML.  I just wanted to offer that there are a couple of other tools you can use to manage UCS.  Like you I initially started with the XML API, but then I discovered the UCS PowerTool which is a powershell interface.  Another option is GoUCS which I believe is more of a java centric approach.
 
With the Powertool starting a service profile is as simple as:
Get-UcsServiceProfile -Name esxhost01 | Set-UcsServerPower -State "admin-up" -Force
 
Sage</summary>
    <dc:creator>Sage Harvey</dc:creator>
    <dc:date>2012-10-08T14:39:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Helmut Pfeiler in Unified Computing UCS Manager - Tech</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417340" />
    <author>
      <name>EELCO NIEUWSTAD</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417340</id>
    <updated>2012-10-08T11:57:12Z</updated>
    <published>2012-10-08T11:57:12Z</published>
    <summary type="html">Helmut,

easiest way to find the required XML is to start wireshark and capture all the data and filter the XML out of it. When you actualy perform those actions. I suppose you can do this as well with the emulator.

Regards
Eelco


________________________________________
Van: Cisco Developer Community Forums [cdicuser@developer.cisco.com]
Verzonden: maandag 8 oktober 2012 13:52
Aan: cdicuser@developer.cisco.com
Onderwerp: New Message from Helmut Pfeiler in Unified Computing UCS Manager - Technical Discussions: How to start, stop, reboot a Blade Server via XML API

Helmut Pfeiler has created a new message in the forum "Technical Discussions": -------------------------------------------------------------- Hi all

I'm new to the UCS and the XML API, so I'm sure this is a stupid question.
I'm able to read blade information via XML API and also to associate  service profile to a blade server.
But till now I did not find a way to start, stop and reboot the blade server via XML API.

Could anyone point me to the correct XML command to start, stop and reboot a blade server.

Many thanks in advance
Helmut
--
To respond to this post, please click the following link: or simply reply to this email.</summary>
    <dc:creator>EELCO NIEUWSTAD</dc:creator>
    <dc:date>2012-10-08T11:57:12Z</dc:date>
  </entry>
  <entry>
    <title>Automatisk svar: New Message from Helmut Pfeiler in Unified Computing UCS M</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417290" />
    <author>
      <name>JESPER MUNK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417290</id>
    <updated>2012-10-08T11:53:13Z</updated>
    <published>2012-10-08T11:53:13Z</published>
    <summary type="html">Jeg er kursus 2012.10.08-12, og besvarer i begrænset omfang mails.
For hastesager kontakt NetDesign tlf. 44358000.
I am on training 2012.10.08-12 and will only react on mails to a limited extent.
In urgent matters please contact NetDesign +4544358000.
Venlig hilsen / best regards Jesper Munk</summary>
    <dc:creator>JESPER MUNK</dc:creator>
    <dc:date>2012-10-08T11:53:13Z</dc:date>
  </entry>
  <entry>
    <title>Automatic reply: New Message from Helmut Pfeiler in Unified Computing UCS M</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417288" />
    <author>
      <name>Fred Hsu</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417288</id>
    <updated>2012-10-08T11:53:13Z</updated>
    <published>2012-10-08T11:53:13Z</published>
    <summary type="html">I'm currently out of the office</summary>
    <dc:creator>Fred Hsu</dc:creator>
    <dc:date>2012-10-08T11:53:13Z</dc:date>
  </entry>
  <entry>
    <title>Automatic reply: New Message from Helmut Pfeiler in Unified Computing UCS M</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417286" />
    <author>
      <name>Bengt Ake Andersson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417286</id>
    <updated>2012-10-08T11:53:12Z</updated>
    <published>2012-10-08T11:53:12Z</published>
    <summary type="html">I am currently OOO, I will be back October 23rd. /Roger</summary>
    <dc:creator>Bengt Ake Andersson</dc:creator>
    <dc:date>2012-10-08T11:53:12Z</dc:date>
  </entry>
  <entry>
    <title>Automatic reply: New Message from Helmut Pfeiler in Unified Computing UCS M</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417284" />
    <author>
      <name>Eric Williams</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417284</id>
    <updated>2012-10-08T11:53:12Z</updated>
    <published>2012-10-08T11:53:12Z</published>
    <summary type="html">I am currently out of office on PTO from Thursday, October 3, 2012 returning to the office Monday, October 8, 2012.  I will have limited access to voicemail and email at this time.  My responses will be delayed during this time.

Thanks,
Eric Williams</summary>
    <dc:creator>Eric Williams</dc:creator>
    <dc:date>2012-10-08T11:53:12Z</dc:date>
  </entry>
  <entry>
    <title>How to start, stop, reboot a Blade Server via XML API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417246" />
    <author>
      <name>Helmut Pfeiler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7417246</id>
    <updated>2012-10-08T11:51:57Z</updated>
    <published>2012-10-08T11:51:34Z</published>
    <summary type="html">Hi all
 
I'm new to the UCS and the XML API, so I'm sure this is a stupid question.
I'm able to read blade information via XML API and also to associate  service profile to a blade server.
But till now I did not find a way to start, stop and reboot the blade server via XML API.
 
Could anyone point me to the correct XML command to start, stop and reboot a blade server.
 
Many thanks in advance
Helmut</summary>
    <dc:creator>Helmut Pfeiler</dc:creator>
    <dc:date>2012-10-08T11:51:34Z</dc:date>
  </entry>
</feed>

