![](/images/new-backgrounds/1135471/135471311x1.webp)
1101 and 1102 Secure Device Servers
Options
Power cycle targets. | |
Turn beacon OFF for targets (if implemented by RPC). | |
List available targets. If possible, output will be compressed into a host range (see TARGET SPECIFICATION below). | |
| 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 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 operating in standby power mode. |
Query beacon status (if implemented by RPC). If no targets are specified, query all 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 received from the RPC on one line per target, prefixed by target name. |
Show powerman license information. | |
Display the powerman version number and exit. | |
Displays RPC status information. If targets are specified, only RPC's matching the target list are displayed. | |
Causes RPC telemetry information to be displayed as commands are processed. Useful for debugging device scripts. | |
Expand host ranges in query responses. | |
For more details refer | |
Also refer | ( ) documentation and |
( )
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:
This range syntax is meant only as a convenience on clusters with a prefix NN naming convention and specification of ranges should not be considered
Some examples of powerman targets follows.
Power on hosts bar,baz,foo01,foo02,...,foo05: powerman
Power on hosts bar,foo7,foo9,foo10: powerman
Power on foo0,foo4,foo5: powerman
As a reminder to the reader, some shells will interpret brackets ([ and ]) for pattern matching. Depending on your shell, you might need to enclose ranged lists within quotes. For example, in tcsh, the last example above should be executed as:
powerman
The pmpower utility is a high level tool for manipulating remote preconfigured power devices connected to the console server via a serial or network connection. The PDU UPS and IPMI power devices are variously controlled using the open source PowerMan, IPMItool, or Network UPS Tools, and Black Box’s pmpower utility arches over these tools so the devices can be controlled through one command line:
pmpower
on This action switches the specified device or outlet(s) on off This action switches the specified device or outlet(s) off
cycle This action switches the specified device or outlet(s) off and on again
156 |