- Load modules
modprobe ipmi_devintf
modprobe ipmi_si
- List of helpful ipmitool commands
Check BMC Firmware Revision
ipmitool -I open bmc info | grep -A3 "Firmware Revision"
Check SEL log
ipmitool sel
List SEL log
ipmitool sel list
Check which node you are in [For Dell Cloud edge]
ipmitool raw 0x34 0x11
Reset BMC/DRAC to default
ipmitool mc reset cold
Note: this will also fix No more sessions are available for this type of connection! error while trying to connect to DRAC
- Configure DRAC from ipmitool
Set BMC/DRAC static IP
ipmitool lan set 1 ipsrc static
Set BMC/DRAC IP Address
ipmitool lan set 1 ipaddr
Set BMC/DRAC Subnet Mask
ipmitool lan set 1 netmask
Set BMC/DRAC Default Gateway
ipmitool lan set 1 defgw ipaddr
Set BMC/DRAC dhcp IP
ipmitool lan set 1 ipsrc dhcp
Display BMC/DRAC network settings
ipmitool lan print 1
Change the NIC settings to dedicated
ipmitool raw 0x30 0x24 2
Change the NIC settings to shared
ipmitool raw 0x30 0x24 0
Check the NIC settings
ipmitool raw 0x30 0x25
Restart the BMC/DRAC
ipmitool mc reset warm
Example:
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 10.10.17.37
ipmitool lan set 1 netmask 255.255.240.0
ipmitool lan set 1 defgw ipaddr 10.10.16.1
ipmitool lan set 1 ipsrc dhcp
watch -n1 ipmitool lan print 1
Very helpful! Do you have any idea whether there is a reference of all raw commands supported by iDRAC?
Specifically, I’m looking for the ipmitool equivalent of “racadm set iDRAC.IPBlocking.RangeEnable 0”.