Feeds:
Posts
Comments

Archive for the ‘Opensource’ Category

OpenIPMI is an effort to create a full-function IPMI system to allow full access to all IPMI information on a server and to abstract it to a level that will make it easy to use.

The Open IPMI Linux device driver is designed as a full-function IPMI device driver with the following features:

  • Allows multiple users.
  • Allows multiple interfaces.
  • Allows both kernel and userland things to use the interface.
  • Fully supports the watchdog timer.
  • It works like IPMI drivers are supposed to. It tracks outgoing messages and matches up their responses automatically. It automatically fetches events, received messages, etc.
  • It supports interrupts (I have tested them now).
  • It has backwards-compatability modules for supporting the Radisys IPMI driver and the Intel IMB driver.
  • It’s modular. You don’t have to have the standard userland interface. You don’t have to have the watchdog. Etc.
  • It supports generating an event on a panic.

 

Download OpenIPMI from http://openipmi.sourceforge.net/

Intel source http://www.intel.com/design/servers/ipmi/index.htm

IBM also now supports OpenIPMI drier beginning with the following version of servers.

The OpenIPMI driver ships with these and later operating systems and IBM’s applications will talk directly to the OpenIPMI driver without requiring a mapping layer.These operating systems also ship with an OS Watchdog application, which interfaces to the OpenIPMI driver, so that native watchdog application should be used in place of IBM’s Automatic Server Restart-IPMI application on these and later operating systems.

  • Red Hat Enterprise Linux 3.7
  • Red Hat Enterprise Linux 4.3
  • Red Hat Enterprise Linux 5
  • SUSE Linux Enterprise Server 9.3
  • SUSE Linux Enterprise Server 10
  • VMware ESX Server 2.5.4 (32-bit operating system)
  • VMware ESX Server 3 (32-bit operating system)

IBM Source: http://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-66668&brandind=5000008

# rpm -qa | grep -i ipmi
OpenIPMI-1.4.19-1.8
OpenIPMI-devel-1.4.19-1.8
ipmitool-1.8.2-0.5

ipmitool download: http://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-5069538&brandind=5000008

http://ipmitool.sourceforge.net

ipmitool – utility for controlling IPMI-enabled devices

You can use IPMItool to configure and manage devices that support the Intelligent Platform Management Interface versions 1.5 and 2.0. IPMItool provides a simple, command-line interface to the Baseboard Management Controller, featuring the ability to read the sensor data repository (SDR) and print sensor values, display the contents of a system event log, print field-replaceable unit inventory information, read and set LAN configuration parameters, and perform remote chassis power control.

To check the Management Controller status and global enables using ipmitool utility

# ipmitool mc info
Device ID                 : 32
Device Revision           : 0
Firmware Revision         : 3.10
IPMI Version              : 2.0
Manufacturer ID           : 2
Product ID                : 251 (0x00e8)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    IPMB Event Generator
    Chassis Device
Aux Firmware Rev Info     :
    0x5a
    0x53
    0x42
    0x54

Use sensor option to Print detailed sensor information

# ipmitool sensor
Ambient Temp     | 16.000     | degrees C  | ok    | 64.000    | na        | 64.000    | -128.000  | na        | na
Fan 1 Tach       | 2888.000   | RPM        | ok    | 760.000   | 1976.000  | 1976.000  | na        | na        | na
Fan 2 Tach       | 2888.000   | RPM        | ok    | 760.000   | 1976.000  | 1976.000  | na        | na        | na
Fan 3 Tach       | 2618.000   | RPM        | ok    | 770.000   | 2002.000  | 2002.000  | na        | na        | na
Fan 4 Tach       | 2541.000   | RPM        | ok    | 770.000   | 2002.000  | 2002.000  | na        | na        | na
Fan 5 Tach       | 2888.000   | RPM        | ok    | 760.000   | 1976.000  | 1976.000  | na        | na        | na
Fan 6 Tach       | 2964.000   | RPM        | ok    | 760.000   | 1976.000  | 1976.000  | na        | na        | na
Fan 7 Tach       | 2541.000   | RPM        | ok    | 770.000   | 2002.000  | 2002.000  | na        | na        | na
Fan 8 Tach       | 2618.000   | RPM        | ok    | 770.000   | 2002.000  | 2002.000  | na        | na        | na
CPU 1 Temp       | 31.000     | degrees C  | ok    | na        | na        | na        | 85.000    | na        | 95.000
Fan 1 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na
Fan 2 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na
Fan 3 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na
Fan 4 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na
Fan 5 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na
Fan 6 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na
Fan 7 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na
Fan 8 Presence   | 0x0        | discrete   | 0x0280| na        | na        | na        | na        | na        | na

…. truncated

Some available options for ipmitool util

# ipmitool help
Commands:
        raw           Send a RAW IPMI request and print response
        i2c           Send an I2C Master Write-Read command and print response
        lan           Configure LAN Channels
        chassis       Get chassis status and set power state
        event         Send pre-defined events to MC
        mc            Management Controller status and global enables
        sdr           Print Sensor Data Repository entries and readings
        sensor        Print detailed sensor information
        fru           Print built-in FRU and scan SDR for FRU locators
        sel           Print System Event Log (SEL)
        pef           Configure Platform Event Filtering (PEF)
        sol           Configure IPMIv2.0 Serial-over-LAN
        isol          Configure IPMIv1.5 Serial-over-LAN
        user          Configure Management Controller users
        channel       Configure Management Controller channels
        session       Print session information
        sunoem        OEM Commands for Sun servers
        exec          Run list of commands from file
        set           Set runtime variable for shell and exec

Find the following link to set up the IPMI watchdog Timer , Turning off the Watchdog and additional commands for Watchdog Timer administration

http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/liaai/ipmi/liaaiipmisetupwatchdog.htm&tocNode=toc%3Afront%2Ffront.cmb%2F0%2F2%2F7%2F5%2F5%2F0%2F

Advertisements

Read Full Post »