Tags:
view all tags
<!-- 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="?" 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> ---+++ Turn on the locator LED 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> ---+++ 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 <pre> ipmitool -I lanplus -H rmfs08 -U root -f /root/private/ipmi-pw chassis bootdev pxe </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
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r15
|
r13
<
r12
<
r11
<
r10
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r11 - 2010-02-02
-
DerekFeichtinger
CmsTier3
Log In
CmsTier3 Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
User Pages
Main Page
Policies
Monitoring Storage Space
Monitoring Slurm Usage
Physics Groups
Steering Board Meetings
Admin Pages
AdminArea
Cluster Specs
Home
Site map
CmsTier3 web
LCGTier2 web
PhaseC web
Main web
Sandbox web
TWiki web
CmsTier3 Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
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