Power Cycle - NEC express5800 A2010b User Manual

Hide thumbs Also See for express5800 A2010b:
Table of Contents

Advertisement

Chapter 3 Setup

9.2.6 Power Cycle

To use WinRM, create a file input-RequestPowerStateChange9.xml, and run the following command to issue a
RequestPowerStateChange of its PowerState is 9 (Power Cycle (Off-Hard)) to BMC.
winrm invoke RequestPowerStateChange
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_PowerManagementService?__cimnamespac
e=root/cimv2+Name=IPMI Power
Service+CreationClassName=CIM_PowerManagementService+SystemName=Unknown.IPMI BMC
DeviceID.5B+SystemCreationClassName=Host_ComputerSystem" -r:PROTOCOL:// IP_ADDRESS /wsman
-username: USERNAME -password: PASSWORD -auth:basic -encoding:utf-8 -skipCAcheck -skipCNcheck
-skipRevocationcheck -format:xml -file:input-RequestPowerStateChange9.xml
input-RequestPowerStateChange9.xml
<n1:RequestPowerStateChange_INPUT
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_PowerManagementService"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
<n1:PowerState>9</n1:PowerState>
<n1:ManagedElement>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Host_ComputerSystem
</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name='__cimnamespace'>root/cimv2</wsman:Selector>
<wsman:Selector Name='CreationClassName'>Host_ComputerSystem</wsman:Selector>
<wsman:Selector Name='Name'>Unknown.IPMI BMC DeviceID.5B</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:ManagedElement>
</n1:RequestPowerStateChange_INPUT>
Tips
454
This operation is equivalent to performing Remote Access → Power Control → Power
Cycle on Web console.
Express5800/A1040b, A2040b, A2020b, A2010b User's Guide
9. WS-Management

Advertisement

Table of Contents
loading

This manual is also suitable for:

Express5800 a1040bExpress5800 a2020bExpress5800 a2040b

Table of Contents