Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
- 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...
- 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
- 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
- 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
- for i in `seq 1 14`; do ipmitool channel info $i ; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement