Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > a4f4394e624f80b54028c473e74fcc9d > files > 21

ipmiutil-1.9.2-1mdv2008.1.x86_64.rpm


             ------------------------------
                   ipmiutil README
	       IPMI Management Utilities
             ------------------------------

The ipmiutil utilities below allow the user to access the firmware System 
Event Log and configure the Platform Event Filter table for the new OS 
Critical Stop records.

The following files are included in the install:
showsel        - show the firmware System Event Log records
pefconfig      - show and configure the Platform Event Filter table
                 to allow BMC LAN alerts from OS Critical Stop messages, 
                 also shows and sets the BMC LAN configuration parameters
tmconfig       - show and configure the serial port for BMC access
fruconfig      - show decoded FRU board/product info, write FRU asset tag
hwreset        - to cause the BMC to hard reset the system
sensor         - show the sensor data records and fru data.
alarms         - show/set the Telco alarms 
wdt            - show/set the watchdog timer via IPMI
checksel       - script using showsel to check the SEL, write to syslog, and 
	         clear the SEL if needed.
showsel.8      - man page for showsel
pefconfig.8    - man page for pefconfig
tmconfig.8     - man page for tmconfig
fruconfig.8    - man page for fruconfig
hwreset.8      - man page for hwreset
sensor.8       - man page for sensor
alarms.8       - man page for alarms
wdt.8          - man page for wdt
COPYING        - BSD License for copying ipmiutil utilities
README         - ReadMe for ipmiutil utilities
UserGuide      - User Guide for ipmiutil utilities

Other files in the project:
kern/bmc_panic*.patch - The panic handler module to write to the SEL & other 
		stuff (part of the kernel, now merged with OpenIPMI driver).
doc/bmclanaol.mib     - SNMP MIB for BMC LAN Alert-Over-Lan traps
doc/bmclanpet.mib     - SNMP MIB for BMC LAN Platform Event Traps
test/*.sh             - Some unit test scripts for ipmiutil/panicsel
test/dopanic.c        - sample kernel module to cause a Linux panic

--------------------
   Dependencies:
--------------------
The ipmiutil utilities will use an IPMI Driver, either the Intel IPMI package
(ipmidrvr, /dev/imb), MontaVista OpenIPMI (/dev/ipmi0), the valinux IPMI 
Driver (/dev/ipmikcs), the LANDesk ldipmi daemon, or the GNU FreeIPMI 
library (libfreeipmi.so.0).  The ipmiutil utilities can also use direct
user-space I/Os if no IPMI driver is detected.

The IPMI 1.5 spec, Table 36-3 defines the sensor types for SEL records, 
as used by showsel.
The IPMI 1.5 spec, Table 15-2 defines the Platform Event Filter table
entries, as used by pefconfig.
The IPMI 1.5 spec, Table 19-4 defines the LAN Configuration Parameters,
as used by pefconfig.

The IPMI Management Utilities currently work with platforms that 
support the IPMI standard.  If the platform does not support IPMI, these 
changes are inert, but the code could be modified for another system 
management interface.  The Service Availability Forum is working on an 
umbrella API that could be used to group IPMI and other system management 
interfaces under a meta-standard.  When this becomes available, these 
Panic Handler Enhancements will conform to that API so that non-IPMI 
platforms can be integrated more easily.

------------------------
   Build Instructions
------------------------

See notes in the INSTALL file from the ipmiutil*.tar.gz archive.

--------------------
   Configuration
--------------------
To find the base address of the IPMI KCS interface, or to find the IPMI
SMBus slave address, you can use the 'dmidecode' utility provided with
some Linux distributions.  See also http://www.nongnu.org/dmidecode/.

For some IPMI systems, a minimum firmware version may be needed to 
support all features.  On an Intel TSRLT2 system, for instance, these are 
the minimum levels:
  BMC Firmware ver 54 or greater
  SSU ver 2.RC.1 or greater (if SSU is used instead of pefconfig)

The pefconfig utility can be used instead of DOS tools like SSU to configure 
the BMC LAN Alerting while Linux is running.  The ipmiutil rpm runs pefconfig 
during the rpm installation. 

By default, the ipmiutil rpm does not set the panic timeout.
If a different panic timeout is desired, do 
"echo 10 >/proc/sys/kernel/panic" to set it to 10 seconds, for instance.

To apply the bmc_panic patch (in kern/) to a new version of kernel source:
   kver=2.4.18
   cd /usr/src/linux-${kver}
   cat bmcpanic-${kver}.patch | patch -p1
   make menuconfig     (make sure CONFIG_BMCPANIC=y)
   make oldconfig
   make dep
   make bzImage
   make modules
   make modules_install
   mkinitrd -f /boot/initrd-${kver}.img ${kver}
   make install
   reboot

Steps to set up BMC LAN Alerts manually with DOS SSU:
  Boot to the service partition and select SSU.
  Select LAN Alerting
  Select BMC LAN button
  Click the Enable LAN Alerts checkbox
  Set "always available"
  Set the SNMP community to "public"
  Set the IP address, gateway, net mask, and the Alert IP addres.
  Select Options/Event Filtering
  Enable all of the events in the list (<<)
  Close Event Filtering.
  File/Save the LAN Alert config
  Exit SSU
  
  Reboot
  Install the ipmiutil rpm from Linux, which runs "pefconfig", 
  which is still needed to set up the new PEF table entry 
  (pefconfig can also set BMC LAN).

------------------------------
   KNOWN PROBLEMS
------------------------------

Contact for best-effort support: arcress@users.sourceforge.net or 
http://ipmiutil.sf.net

--------------------
  LICENSING:
--------------------
The BSD License in the COPYING file below applies to all source files 
herein, except for 
  * util/md5.c (Aladdin unrestricted license) and 
  * util/md2.c (GPL).
While the BSD License allows code reuse in both open and non-open 
applications, the md2.c file in particular would have to be removed 
if used in a non-open application.  This could be done by commenting 
out the "#define MD2OK" flag in util/ipmilan.c.

--------------------
  CHANGE HISTORY:
--------------------
See http://ipmiutil.sourceforge.net/docs/ChangeLog