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

Power cycle UCS 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

0 Replies 0