Highlighted
lihlcnkr
Copper

use DRAC(recite.py script) to power management on dell server

Hi,

I wanna use recite.py script to power management on dell server.(en.community.dell.com/.../3757.recite-interactive-ws-man-scripting-environment)

I can use recite.py script to check dell server status, but when I waanna change power status, It's fail.

when I run "RequestPowerStateChange PowerState=8"

It's return following message:
wsman invoke -a RequestPowerStateChange "schemas.dmtf.org/.../DCIM_CSPowerManagementService" -h 10.30.199.198 -P 443 -u root -p ****** -V -v -c dummy.cert -j utf-8 -y basic -J /tmp/tmpTc0Qzm

<p:RequestPowerStateChange_INPUT xmlnsSmiley Tongue="schemas.dell.com/.../DCIM_CSPowerManagementService">
  <p:ManagedElement xmlns:a="schemas.xmlsoap.org/.../addressing" xmlns:w="schemas.dmtf.org/.../wsman.xsd">
    <a:Address>schemas.xmlsoap.org/.../anonymous&lt;/a:Address>
    <a:ReferenceParameters>
      <w:ResourceURI>schemas.dell.com/.../DCIM_ComputerSystem&lt;/w:ResourceURI>
      <wSmiley FrustratedelectorSet>
        <wSmiley Frustratedelector Name="CreationClassName">DCIM_ComputerSystem</wSmiley Frustratedelector>
        <wSmiley Frustratedelector Name="Name">srv:system</wSmiley Frustratedelector>
        <wSmiley Frustratedelector Name="__cimnamespace">root/dcim</wSmiley Frustratedelector>
      </wSmiley FrustratedelectorSet>
    </a:ReferenceParameters>
  </p:ManagedElement>
  <pSmiley TongueowerState>8</pSmiley TongueowerState>
</p:RequestPowerStateChange_INPUT>

Fault
  Code
    Value = sSmiley Frustratedender
    Subcode
      Value = wsaSmiley Very HappyestinationUnreachable
  Reason
    Text = No route can be determined to reach the destination role defined by the WS-Addressing To.
  Detail
    FaultDetail = schemas.dmtf.org/.../InvalidResourceURI

Server model is "PowerEdge R620".

what's wrong is it?

0 Kudos
2 Replies
ajay_shenoy
Silver

RE: use DRAC(recite.py script) to power management on dell server

Hi,

RequestPowerStateChangeq is not a valid command. Have you modified the recite script? Recite uses the command name within the invoke call. Therefore you might be seeing a failure because the correct command is RequestPowerStateChange and not RequestPowerStateChangeq.

Regards,

Ajay 

0 Kudos
lihlcnkr
Copper

RE: use DRAC(recite.py script) to power management on dell server

sorry, I miss spelled command.

but after use command

    RequestPowerStateChange PowerState=8

it's fail too.

the result is same,

    No route can be determined to reach the destination role defined by the WS-Addressing To

0 Kudos