判断服务器硬件是否支持IPMI
使用dmidecode命令检查硬件设备
执行
1 2 3 4 5 6 7 8 9 |
dmidecode | grep -A 6 -i ipmi 返回 IPMI Device Information Interface Type: KCS (Keyboard Control Style) Specification Version: 1.5 I2C Slave Address: 0x10 NV Storage Device: Not Present Base Address: 0x0000000000000CA8 (I/O) Register Spacing: 32-bit Boundaries |
代表支持
如果返回
1 2 3 4 5 6 7 8 9 |
dmidecode | grep -A 8 -i ipmi 返回 IPMI Device Information Interface Type: Unknown Specification Version: 1.0 I2C Slave Address: 0x00 NV Storage Device: Not Present Base Address: 0x0000000000000000 (Memory-mapped) Register Spacing: Successive Byte Boundaries |
地址池全部为0
则不支持
尝试启动会失败
1 2 3 4 5 6 7 8 |
/etc/init.d/ipmi start Starting ipmi drivers: [FAILED] sudo /etc/init.d/ipmi status ipmi_msghandler module not loaded. ipmi_si module not loaded. ipmi_devintf module not loaded. /dev/ipmi0 does not exist. |
提示所有模块未挂载