ipmi and proxmox 4.4

sargoo79

New Member
Jan 20, 2016
3
0
1
44
Hi All ,

Recently i have tried setup IPMI on a Proxmox 4.4 (pve-manager/4.4-1/eb2d6f1e (running kernel: 4.4.35-1-pve on a HP ProLiant DL380 G6).
But i have bumped into some issues. I am unable to initiate the communication between the Ipmi and BMC for user access/listing/lan. Also i don't see the /etc/inittab file to enable the VSP. I was able to achieve this in Proxmox 3.4. But i am able to see the sensors and list of hardwares.
Not sure why things are so diff in this version. Appreciate any help and guidance. Thanks.




(( INSTALLED IPMI PACKAGE ))
root@proxmox4:~# dpkg -l|grep ipmi
ii freeipmi-common 1.4.5-3 all GNU implementation of the IPMI protocol - common files
ii ipmitool 1.8.14-4 amd64 utility for IPMI control with kernel driver or LAN interface
ii libfreeipmi16 1.4.5-3 amd64 GNU IPMI - libraries
ii libipmiconsole2 1.4.5-3 amd64 GNU IPMI - Serial-over-Lan library
ii libipmidetect0 1.4.5-3 amd64 GNU IPMI - IPMI node detection library
ii libopenipmi0 2.0.16-1.4 amd64 Intelligent Platform Management Interface - runtime
ii openipmi 2.0.16-1.4 amd64 Intelligent Platform Management Interface (for servers)


(( VERIFIED SERVICE RUNNING ))
root@proxmox4:~# systemctl status ipmievd.service
● ipmievd.service - IPMI event daemon
Loaded: loaded (/lib/systemd/system/ipmievd.service; disabled)
Active: active (running) since Tue 2017-03-07 14:58:16 MYT; 18s ago
Process: 17599 ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 17601 (ipmievd)
CGroup: /system.slice/ipmievd.service
└─17601 /usr/sbin/ipmievd open daemon
Mar 07 14:58:16 proxmox4.4 ipmievd[17599]: ipmievd: using pidfile /var/run/ipmievd.pid0
Mar 07 14:58:16 proxmox4.4 ipmievd[17601]: Reading sensors...
Mar 07 14:58:16 proxmox4.4 systemd[1]: Started IPMI event daemon.
Mar 07 14:58:16 proxmox4.4 ipmievd[17601]: Waiting for events...


(( ADDED IPMI KERNEL MODULES TO LOAD AT BOOT ))
root@proxmox4:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

ipmi_si type=kcs ports=0xCA2 regspacings=1
ipmi_devintf
ipmi_msghandler
ipmi_poweroff
ipmi_watchdog

root@proxmox4:~# lsmod|grep ipmi
ipmi_ssif 24576 0
ipmi_si 57344 1
ipmi_poweroff 16384 0
ipmi_devintf 20480 2
ipmi_msghandler 49152 4 ipmi_ssif,ipmi_devintf,ipmi_poweroff,ipmi_si



(( THE ISSUES / PROBLEMS ))

### UNABLE to find the LAN CHANNEL

root@proxmox4:~# for i in `seq 1 14`; do ipmitool lan print $i 2>/dev/null | grep -q ^Set && echo Channel $i; done
root@proxmox4:~#
root@proxmox4:~#


root@proxmox4:~# ipmitool lan print
Invalid channel: 0
root@proxmox4:~#
root@proxmox4:~# ipmitool lan print 2
Invalid channel: 2

root@proxmox4:~# ipmitool user list
Get User Access command failed (channel 14, user 1): Invalid command
root@proxmox4:~#
root@proxmox4:~# ipmitool user list 2
Get User Access command failed (channel 2, user 1): Invalid command


### Things that work ###

root@proxmox4:~# ipmitool sdr type "Power Supply"
Power Supply 1 | 03h | ok | 10.1 | 55 Watts, Presence detected
Power Supply 2 | 04h | ok | 10.2 | 55 Watts, Presence detected
Power Supplies | 05h | ok | 10.3 | Fully Redundant

root@proxmox4:~# ipmitool mc info
Device ID : 17
Device Revision : 1
Firmware Revision : 1.78
IPMI Version : 2.0
Manufacturer ID : 11
Manufacturer Name : Hewlett-Packard
Product ID : 0 (0x0000)
Product Name : Unknown (0x0)
Device Available : yes
Provides Device SDRs : yes
Additional Device Support :
Sensor Device
SDR Repository Device
SEL Device
FRU Inventory Device

root@proxmox4:~# ipmitool sensor

UID Light | 0x0 | discrete | 0x0080| na | na | na | na | na | na

Sys. Health LED | 0x0 | discrete | 0x0080| na | na | na | na | na | na

Power Supply 1 | 55 | Watts | ok | na | na | na | na | na | na

Power Supply 2 | 55 | Watts | ok | na | na | na | na | na | na

Power Supplies | 0x0 | discrete | 0x0180| na | na | na | na | na | na


and few others ....
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!