Purpose :
IPMItool is a good tool for operation and management by sending commands to BMC.
It supports both local and remote operations.
Requirement :
Environment with available ipmitool utility.
Method :
A. Installing on RedHat or CentOS via yum
B. Installing on Ubuntu via apt-get
C. Download ipmitool source code to build and install
A. Installing on RedHat or CentOS via yum
[root@localhost ~]# yum -y install ipmitool
...
Installed:
ipmitool.x86_64 0:1.8.18-7.el7
Dependency Installed:
OpenIPMI-modalias.x86_64 0:2.0.23-2.el7
Complete!
Load the IPMI kernel modules
[root@localhost ~]# modprobe ipmi_si
[root@localhost ~]# modprobe ipmi_devintf
[root@localhost ~]# modprobe ipmi_msghandler
Check ipmitool essential modules are loaded and running.
[root@localhost ~]# lsmod | grep -i ipmi
ipmi_ssif 29487 0
ipmi_si 59571 0
ipmi_devintf 17603 0
ipmi_msghandler 56032 3 ipmi_ssif,ipmi_devintf,ipmi_si
B. Installing on Ubuntu via apt-get
[root@localhost ~]# sudo apt-get install ipmitool
Load the IPMI kernel modules
[root@localhost ~]# modprobe ipmi_si
[root@localhost ~]# modprobe ipmi_devintf
[root@localhost ~]# modprobe ipmi_msghandler
Check ipmitool essential modules are loaded and running.
[root@localhost ~]# lsmod | grep -i ipmi
ipmi_ssif 29487 0
ipmi_si 59571 0
ipmi_devintf 17603 0
ipmi_msghandler 56032 3 ipmi_ssif,ipmi_devintf,ipmi_si
C. Download ipmitool source code to build and install
1. Download the latest version of IPMItool from the official website:
2. Get the patch tar ball “ipmitool-1.8.18.tar.gz”:
3. Unzip the file, configure and build source:
4. Load IPMItool driver:
5. Execute first IPMItool command, to read the current HPM.1 version configuration.
D. Download ipmitool_DOS.zip to use on Windows
Comments
1 comment
IPMITool build instructions are not entirely correct, IPMITool moved to Git a while ago.
https://github.com/ipmitool/ipmitool
For Advantech IPMI Core platform, I recommend to apply the following patch, https://github.com/ipmitool/ipmitool/pull/189 this will significantly increase the communication speed, which will come in handy during HPM.1 updates.
Please sign in to leave a comment.