Black Box LES1232A, LES1332A, LES1408A, LES144BA PowerMan tool, Synopsis, Target Specification

Models: LES1116A LES110BA LES1308A LES1348A LES144BA Value-Line and Advanced Console Servers LES114BA LES1432A LES1332A LES1316A LES1416A LES1208A-R2 LES1132A LES1216A-R2 LES1232A LES1248A-R2 LES1408A

1 286
Download 286 pages 6.23 Kb
Page 263
Image 263

15.9.1 The PowerMan tool

PowerMan provides power management in a data center or compute cluster environment. It performs operations such as power on, power off, and power cycle via remote power controller (RPC) devices.

Synopsis

powerman [-option] [targets] pm [-option] [targets]

Options

-1,--onPower ON targets. -0,--offPower OFF targets.

-c, --cycle

Power cycle targets.

-r, --reset

Assert hardware reset for targets (if implemented by RPC).

-f, --flash

Turn beacon ON for targets (if implemented by RPC).

-u, --unflash

Turn beacon OFF for targets (if implemented by RPC).

-l,--listList available targets. If possible, output will be compressed into a host range (see TARGET SPECIFICATION below).

-q, --query

Query plug status of targets. If none specified, query all targets. Status is not cached;

 

each time this option is used, powermand queries the appropriate RPC's. Targets

 

connected to RPC's that could not be contacted (e.g. due to network failure) are

-n, --node

reported as status "unknown". If possible, output will be compressed into host ranges.

Query node power status of targets (if implemented by RPC). If no targets specified,

 

query all targets. In this context, a node in the OFF state could be ON at the plug but

-b, --beacon

operating in standby power mode.

Query beacon status (if implemented by RPC). If no targets are specified, query all

-t, --temp

targets.

Query node temperature (if implemented by RPC). If no targets are specified, query all

 

targets. Temperature information is not interpreted by powerman and is reported as

-h, --help

received from the RPC on one line per target, prefixed by target name.

Display option summary.

-L, --license

Show powerman license information.

-d,--destination host[:port] Connect to a powerman daemon on non-default host and optionally port.

-V, --version

Display the powerman version number and exit.

-D, --device

Displays RPC status information. If targets are specified, only RPC's matching the target

-T, --telemetry

list are displayed.

Causes RPC telemetry information to be displayed as commands are processed. Useful

-x, --exprange

for debugging device scripts.

Expand host ranges in query responses.

For more details refer http://linux.die.net/man/1/powerman

Also refer powermand (http://linux.die.net/man/1/powermand) documentation and powerman.conf (http://linux.die.net/man/5/powerman.conf)

Target Specification

powerman target hostnames may be specified as comma separated or space separated hostnames or host ranges. Host ranges are of the general form: prefix[n-m,l-k,...], where n < m and l < k, etc., This form

_____________________________________________________________________

724-746-5500 blackbox.com

Page 263

Page 263
Image 263
Black Box LES1232A, LES1332A, LES1408A, LES144BA, LES1416A, LES1348A, LES1432A PowerMan tool, Synopsis, Target Specification