<!-- keep this as a security measure: #uncomment if the subject should only be modifiable by the listed groups * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.CMSAdminGroup * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.CMSAdminGroup #uncomment this if you want the page only be viewable by the listed groups # * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.CMSAdminGroup,Main.CMSAdminReaderGroup --> ---+ !!Some help on IPMI commands %TOC% ---++ External documentation * [[http://www.cuddletech.com/blog/archives/archive_2007-m12.php][Nice blog article by Ben Rockwood]] ---++ Sensor readings ---+++ speeding up commands by first recording status to a cache Commands can take many seconds to run since even for subqueries the full SDR and SEL may be read. One can improve this considerably by first caching the whole SDR, and then having subsequent runs making use of the known structure by suplplying the =-S sdr-cache-path= option to =ipmitool=. Note that every invocation using this cache file will still give you the current numbers - the cache is not for the actual values, but for the structure. <pre> ipmitool -I lanplus -H rmwn08 -U root -f /root/private/ipmi-pw sdr dump /root/ipmi-sdr.cache Dumping Sensor Data Repository to '/root/ipmi-sdr.cache' ipmitool -I lanplus -H rmwn08 -U root -f /root/private/ipmi-pw -S /root/ipmi-sdr.cache sdr type temperature </pre> The output of these commands has the following columns 1. IPMI sensor ID (16-character maximum) 2. IPMI sensor number 3. Sensor status, indicating which thresholds have been exceeded 4. Entity ID and instance 5. Sensor reading | sensor ID | sensor number | status | Entity ID | Sensor reading | | MB/T_AMB0 | 32h | ok | 7.0 | 54 degrees C | Show temperature, voltage, and fan sensors <pre> ipmitool -I lanplus -H rmwn01 -U root -f /root/private/ipmi-pw sdr elist full </pre> %INCLUDE{"ToDoItem" what="Put temperature sensors into Ganglia. We need to have better monitoring, here" who="DerekFeichtinger" priority="2"}% Show all sensors of type _temperature_ <pre> ipmitool -I lanplus -H rmwn01 -U root -f /root/private/ipmi-pw sdr type temperature </pre> Show information on all FRUs (Hardware serial numbers, etc.) <pre> ipmitool -I lanplus -H rmwn01 -U root -f /root/private/ipmi-pw fru </pre> ---+++ Check/Change Power status the *chassis power* accepts the commands status, on, off, cycle, reset, diag, soft <pre> ipmitool -I lanplus -H rmwn03 -U root -f /root/private/ipmi-pw chassis power status </pre> ---+++ Reset the SP (the ILOM) This may be particularly useful when the ILOM is so corrupted that it prevents normal login <pre> ipmitool -H rmfs07 -U root -f /root/private/ipmi-pw mc reset cold </pre> ---+++ Turn on the locator LED. List LEDs and their values This sets the locator LED to the FAST (4HZ) blink rate <pre> ipmitool -E -I lan -H rmwn03 -U root -f /root/private/ipmi-pw sunoem led set sys.locate.led FAST LOCATE </pre> One can list all the generic Devices that are controllable LEDs <pre> ipmitool -I lanplus -H rmui01 -U root -f /root/private/ipmi-pw sdr list generic </pre> List the value of the sun blade prepare_to_remove LED (but I found no way yet of setting this via IPMI) <pre> ipmitool -I lanplus -H rmwn10 -U root -f /root/private/ipmi-pw sunoem sbled get OK2RM </pre> ---+++ Retrieve event logs Use =sel list= or =sel elist= <pre> ipmitool -I lanplus -H rmwn03 -U root -f /root/private/ipmi-pw sel list ipmitool -I lanplus -H rmwn03 -U root -f /root/private/ipmi-pw sel elist </pre> ---+++ Misc Some IPMI readouts I had been asked to run during a problem investigation for SUN: <pre> # ipmitool -H localhost -U root -P fru # ipmitool -H localhost -U root -P sdr elist # ipmitool -H localhost -U root -P sel elist # ipmitool -H localhost -U root -P sunoem led get all # ipmitool -H localhost -U root -P sensor list </pre> ---++ Setting a node to boot from PXE or to boot into BIOS <pre> ipmitool -I lanplus -H rmfs08 -U root -f /root/private/ipmi-pw chassis bootdev pxe ipmitool -I lanplus -H rmfs08 -U root -f /root/private/ipmi-pw chassis bootdev bios </pre> ---++ Platform Event Filtering (PEF) settings <pre> ipmitool -I lanplus -H rmui01 -U root -f /root/private/ipmi-pw pef list </pre> -- Main.DerekFeichtinger - 03 Feb 2009
This topic: CmsTier3
>
WebHome
>
AdminArea
>
IpmiHelp
Topic revision: r15 - 2012-03-15 - DerekFeichtinger
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback