Ipmitool: Basic installation and usage

From Define Wiki
Revision as of 10:15, 24 September 2012 by Jon (talk | contribs) (→‎Installation)
Jump to navigation Jump to search

Installation

ipmitool can typically be installed via normal OS repositories:

## For Redhat based systems
yum install ipmitool

## For Debian/Ubuntu system
apt-get install ipmitool

To use ipmitool on locally installed IPMI hardware (i.e. on the same machine ipmitool is installed on) you need to ensure a number of IPMI modules are loaded and running. The three main modules required are:

  • ipmi_msghandler
  • ipmi_devintf
  • ipmi_si

To check these are running, enter the following command:

[root@ral1 ~]# lsmod | grep ipmi
ipmi_si                79661  0 
ipmi_devintf           44753  0 
ipmi_msghandler        73369  2 ipmi_si,ipmi_devintf

If no modules are shown, modprobe the modules listed above:

modprobe ipmi_msghandler
modprobe ipmi_devintf
modprobe ipmi_si