Management cards (iLO/DRAC) and Hardware sensors (fan/temperature)

From Tech-Wiki
Jump to: navigation, search


Get Manufacturer, Model and Serial Number

dmidecode -t system

Show sensor output

ipmitool sdr type list 
ipmitool sdr type Temperature 
ipmitool sdr type Fan 
ipmitool sdr type 'Power Supply'

Get memory modules info

dmidecode -t memory

Get iLO/DRAC IP address

ipmitool lan print

Set iLO/DRAC access

ipmitool user list 1 
ipmitool user set password 2

Set iLO/DRAC IP address

service ipmi start 
ipmitool lan set 1 ipsrc [ static | dhcp ] 
ipmitool lan set 1 ipaddr 10.0.1.1
ipmitool lan set 1 netmask 255.255.255.0
ipmitool lan set 1 defgw ipaddr 10.0.0.254

Modify boot device for next reboot

ipmitool chassis bootdev pxe 
ipmitool chassis bootdev cdrom 
ipmitool chassis bootdev bios