01-20-2020 07:09 PM
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
01-22-2020 11:58 AM
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.
01-23-2020 07:10 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide