Chapter 16:
KCS Client Configuration
298
Console Server & RIM Gateway User Manual
<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</parity>
</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 the native name for identifying the outlet. This value will be passed to the scripts in the
environment variable
outlet
, allowing the script to address the correct outlet.
There are four possible scripts:
on, off, cycle
and
status
.
When a script is run, it's standard input and output is redirected to the appropriate serial port. The script receives the
outlet and port in the
outlet
and
port
environment variables respectively.
The script can be anything that can be executed within the shell.
All of the existing scripts in
/etc/powerstrips.xml
use the
pmchat
utility.
pmchat
works just like the standard unix "chat" program, only it ensures interoperation with the port manager.
The final options,
speed, charsize, stop
and
parity
define the recommended or default settings for the attached device.
15.10 IPMItool
The
console server
includes the
ipmitool
utility for managing and configuring devices that support the Intelligent Platform
Management Interface (IPMI) version 1.5 and version 2.0 specifications.
IPMI is an open standard for monitoring, logging, recovery, inventory, and control of hardware that is implemented
independent of the main CPU, BIOS, and OS. The service processor (or Baseboard Management Controller, BMC) is the
brain behind platform management and its primary purpose is to handle the autonomous sensor monitoring and event
logging features.
The
ipmitool
program provides a simple command-line interface to this BMC. It features the ability to read the sensor data
repository (SDR) and print sensor values, display the contents of the System Event Log (SEL), print Field Replaceable
Unit (FRU) inventory information, read and set LAN configuration parameters, and perform remote chassis power control.
SYNOPSIS
ipmitool
[
-c
|
-h
|
-v
|
-V
]
-I
open
<
command
>
ipmitool
[
-c
|
-h
|
-v
|
-V
]
-I
lan
-H
<
hostname
>
[
-p
<
port
>]
[
-U
<
username
>]
[
-A
<
authtype
>]
[
-L
<
privlvl
>]
[
-a
|
-E
|
-P
|
-f
<
password
>]
[
-o
<
oemtype
>]
<
command
>
ipmitool
[
-c
|
-h
|
-v
|
-V
]
-I
lanplus
-H
<
hostname
>
[
-p
<
port
>]
[
-U
<
username
>]
[
-L
<
privlvl
>]
[
-a
|
-E
|
-P
|
-f
<
password
>]
[
-o
<
oemtype
>]
[
-C
<
ciphersuite
>]
<
command
>
Содержание ACM5000
Страница 3: ......
Страница 10: ...Table of Contents 10 Console Server RIM Gateway User Manual...
Страница 11: ......
Страница 94: ...Chapter 5 Firewall Failover and Out of Band 94 Console Server RIM Gateway User Manual...
Страница 119: ......
Страница 149: ......
Страница 191: ......
Страница 205: ......
Страница 225: ......
Страница 303: ......
Страница 313: ......
Страница 323: ......