Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. root@proxmox4:~# dpkg -l|grep ipmi
  2. ii freeipmi-common 1.4.5-3 all GNU implementation of the IPMI protocol - common files
  3. ii ipmitool 1.8.14-4 amd64 utility for IPMI control with kernel driver or LAN interface
  4. ii libfreeipmi16 1.4.5-3 amd64 GNU IPMI - libraries
  5. ii libipmiconsole2 1.4.5-3 amd64 GNU IPMI - Serial-over-Lan library
  6. ii libipmidetect0 1.4.5-3 amd64 GNU IPMI - IPMI node detection library
  7. ii libopenipmi0 2.0.16-1.4 amd64 Intelligent Platform Management Interface - runtime
  8. ii openipmi 2.0.16-1.4 amd64 Intelligent Platform Management Interface (for servers)
  9.  
  10. root@proxmox4:~# systemctl status ipmievd.service
  11. ● ipmievd.service - IPMI event daemon
  12. Loaded: loaded (/lib/systemd/system/ipmievd.service; disabled)
  13. Active: active (running) since Tue 2017-03-07 14:58:16 MYT; 18s ago
  14. Process: 17599 ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS (code=exited, status=0/SUCCESS)
  15. Main PID: 17601 (ipmievd)
  16. CGroup: /system.slice/ipmievd.service
  17. └─17601 /usr/sbin/ipmievd open daemon
  18. Mar 07 14:58:16 proxmox4.4 ipmievd[17599]: ipmievd: using pidfile /var/run/ipmievd.pid0
  19. Mar 07 14:58:16 proxmox4.4 ipmievd[17601]: Reading sensors...
  20. Mar 07 14:58:16 proxmox4.4 systemd[1]: Started IPMI event daemon.
  21. Mar 07 14:58:16 proxmox4.4 ipmievd[17601]: Waiting for events...
  22.  
  23. root@proxmox4:~# cat /etc/modules
  24. # /etc/modules: kernel modules to load at boot time.
  25. #
  26. # This file contains the names of kernel modules that should be loaded
  27. # at boot time, one per line. Lines beginning with "#" are ignored.
  28.  
  29. ipmi_si type=kcs ports=0xCA2 regspacings=1
  30. ipmi_devintf
  31. ipmi_msghandler
  32. ipmi_poweroff
  33. ipmi_watchdog
  34.  
  35. root@proxmox4:~# lsmod|grep ipmi
  36. ipmi_ssif 24576 0
  37. ipmi_si 57344 1
  38. ipmi_poweroff 16384 0
  39. ipmi_devintf 20480 2
  40. ipmi_msghandler 49152 4 ipmi_ssif,ipmi_devintf,ipmi_poweroff,ipmi_si
  41.  
  42. root@proxmox4:~# for i in `seq 1 14`; do ipmitool lan print $i 2>/dev/null | grep -q ^Set && echo Channel $i; done
  43. root@proxmox4:~#
  44. root@proxmox4:~#
  45.  
  46. root@proxmox4:~# ipmitool lan print
  47. Invalid channel: 0
  48. root@proxmox4:~#
  49. root@proxmox4:~# ipmitool lan print 2
  50. Invalid channel: 2
  51.  
  52. root@proxmox4:~# ipmitool user list
  53. Get User Access command failed (channel 14, user 1): Invalid command
  54. root@proxmox4:~#
  55. root@proxmox4:~# ipmitool user list 2
  56. Get User Access command failed (channel 2, user 1): Invalid command
  57.  
  58. root@proxmox4:~# ipmitool sdr type "Power Supply"
  59. Power Supply 1 | 03h | ok | 10.1 | 55 Watts, Presence detected
  60. Power Supply 2 | 04h | ok | 10.2 | 55 Watts, Presence detected
  61. Power Supplies | 05h | ok | 10.3 | Fully Redundant
  62.  
  63. root@proxmox4:~# ipmitool mc info
  64. Device ID : 17
  65. Device Revision : 1
  66. Firmware Revision : 1.78
  67. IPMI Version : 2.0
  68. Manufacturer ID : 11
  69. Manufacturer Name : Hewlett-Packard
  70. Product ID : 0 (0x0000)
  71. Product Name : Unknown (0x0)
  72. Device Available : yes
  73. Provides Device SDRs : yes
  74. Additional Device Support :
  75. Sensor Device
  76. SDR Repository Device
  77. SEL Device
  78. FRU Inventory Device
  79.  
  80. root@proxmox4:~# ipmitool sensor
  81. UID Light | 0x0 | discrete | 0x0080| na | na | na | na | na | na
  82. Sys. Health LED | 0x0 | discrete | 0x0080| na | na | na | na | na | na
  83. Power Supply 1 | 55 | Watts | ok | na | na | na | na | na | na
  84. Power Supply 2 | 55 | Watts | ok | na | na | na | na | na | na
  85. Power Supplies | 0x0 | discrete | 0x0180| na | na | na | na | na | na
  86.  
  87. for i in `seq 1 14`; do ipmitool channel info $i ; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement