Linux ipmitool to Dell DRAC 5+ in ipmiv2/lanplus mode

Bill Pitz
Managed IT and Network Engineering: North Bay Logistics, LLC


If you attempt to run ipmitool against a Dell DRAC 5 or newer and receive an error about negotiating an IPMIv2 connection as follows:
/usr/bin/ipmitool -I lanplus -H HOSTNAME -U USERNAME -P PASSWORD sdr Error: Unable to establish IPMI v2 / RMCP+ session Get Device ID command failed Unable to open SDR for reading
The trick is to add the -C0 argument to change the Cipher suite that is used. The following will work:
/usr/bin/ipmitool -I lanplus -H HOSTNAME -U USERNAME -P PASSWORD -C0 sdr Temp | -63 degrees C | ok Temp | 50 degrees C | ok Temp | 40 degrees C | ok (......)