rpower - remote power control of nodes
rpower noderange [--nodeps] [on|onstandby|off|suspend|stat|state|reset|boot] [-m table.column==expectedstatus [-m table.column=~expectedstatus]] [-t timeout] [-r retrycount]
rpower [-h|--help|-v|--version]
rpower noderange [--nodeps] {of}
rpower noderange [onstandby]
rpower noderange [softoff]
rpower noderange [on|off|stat|state|lowpower|resetsp]
rpower noderange [rackstandby|exit_rackstandby|stat|state|resetsp]
rpower noderange [on|off|stat|state|reset|boot|of|sms]
rpower noderange [cycle|softoff]
rpower controls the power for a single or range of nodes, via the out-of-band path.
Turn power on.
Turn power on to standby state
Turn CEC to low power state (state EOCT). This is a disruptive operation which requires the CEC to be powered off prior to entering low power mode. And we can use power off command to get out of lowepower state.
Places the rack in the rack standby state. It requires that all CECs and DE be powered off before it will run.
Exit Rack standby will be the default state that a rack goes into when power is initially applied to the rack. It simply moves the BPA from Rack standby to both bpa's in standby state.
Reboot the service processor. If there are primary and secondary FSPs/BPAs of one cec/frame, it will reboot them almost at the sametime.
Attempt to request clean shutdown of OS (may not detect failures in completing command)
Turn power off.
Suspend the target nodes execution
Print the current power state/status.
Send a hard reset.
If off, then power on. If on, then hard reset. This option is recommended over cycle.
Power off, then on.
Boot the node to open firmware console mode.
Boot the node to open firmware SMS menu mode.
Use one or multiple -m flags to specify the node attributes and the expected status for the node installation monitoring and automatic retry mechanism. The operators ==, !=, =~ and !~ are valid. This flag must be used with -t flag.
Note: if the ``val'' fields includes spaces or any other characters that will be parsed by shell, the ``attr<oper-ator>val'' needs to be quoted. If the operator is ``!~'', the ``attr<operator>val'' needs to be quoted using single quote.
Do not use dependency table (default is to use dependency table). Valid only with on|off|boot|reset|cycle for blade power method and on|off|reset|softoff for hmc/fsp power method.
specify the number of retries that the monitoring process will perform before declare the failure. The default value is 3. Setting the retrycount to 0 means only monitoring the os installation progress and will not re-initiate the installation if the node status has not been changed to the expected value after timeout. This flag must be used with -m flag.
Specify the the timeout, in minutes, to wait for the expectedstatus specified by -m flag. This is a required flag if the -m flag is specified.
Power off, then on.
Prints out a brief usage message.
Display the version number.
rpower node4,node5 stat
node4: on node5: off
rpower node5 on
node5: on