Pmpower; Adding New Rpc Devices - Tripp Lite B092-016 Owner's Manual

Console server management switch console server with poweralert console server
Hide thumbs Also See for B092-016:
Table of Contents

Advertisement

Power on foo0,foo4,foo5: powerman --on foo[0,4-5]
As a reminder to the reader, some shells will interpret brackets ([ and ]) for pattern matching.
Depending on your shell, it may be necessary to enclose ranged lists within quotes. For
example, in tcsh, the last example above should be executed as:
powerman --on "foo[0,4-5]"
15.9.2

pmpower

The pmpower command is a high-level tool for manipulating remote, preconfigured power
devices connected to the Console Servers either via a serial or network connection.
pmpower [-?h] [-l device | -r host] [-o outlet] [-u username] [-p password] action
-?/-h
This help message.
-l
The serial port to use.
-o
The outlet on the power target to apply to.
-r
The remote host address for the power target.
-u
Override the configured username.
-p
Override the configured password.
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.
status
This action retrieves the current status of the device or outlet.
Examples:
To turn outlet 4 of the power device connected to serial port 2 on:
# pmpower -l port02 -o 4 on
To turn an IPMI device located at IP address 192.168.1.100 to OFF (where username is 'root'
and password is 'calvin':
# pmpower -r 192.168.1.100 -u root -p calvin off
Default system Power Device actions are specified in /etc/powerstrips.xml. Custom Power
Devices can be added in /etc/config/powerstrips.xml. If an action is attempted which has not
been configured for a specific Power Device, pmpower will exit with an error.
15.9.3

Adding New RPC Devices

There are two simple paths to adding support for new RPC devices.
210

Advertisement

Table of Contents
loading

This manual is also suitable for:

B095-004-1eB095-003-1e-mB096-016B096-048

Table of Contents