Start a Conversation

Unsolved

This post is more than 5 years old

27493

June 10th, 2015 18:00

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

schemas.dell.com/.../DCIM_CSPowerManagementService">
  schemas.xmlsoap.org/.../addressing" xmlns:w=" schemas.dmtf.org/.../wsman.xsd">
     schemas.xmlsoap.org/.../anonymous<;/a:Address>
    
      schemas.dell.com/.../DCIM_ComputerSystem<;/w:ResourceURI>
     
        DCIM_ComputerSystem
        srv:system
        root/dcim
     
    
 
  8


Fault
  Code
    Value = s:Sender
    Subcode
      Value = wsa:DestinationUnreachable
  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?

15 Posts

June 11th, 2015 06:00

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 

2 Posts

June 11th, 2015 17:00

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

No Events found!

Top