Tripp Lite B092-016 Owner's Manual Page 211

  • Download
  • Add to my manuals
  • Print
  • Page
    / 242
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 210
211
The first is to
have
scripts to support
th
e particular RPC
included in
the open source
PowerM
a
n
project
(
http://sourceforge.net/projects/powerman
)
.
The
PowerMan
device specifications ar
e
unusual
and it is
suggest
ed
that you leave the
actual
writing of these scripts to the PowerMan
a
uthors. Ho
wever
documentation on
how they work
can be found at
h
ttp://linux.die.net/man/5/powerman.dev
.
Once the new RPC support has been built into the
PowerMan
,
we
will
include the updated
PowerM
an
build in a
subsequent firmware release
.
The second path is
to
directly add support for the new RPC
devices
(
or to customize the existing
RPC
device support
) on your particular
Console Server
.
The
Manage
: Power
page uses
information contained in
/etc/powerstrips.xm
l
to configure and control devices attached to a
serial port
.
The configuration also looks for (and loads)
/etc/config/powerstrips.xml
if it exists.
The user can add their own support for more devices by putting definitions for them into
/etc/config/powers
trips.xml
.
This file can be created on a host system and copied to the
Management Console
device using
scp
.
Alternatively, login to the
Management Console
and
use
ftp
or
wget
to transfer files.
Here is a brief description of the elements of the XML entries
in
/etc/config/powerstrips.xml
.
<powerstrip>
<id>Name or ID of the device support</id>
<outlet port="port
-
id
-
1">Display Port 1 in menu</outlet>
<outlet port="port
-
id
-
2">Display Port 2 in menu</outlet>
...
<on>script to turn power on</on>
<off
>script to power off</off>
<cycle>script to cycle power</cycle>
<status>script to write power status to /var/run/power
-
status</status>
<speed>baud rate</speed>
<charsize>character size</charsize>
<stop>stop bits</stop>
<parity>parity setting</p
arity>
</powerstrip>
The
id
appears on the web page in the list of available devices types to
configure.
The outlets describe targets that the scripts can control
.
For example
,
a
power control board
may control several different outlets
.
The port
-
id is
th
e native name for identifying the outlet
.
Page view 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 241 242

Comments to this Manuals

No comments