cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2950
Views
0
Helpful
2
Replies

Power cycle UCS B-series blade using XML API

ChrisM3316
Level 1
Level 1

I'm attempting to power cycle a UCS-B200 using the XML API for UCS Central.  Below is the data I'm sending via the API

 

"<configConfMo cookie='{{ login_cookie }}' inHierarchical='false'>
<inConfig>
<lsServer dn='org-root/org-myorg/org-myorg_UCS/org-myorg_UCS_DC/ls-newserver02'>
<lsPower state='cycle-immediate'/>
</lsServer>
</inConfig></configConfMo>"

 

When I submit this via "POST" I get the following output.

 

invocationResult="unidentified-fail"
errorDescr="Config server power state via Service Profile is not allowed. Please use server operations to perform power operations.

 

Is it possible to power cycle a blade using the API?  Thanks in advance

2 Replies 2

ChrisM3316
Level 1
Level 1

Update: this feature was removed from UCS Central version 2.0(1j) and, according to Cisco support, there are no plans to reinstate it due to a bug.

BTW, the bug mentioned is https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvp40200

 

Kirk...

Review Cisco Networking products for a $25 gift card