Настраиваем IMM через Linux с помощью ipmitool
- Проверяем наличие IMM
dmidecode | grep -A 6 -i ipmi
IPMI Device Information
Interface Type: KCS (Keyboard Control Style)
Specification Version: 2.0
I2C Slave Address: 0x10
NV Storage Device: Not Present
Base Address: 0x0000000000000C92 (I/O)
- Устанавливаем ipmitool
yum install ipmitool
- Смотрим настройки сетевой карты
ipmitool lan print 1
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Получаем ошибку доступа к ipmi
- Подгружаем модуль и перезапускаем сервис
modprobe ipmi_devintf
service ipmievd restart
- Смотрим настройки сетевой карты
ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback :
: User : MD5
: Operator : MD5
: Admin : MD5
: OEM :
IP Address Source : Other
IP Address : 192.168.240.146
Subnet Mask : 255.255.128.0
MAC Address : 5c:f3:fc:17:a8:0e
SNMP Community String : public
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl : 2.0 seconds
Default Gateway IP : 0.0.0.0
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,4
Cipher Suite Priv Max : uaaaaXXXXXXXXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
- Выставляем получение ИП static
ipmitool lan set 1 ipsrc static
- Устанавливаем ИП
ipmitool lan set 1 ipaddr 10.1.1.202
Setting LAN IP Address to 10.1.1.202
- Устанавливаем маску
ipmitool lan set 1 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0
- Устанавливаем GW
ipmitool lan set 1 defgw ipaddr 10.1.1.1
Setting LAN Default Gateway IP to 10.1.1.1
- Включаем ARP
ipmitool lan set 1 arp respond on
Enabling BMC-generated ARP responses
- Разрешаем доступ
ipmitool lan set 1 auth ADMIN MD5
ipmitool lan set 1 access on