IPMI setup under CentOS

Source: Internet
Author: User

1. Load the IPMI-enabled system module

Modprobe Ipmi_msghandler

Modprobe ipmi_devintf

Modprobe Ipmi_poweroff

Modprobe Ipmi_si

Modprobe Ipmi_watchdog

??

Write the above command to/etc/rc.local to load the module automatically

??

?

??

2. View IPMI Device Information

# More/proc/devices | grep Ipmidev

253 Ipmidev #有这一行说明有IPMI设备

??

?

??

3. Create a character device node so that Ipmitool can access the IPMI system interface through the driver, which typically saves

# Mknod/dev/ipmi0 C 253 0

Mknod: '/dev/ipmi0 ': File already exists

??

?

??

The 4.ipmitool program is automatically installed after the IPMI system module is loaded

IPMI_SI module Load Failure will not install this program-- download ipmitool Source code to compile can install this program, but if the template fails to load, the program is still not available

??

After installing Ipmitool, you can start the IPMI service using service IPMI start

??

??

5. Some query commands

# Ipmitool-i Open Channel info <channel number> #channel Number can take the value of 0-n

# Ipmitool-i Open SDR list

??

# Ipmitool-i Open SEL List # View System event log (syslog)

??

# Ipmitool-i Open sensor get "Temp" #引号中的字符串值从上一命令的结果的第一列的值

# ipmitool-i Open User List 1 #查看某channel的用户

??

?

??

6. Set the BMC IP, user's password, etc.

Service IPMI Start

Ipmitool LAN set 1 ipsrc static

Ipmitool LAN set 1 ipaddr 192.168.0.9

Ipmitool LAN set 1 netmask 255.255.255.0

Ipmitool LAN Set 1 DEFGW ipaddr 192.168.0.1

Ipmitool user Set password 1 ABCDEFG

Ipmitool User Set Password 2 ABCDEFG

Ipmitool BMC Info

Ipmitool LAN Print 1

??

??

# You can also set the IP information of the NIC by modifying the bmcautoconf.sh, but this file is not found: (

IPMI setup under CentOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.