{"id":330,"date":"2011-02-10T12:21:29","date_gmt":"2011-02-10T18:21:29","guid":{"rendered":"http:\/\/benincosa.com\/blog\/?p=330"},"modified":"2014-11-19T11:25:16","modified_gmt":"2014-11-19T17:25:16","slug":"ipmi-madness","status":"publish","type":"post","link":"https:\/\/benincosa.com\/?p=330","title":{"rendered":"IPMI Madness"},"content":{"rendered":"<p>Here are some commands for reference that my friend Shadd sent me.\u00a0 Some of them are IPMI, while the others are dmidecode commands to get system information.\u00a0 Thanks Shadd!<\/p>\n<p>Are the system fans are all working?\u00a0 Or just not moving?<\/p>\n<pre> psh &lt;noderange&gt; ipmitool sdr |grep \"| 0 RPM\"<\/pre>\n<p>BMC firmware level check<\/p>\n<pre> psh -g &lt;noderange&gt; 'ipmitool -I open bmc info | grep -A3 \"Firmware Revision\" |sort' | xcoll<\/pre>\n<p>Clear the BMC Error Log cluster wide<\/p>\n<pre> psh &lt;noderange&gt; ipmitool sel clear<\/pre>\n<p>Check the Fan Controller Board firmware level<\/p>\n<pre> psh &lt;noderange&gt; 'ipmitool raw 0x34 0x16' |xcoll # works on Dell, maybe others?<\/pre>\n<p>Check why each node rebooted last<\/p>\n<pre> psh &lt;noderange&gt; 'ipmitool chassis restart_cause |sort' |xcoll<\/pre>\n<p>Check PSU states<\/p>\n<pre> psh &lt;noderange&gt; ipmitool sensor |grep POUT |xcoll<\/pre>\n<p>C6100 and IPMItool on individual nodes<br \/>\nIdentify chassis with beacon light<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root chassis identify<\/pre>\n<p>Serial Over Lan session<\/p>\n<pre> ipmitool -e ?. -I lanplus -H ${NODE} -U root -P root sol activate<\/pre>\n<p>Seting BMC\/DRAC time<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root sel time set \"01\/21\/2011 16:20:44\" &amp;<\/pre>\n<p>System Inventory Data<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root fru<\/pre>\n<p>Cassis\/Power Sub info<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root chassis status<\/pre>\n<p>Chassis power State<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root chassis power status<\/pre>\n<p>Power-On Hours counter<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root chassis poh<\/pre>\n<p>Cause of last reboot<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root chassis restart_cause<\/pre>\n<p>Sel Log<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root sel list<\/pre>\n<p>Sensor Data Records<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root sdr<\/pre>\n<p>Sensor thresholds wide table format<\/p>\n<pre> ipmitool -H ${NODE} -U root -P root sensor<\/pre>\n<p>Health Check Commands<br \/>\nBIOS Level Check (usually xCAT&#8217;s rinv will give this to you on some nodes as well)<\/p>\n<pre> psh &lt;noderange&gt; 'dmidecode | grep -A3 \"BIOS Information\" | grep Version' | xcoll<\/pre>\n<p>Check System Memory<\/p>\n<pre> psh &lt;noderange&gt; free |grep Mem |awk {'print $1 $3'} | xcoll<\/pre>\n<p>Check 6100 DIMM Slots<\/p>\n<pre> psh &lt;noderange&gt; dmidecode -t 17 |egrep '(Size: 4096)|(Bank Locator: DIMM01)|(Bank Locator: DIMM03)|(Bank Locator: DIMM05)|(Bank Locator: DIMM07)|(Bank Locator: DIMM09)|(Bank Locator: DIMM11)' | xcoll<\/pre>\n<p>Check R710 DIMM Slots<\/p>\n<pre> psh &lt;noderange&gt; dmidecode -t 17 |egrep '(Size: 8192)|(Locator: DIMM_A1)|(Locator: DIMM_A2)|(Locator: DIMM_A3)|(Locator: DIMM_A4)|(Locator: DIMM_A5)|(Locator: DIMM_A6)|(Locator: DIMM_A7)|(Locator: DIMM_A8)|(Locator: DIMM_A9)|(Locator: DIMM_B1)|(Locator: DIMM_B2)|(Locator: DIMM_B3)|(Locator: DIMM_B4)|(Locator: DIMM_B5)|(Locator: DIMM_B6)|(Locator: DIMM_B7)|(Locator: DIMM_B8)|(Locator: DIMM_B9)'<\/pre>\n<p>Check IB State<\/p>\n<pre> psh &lt;noderange&gt; ibstat | egrep '(State: Active)' | xcoll<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here are some commands for reference that my friend Shadd sent me.\u00a0 Some of them are IPMI, while the others are dmidecode commands to get system information.\u00a0 Thanks Shadd! Are the system fans are all working?\u00a0 Or just not moving? psh &lt;noderange&gt; ipmitool sdr |grep &#8220;| 0 RPM&#8221; BMC firmware level check psh -g &lt;noderange&gt;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[45],"tags":[982],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/330"}],"collection":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=330"}],"version-history":[{"count":2,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/330\/revisions"}],"predecessor-version":[{"id":2800,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/330\/revisions\/2800"}],"wp:attachment":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}