LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-08-2017, 12:30 AM   #1
Vernicronz
Member
 
Registered: Jul 2014
Distribution: Redhat,Centos,Ubuntu
Posts: 55

Rep: Reputation: Disabled
ipmi and proxmox 4.4


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.

Code:
(( 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 ....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proxmox Woodsman Slackware 17 06-23-2014 01:08 PM
Proxmox/OpenQRM/or other? kameleon25 Linux - Virtualization and Cloud 3 03-12-2012 04:42 PM
SuperMicro IPMI nima0102 Linux - Hardware 2 02-01-2011 03:09 AM
Help getting IPMI patches into kernel cygnus-x1 Linux - General 0 02-17-2008 09:07 PM
ipmi bridge? Thinking Linux - Software 0 08-18-2005 05:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration