CentOS安装与使用ipmitool

Posted by 4Aiur on 06/10/2011 in SysAdmin |

CentOS安装与使用ipmitool

ipmitoool可以方便的查看设备硬件状态,建议设备在安装好系统后安装一下ipmitool

安装方法:

安装程序包

yum -y install OpenIPMI.x86_64 OpenIPMI-tools.x86_64 OpenIPMI-libs.x86_64 ipmitool.x86_64

添加ipmi module

modprobe ipmi_si 
modprobe ipmi_devintf
modprobe ipmi_msghandler

查看module是否成功添加

lsmod | grep -i ipmi
ipmi_si                77900  0 
ipmi_devintf           44688  0 
ipmi_msghandler        73176  2 ipmi_si,ipmi_devintf

查看系统事件日志命令

ipmitool -I open sel list
   1 | 09/02/2010 | 04:10:26 | OEM #0x02 | 
   2 | 09/02/2010 | 04:10:29 | OEM #0x02 | 
   3 | 03/23/2011 | 16:02:59 | OEM #0x02 | 
   4 | 03/23/2011 | 16:03:02 | OEM #0x02 | 

清理系统事件日志命令

ipmitool -I open sel clear

Tags:

Copyright © 2010-2019 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.