NAME

rpower - remote power control of nodes


SYNOPSIS

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]

PPC (with IVM or HMC) specific:

rpower noderange [--nodeps] {of}

PPC (with HMC) specific:

rpower noderange [onstandby]

rpower noderange [softoff]

CEC (using Direct FSP Management) specific:

rpower noderange [on|off|stat|state|lowpower|resetsp]

Frame (using Direct FSP Management) specific:

rpower noderange [rackstandby|exit_rackstandby|stat|state|resetsp]

LPAR (using Direct FSP Management) specific:

rpower noderange [on|off|stat|state|reset|boot|of|sms]

Blade specific:

rpower noderange [cycle|softoff]


DESCRIPTION

rpower controls the power for a single or range of nodes, via the out-of-band path.


OPTIONS

on

Turn power on.

onstandby

Turn power on to standby state

lowpower

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.

rackstandby

Places the rack in the rack standby state. It requires that all CECs and DE be powered off before it will run.

exit_rackstandby

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.

resetsp

Reboot the service processor. If there are primary and secondary FSPs/BPAs of one cec/frame, it will reboot them almost at the sametime.

softoff

Attempt to request clean shutdown of OS (may not detect failures in completing command)

off

Turn power off.

suspend

Suspend the target nodes execution

stat|state

Print the current power state/status.

reset

Send a hard reset.

boot

If off, then power on. If on, then hard reset. This option is recommended over cycle.

cycle

Power off, then on.

of

Boot the node to open firmware console mode.

sms

Boot the node to open firmware SMS menu mode.

-m table.column==expectedstatus -m table.column=~expectedstatus

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.

--nodeps

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.

-r retrycount

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.

-t timeout

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.

-h|--help

Prints out a brief usage message.

-v|--version

Display the version number.


EXAMPLES


SEE ALSO

noderange(3), rcons(1), rinv(1), rvitals(1), rscan(1)