Hitachi Compute Blade 2000 User Manual page 1849

Hide thumbs Also See for Compute Blade 2000:
Table of Contents

Advertisement

An example of using WinRM is shown below.
To show the server blade status:
C:\>winrm e cimv2/CIM_ComputerSystem -
r:https://172.16.0.2:5986/wsman -a:basic -u:user02 -p:pass02 -
encoding:utf-8
When an error message indicating that the envelope is too
large is displayed, type the following command to avoid
trouble.
C:\>winrm s winrm/config @{MaxEnvelopeSizekb="4096"}
To power on the server blade:
C:\> winrm i RequestStateChange
"cimv2/CIM_ComputerSystem?CreationClassName=CIM_ComputerSystem+Name=
IPMI BMC DeviceID.32" @{RequestedState="2"} -
r:https://172.16.0.2:5986/wsman -a:basic -u:user02 -p:pass02 -
encoding:utf-8
To power off the server blade:
C:\> winrm i RequestStateChange
"cimv2/CIM_ComputerSystem?CreationClassName=CIM_ComputerSystem+Name=
IPMI BMC DeviceID.32" @{RequestedState="3"} -
r:https://172.16.0.2:5986/wsman -a:basic -u:user02 -p:pass02 -
encoding:utf-8
To perform hardware reset on the server blade:
C:\>winrm i ChangeBootOrder
cimv2/CIM_BootConfigSetting?InstanceID=BootConfigSetting1 -
r:https://172.16.0.2:5986/wsman -a:basic -u:user02 -p:pass02 -
encoding:utf-8 -file:input-ChangeBootOrder.xml1
To switch to PXE boot:
C:\>winrm i ChangeBootOrder
cimv2/CIM_BootConfigSetting?InstanceID=BootConfigSetting1 -
r:https://172.16.0.2:5986/wsman -a:basic -u:user02 -p:pass02 -
encoding:utf-8 -file:input-ChangeBootOrder.xml
1798

Advertisement

Table of Contents
loading

Table of Contents