
systems management
DELL POWER SOLUTIONS | November 2007
3
Reprinted from
Dell Power Solutions,
November 2007. Copyright © 2007 Dell Inc. All rights reserved.
3. In the LAN User Configuration options, set the Account Access param-
eter to Enabled and the Account Privilege parameter to Admin, and
enter a password (see Figure 3).
4. Press the Esc key, save changes, and exit the utility.
Installing and using IPMItool
Administrators can download the latest version of IPMItool from
sourceforge.net/projects/ipmitool or linux.dell.com/files/openipmi/
ipmitool. They can then install it using the command rpm -ivh
packagename.
IPMItool provides interfaces for both local and remote server man-
agement. For local management, it uses the Keyboard Controller Style
(KCS) interface, often called the open interface, which requires the
OpenIPMI kernel driver. Administrators can set IPMItool to use this
interface by including the -I open option in their commands:
ipmitool -I open command
For remote management, IPMItool uses either the lan or lanplus inter-
face. These interfaces are used to communicate with BMCs over an
Ethernet LAN connection using User Datagram Protocol (UDP) under IP
version 4 (IPv4). These UDP packets are formatted to contain IPMI request/
response messages with IPMI session headers and Remote Management
and Control Protocol (RMCP) headers, which support management in
environments without an OS. The difference between the lan and lanplus
interfaces is that lanplus uses RMCP+, providing enhanced authentication
and data integration checks.
The format for using commands with these interfaces is as follows:
ipmitool –I interface –H ipaddress -U username
-P password command
In this command, interface is lan or lanplus, ipaddress is
the IP address of the remote BMC, username and password are the
administrative username and password, and command is the command
the administrator wants to run. If the password is set as the
IPMI_PASSWORD environment variable, the command format changes
to the following:
ipmitool –I interface –H ipaddress -U username
-E command
Administrators can get help with a specific command using the fol-
lowing format:
ipmitool –I interface –H ipaddress -U username
-P password command help
For example, if during the Remote Access Configuration Utility setup
the username was defined as “root” and the password was defined as
“calvin” (see Figure 3), administrators could display the system event log
using the following command:
ipmitool –I lanplus –H 172.31.128.11 –U root
–P calvin sel list
By default, the IPMItool open interface works only with root privileges
because the device /dev/ipmi0 is set with root ownership. Administrators
can make IPMItool accessible for ordinary users as follows:
1. Create a user group using the command groupadd groupname
(where groupname is the name of the new group).
2. Change the group for /dev/ipmi0 using the following command:
chgrp groupname /dev/ipmi0
Figure 2. LAN Parameters options in the Remote Access Configuration
Utility
Figure 3. LAN User Configuration options in the Remote Access
Configuration Utility
Comentários a estes Manuais