update manpages with help text for new commands

This commit is contained in:
Duncan Laurie
2005-05-12 04:47:51 +00:00
parent e5a6d23f9c
commit bd30ca98db
2 changed files with 186 additions and 33 deletions

View File

@ -99,6 +99,11 @@ If supported it will be obscured in the process list.
\fBNote!\fR Specifying the password as a command line \fBNote!\fR Specifying the password as a command line
option is not recommended. option is not recommended.
.TP .TP
\fB\-S\fR <\fIsdr_cache_file\fP>
Use local file for remote SDR cache. Using a local SDR cache
can drastically increase performance for commands that require
knowledge of the entire SDR to perform their function.
.TP
\fB\-t\fR <\fItarget_address\fP> \fB\-t\fR <\fItarget_address\fP>
Bridge IPMI requests to the remote target address. Bridge IPMI requests to the remote target address.
.TP .TP

View File

@ -101,6 +101,13 @@ If supported it will be obscured in the process list.
\fBNote!\fR Specifying the password as a command line \fBNote!\fR Specifying the password as a command line
option is not recommended. option is not recommended.
.TP .TP
\fB\-S\fR <\fIsdr_cache_file\fP>
Use local file for remote SDR cache. Using a local SDR cache
can drastically increase performance for commands that require
knowledge of the entire SDR to perform their function. Local
SDR cache from a remote system can be created with the
\fIsdr dump\fP command.
.TP
\fB\-t\fR <\fItarget_address\fP> \fB\-t\fR <\fItarget_address\fP>
Bridge IPMI requests to the remote target address. Bridge IPMI requests to the remote target address.
.TP .TP
@ -177,6 +184,7 @@ Commands:
channel Configure Management Controller channel Configure Management Controller
channels channels
session Print session information session Print session information
sunoem Manage Sun OEM Extensions
exec Run list of commands from file exec Run list of commands from file
set Set runtime variable for shell and set Set runtime variable for shell and
exec exec
@ -197,6 +205,10 @@ chassis power Commands: status, on, off, cycle, reset, diag, soft
Instructs the BMC to perform a warm or cold reset. Instructs the BMC to perform a warm or cold reset.
.TP .TP
\fIguid\fP
Display the Management Controller Globally Unique IDentifier.
.TP
\fIinfo\fP \fIinfo\fP
.br .br
@ -284,7 +296,7 @@ selected channel. If no channel is given it will
display information about the currently used channel: display information about the currently used channel:
.RS .RS
.PP .PP
ipmitool channel info > ipmitool channel info
.br .br
Channel 0xf info: Channel 0xf info:
.br .br
@ -299,23 +311,20 @@ Channel 0xf info:
Protocol Vendor ID : 7154 Protocol Vendor ID : 7154
.RE .RE
.TP .TP
\fIgetaccess\fP <\fBchannel number\fR> [\fBuserid\fR] \fIgetaccess\fP <\fBchannel number\fR> [<\fBuserid\fR>]
.br .br
Configure the given userid as the default on the given channel number. Configure the given userid as the default on the given channel number.
When the given channel is subsequently used, the user is identified When the given channel is subsequently used, the user is identified
implicitly by the given userid. implicitly by the given userid.
.TP .TP
\fIsetaccess\fP <\fBchannel number\fR> <\fBuserid\fR> \fIsetaccess\fP <\fBchannel number\fR> <\fBuserid\fR> [<\fBcallin\fR=\fBon\fR|\fBoff\fR>]
[\fBcallin\fR=\fBon\fR|\fBoff\fR] [<\fBipmi\fR=\fBon\fR|\fBoff\fR>] [<\fBlink\fR=\fBon\fR|\fBoff\fR>] [<\fBprivilege\fR=\fBlevel\fR>]
[\fBipmi\fR=\fBon\fR|\fBoff\fR]
[\fBlink\fR=\fBon\fR|\fBoff\fR]
[\fBprivilege\fR=\fBlevel\fR]
.br .br
Configure user access information on the given channel for the given userid. Configure user access information on the given channel for the given userid.
.TP .TP
\fIgetciphers\fP <\fBall | supported\fR> <\fBipmi | sol\fR> [\fBchannel\fR] \fIgetciphers\fP <\fBall\fR|\fBsupported\fR> <\fBipmi\fR|\fBsol\fR> [<\fBchannel\fR>]
.br .br
Displays the list of cipher suites supported for the given Displays the list of cipher suites supported for the given
@ -427,14 +436,21 @@ be Operating System support for ACPI and some sort of daemon
watching for events for this soft power to work. watching for events for this soft power to work.
.RE .RE
.TP .TP
\fIbootdev\fP <\fBdevice\fR> \fIbootdev\fP <\fBdevice\fR> [<\fBclear\-cmos\fR=\fByes\fR|\fBno\fR>]
.br .br
Request the system to boot from an alternate boot device on next reboot. Request the system to boot from an alternate boot device on next reboot.
The \fIclear\-cmos\fP option, if supplied, will instruct the BIOS to
clear its CMOS on the next reboot.
.RS .RS
.TP .TP
Currently supported values for <device> are: Currently supported values for <device> are:
.TP .TP
\fInone\fP
.br
Do not change boot device
.TP
\fIpxe\fP \fIpxe\fP
.br .br
@ -556,6 +572,25 @@ Setup baud rate for IPMI v1.5 Serial\-over\-LAN.
.TP .TP
\fIlan\fP \fIlan\fP
.RS .RS
These commands will allow you to configure IPMI LAN channels
with network information so they can be used with the ipmitool
\fIlan\fP and \fIlanplus\fP interfaces. \fINOTE\fR: To
determine on which channel the LAN interface is located, issue
the `channel info \fInumber\fR' command until you come across
a valid 802.3 LAN channel. For example:
.br
> ipmitool \-I open channel info 1
.br
Channel 0x1 info:
.br
Channel Medium Type : 802.3 LAN
Channel Protocol Type : IPMB\-1.0
Session Support : session\-based
Active Session Count : 8
Protocol Vendor ID : 7154
.TP .TP
\fIprint\fP <\fBchannel\fR> \fIprint\fP <\fBchannel\fR>
.br .br
@ -638,12 +673,12 @@ Set the IP address source:
.br .br
\fIbios\fP address loaded by BIOS or system software \fIbios\fP address loaded by BIOS or system software
.TP .TP
\fIarp respond\fP <\fBon|off\fR> \fIarp respond\fP <\fBon\fR|\fBoff\fR>
.br .br
Set BMC generated ARP responses. Set BMC generated ARP responses.
.TP .TP
\fIarp generate\fP <\fBon|off\fR> \fIarp generate\fP <\fBon\fR|\fBoff\fR>
.br .br
Set BMC generated gratuitous ARPs. Set BMC generated gratuitous ARPs.
@ -695,7 +730,7 @@ Characters used in \fIprivlist\fR and their associated privilege levels are:
So, to set the maximum privilege for cipher suite 1 to USER and suite 2 to So, to set the maximum privilege for cipher suite 1 to USER and suite 2 to
ADMIN, issue the following command: ADMIN, issue the following command:
ipmitool \-I \fIinterface\fR lan set \fIchannel\fR cipher_privs uaXXXXXXXXXXXXX > ipmitool \-I \fIinterface\fR lan set \fIchannel\fR cipher_privs uaXXXXXXXXXXXXX
.RE .RE
.RE .RE
@ -732,13 +767,13 @@ entries matching the event, and possible actions to be taken.
Actions are performed in priority order (higher criticality first). Actions are performed in priority order (higher criticality first).
.RE .RE
.TP .TP
\fIraw\fP <\fBnetfn\fR> <\fBcmd\fR> [\fBdata\fR] \fIraw\fP <\fBnetfn\fR> <\fBcmd\fR> [<\fBdata\fR>]
.br .br
This will allow you to execute raw IPMI commands. For This will allow you to execute raw IPMI commands. For
example to query the POH counter with a raw command: example to query the POH counter with a raw command:
ipmitool \-v raw 0x0 0xf > ipmitool \-v raw 0x0 0xf
.br .br
RAW REQ (netfn=0x0 cmd=0xf data_len=0) RAW REQ (netfn=0x0 cmd=0xf data_len=0)
.br .br
@ -754,12 +789,33 @@ RAW RSP (5 bytes)
This command will query the BMC for SDR information. This command will query the BMC for SDR information.
.TP .TP
\fIlist\fP [\fBall\fR|\fBfull\fR|\fBcompact\fR|\fBevent\fR|\fBmcloc\fR|\fBfru\fR|\fBgeneric\fR] \fItype\fP <\fBsensor type\fP>
This command will display all records from the SDR of a specific type.
Run with type \fIlist\fP to see the list of available types. For
example to query for all Temperature sensors:
> ipmitool sdr type Temperature
.br
Baseboard Temp | 30h | ok | 7.1 | 28 degrees C
.br
FntPnl Amb Temp | 32h | ok | 12.1 | 24 degrees C
.br
Processor1 Temp | 98h | ok | 3.1 | 57 degrees C
.br
Processor2 Temp | 99h | ok | 3.2 | 53 degrees C
.TP
\fIlist\fP | \fIelist\fP [<\fBall\fR|\fBfull\fR|\fBcompact\fR|\fBevent\fR|\fBmcloc\fR|\fBfru\fR|\fBgeneric\fR>]
.br .br
This command will read the Sensor Data Records (SDR) and This command will read the Sensor Data Records (SDR) and extract sensor
extract sensor information of a given type, then query each sensor and information of a given type, then query each sensor and print its name,
print its name, reading, and status. reading, and status. If invoked as \fIelist\fP then it will also print
sensor number, entity id and instance, and asserted discrete states.
The default output will only display \fIfull\fP and \fIcompact\fP sensor
types, to see all sensors use the \fIall\fP type with this command.
.RS .RS
.TP .TP
Valid types are: Valid types are:
@ -806,14 +862,16 @@ Generic SDR records
.br .br
Displays all sensors associated with an entity. Get a list of Displays all sensors associated with an entity. Get a list of
valid entity ids on the target system by issuing the `sdr list' command valid entity ids on the target system by issuing the \fIsdr elist\fP command.
with the verbose option (`\-v'). A list of all entity ids can be found A list of all entity ids can be found in the IPMI specifications.
in the IPMI specifications.
.TP .TP
\fIdump\fP <\fBfile\fR> \fIdump\fP <\fBfile\fR>
.br .br
Dumps raw SDR data to a file. Dumps raw SDR data to a file. This data file can then be used as
a local SDR cache of the remote managed system with the \fI\-S <file>\fP
option on the ipmitool command line. This can greatly improve performance
over system interface or remote LAN.
.RE .RE
.TP .TP
\fIsel\fP \fIsel\fP
@ -821,8 +879,9 @@ Dumps raw SDR data to a file.
NOTE: SEL entry\-times are displayed as `Pre\-Init Time\-stamp' NOTE: SEL entry\-times are displayed as `Pre\-Init Time\-stamp'
if the SEL clock needs to be set. if the SEL clock needs to be set.
Ensure that the SEL clock is accurate by invoking the `sel time get' Ensure that the SEL clock is accurate by invoking the
and `sel time set <time string>' commands. \fIsel time get\fP and
\fIsel time set <time string>\fP commands.
.RS .RS
.TP .TP
\fIinfo\fP \fIinfo\fP
@ -837,11 +896,14 @@ about the System Event Log (SEL) and its contents.
This command will clear the contents of the SEL. This command will clear the contents of the SEL.
It cannot be undone so be careful. It cannot be undone so be careful.
.TP .TP
\fIlist\fP \fIlist\fP | \fIelist\fP
.br .br
When this command is invoked without arguments, the entire When this command is invoked without arguments, the entire
contents of the SEL are displayed. contents of the System Event Log are displayed. If invoked as
\fIelist\fP it will also use the Sensor Data Record entries
to display the sensor ID for the sensor that caused each event.
\fBNote\fR this can take a long time over the system interface.
.RS .RS
.TP .TP
@ -868,7 +930,6 @@ Delete a single event.
.TP .TP
\fIget\fP \fIget\fP
.br .br
Displays the SEL clock's current time. Displays the SEL clock's current time.
.TP .TP
\fIset\fP <\fBtime string\fR> \fIset\fP <\fBtime string\fR>
@ -902,7 +963,7 @@ This allows you to set a particular sensor threshold
value. The sensor is specified by name. value. The sensor is specified by name.
.RS .RS
.TP .TP
Valid thresholds are: Valid \fIthresholds\fP are:
.br .br
\fIunr\fP Upper Non\-Recoverable \fIunr\fP Upper Non\-Recoverable
.br .br
@ -916,12 +977,25 @@ Valid thresholds are:
.br .br
\fIlnr\fP Lower Non\-Recoverable \fIlnr\fP Lower Non\-Recoverable
.RE .RE
.TP
\fIthresh\fP <\fBid\fR> \fIlower\fP <\fBlnr\fR> <\fBlcr\fR> <\fBlnc\fR>
This allows you to set all lower thresholds for a sensor at the same time.
The sensor is specified by name and the thresholds are listed in order of
Lower Non\-Recoverable, Lower Critical, and Lower Non\-Critical.
.TP
\fIthresh\fP <\fBid\fR> \fIupper\fP <\fBunc\fR> <\fBucr\fR> <\fBunr\fR>
This allows you to set all upper thresholds for a sensor at the same time.
The sensor is specified by name and the thresholds are listed in order of
Upper Non\-Critical, Upper Critical, and Upper Non\-Recoverable.
.RE .RE
.TP .TP
\fIsession\fP \fIsession\fP
.RS .RS
.TP .TP
\fIinfo\fP <\fBactive\fR | \fBall\fR | \fBid 0xnnnnnnnn\fR | \fBhandle 0xnn\fR> \fIinfo\fP <\fBactive\fR|\fBall\fR|\fBid 0xnnnnnnnn\fR|\fBhandle 0xnn\fR>
.br .br
Get information about the specified session(s). You may identify Get information about the specified session(s). You may identify
@ -929,6 +1003,18 @@ sessions by their id, by their handle number, by their active status,
or by using the keyword `all' to specify all sessions. or by using the keyword `all' to specify all sessions.
.RE .RE
.TP .TP
\fIshell\fP
.RS
This command will launch an interactive shell which you can use
to send multiple ipmitool commands to a BMC and see the responses.
This can be useful instead of running the full ipmitool command each
time. Some commands will make use of a Sensor Data Record cache
and you will see marked improvement in speed if these commands
are able to reuse the same cache in a shell session. LAN sessions
will send a periodic keepalive command to keep the IPMI session
from timing out.
.RE
.TP
\fIsol\fP \fIsol\fP
.RS .RS
.TP .TP
@ -939,7 +1025,7 @@ Retrieve information about the Serial\-Over\-LAN configuration on
the specified channel. If no channel is given, it will display the specified channel. If no channel is given, it will display
SOL configuration data for the currently used channel. SOL configuration data for the currently used channel.
.TP .TP
\fIset\fP <\fBparameter\fR> <\fBvalue\fR> [\fBchannel\fR] \fIset\fP <\fBparameter\fR> <\fBvalue\fR> [<\fBchannel\fR>]
.br .br
Configure parameters for Serial Over Lan. If no channel is given, Configure parameters for Serial Over Lan. If no channel is given,
@ -1027,6 +1113,70 @@ unintentional exit from SOL mode, this command may be
necessary to reset the state of the BMC. necessary to reset the state of the BMC.
.RE .RE
.TP .TP
\fIsunoem\fP
.RS
.TP
\fIled\fP
.RS
These commands provide a way to get and set the status of LEDs
on a Sun Microsystems server. Use 'sdr list generic' to get a
list of devices that are controllable LEDs. The \fIledtype\fP
parameter is optional and not necessary to provide on the command
line unless it is required by hardware.
.TP
Supported LED Modes are:
.br
\fIOFF\fP Off
.br
\fION\fP Steady On
.br
\fISTANDBY_BLINK\fP 100ms on 2900ms off blink rate
.br
\fISLOW_BLINK\fP 1HZ blink rate
.br
\fIFAST_BLINK\fP 4HZ blink rate
.TP
Supported (optional) LED Types are:
.br
\fIOK2RM\fP Ok to Remove
.br
\fISERVICE\fP Service Required
.br
\fIACT\fP Activity
.br
\fILOCATE\fP Locate
.TP
\fIget\fP <\fBsensorid\fR> [<\fBledtype\fR>]
Get status of a particular LED described by a Generic Device Locator
record in the SDR. A sensorid of \fIall\fP will get the status
of all available LEDS.
.TP
\fIset\fP <\fBsensorid\fR> <\fBledmode\fR> [<\fBledtype\fR>]
Set status of a particular LED described by a Generic Device Locator
record in the SDR. A sensorid of \fIall\fP will set the status
of all available LEDS to the specified \fIledmode\fP and \fIledtype\fP.
.RE
.TP
\fIsshkey\fP
.RS
.TP
\fIset\fP <\fBuserid\fR> <\fBkeyfile\fR>
This command will allow you to specify an SSH key to use for a particular
user on the Service Processor. This key will be used for CLI logins to
the SP and not for IPMI sessions. View available users and their userids
with the 'user list' command.
.TP
\fIdel\fP <\fBuserid\fR>
This command will delete the SSH key for a specified userid.
.RE
.RE
.TP
\fIuser\fP \fIuser\fP
.RS .RS
.TP .TP
@ -1073,8 +1223,6 @@ Enables access to the BMC by the given userid.
Determine whether a password has been stored as 16 or 20 bytes. Determine whether a password has been stored as 16 or 20 bytes.
.RE .RE
\fINOTE\fR: To determine on which channel the LAN interface
is located, issue the `channel info \fIchannel\fR' command.
.SH "OPEN INTERFACE" .SH "OPEN INTERFACE"
The ipmitool \fIopen\fP interface utilizes the OpenIPMI The ipmitool \fIopen\fP interface utilizes the OpenIPMI
kernel device driver. This driver is present in all modern kernel device driver. This driver is present in all modern