Home > Data Center Tips > Systems Management Tips > IPMI Tutorial: Are you using it? Do you know how?
Data Center Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SYSTEMS MANAGEMENT TIPS

IPMI Tutorial: Are you using it? Do you know how?


Ben Rockwood, Contributor
02.28.2008
Rating: -4.43- (out of 5)


IT infrastructure news
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


The Intelligent Platform Management Interface (IPMI) is everywhere. In fact, this year will be the 10th anniversary of the 1.0 Specification. If you've purchased new systems in the last four years -- and we know you have -- there it is. But are you using IPMI? Do you know how? Don't worry, SearchDataCenter.com has you covered.

Just like cars, we've seen systems components include more and more sensor capability over the past 15 years. Long-time Linux users will remember the buzz around lm-sensors, which allowed you to put spiffy thermal sensor data on your desktop. In current-generation systems there is a truly remarkable wealth of information that goes largely untapped.

Previously, getting at that data was very complex because of a variety of sensor buses and interfaces. Two great improvements came together to resolve the complexity. First, system boards came to include a Baseboard Management Controller (BMC), which acts as a hub for the various sensors throughout a system. Second, IPMI became the standardized way to interact with the BMC.

Almost every modern server motherboard has a BMC built into the mainboard. It's a common misconception that you need a Service Processor (SP) to collect or report sensor data. SPs, such as Dell's Remote Access Card (DRAC) or Sun's Lights Out Manager (LOM), are add-on boards that add value to the BMC's capabilities, such as providing a Web interface, SSH interface, SNMP, or networking, but by no means a requirement for utilizing IPMI.

In fact, some systems, such as Dell, allow the BMC to share a network interface with the system, allowing network IPMI capability without an SP.


BROWSE BY TAG
Information systems management,   Hardware and performance monitoring,   Data center operations management,   Systems Management Tips,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Hardware and performance monitoring
APC adds monitoring, efficiency features to UPS line
Application performance monitoring firm targets cloud computing
Mission impossible: Data center asset management
Check server specs before upgrading your operating system
Reduce chances of hardware failure with preventive server maintenance
Sys admins: Are your config files and scripts hacks or products?
Systems management tools: Microsoft takes aim at the Big Four
HP downsizes data center cooling monitor: News in brief
Zenoss upgrades IT monitoring software to vie with Big Four
Indemnification, support woes plague open source systems management

Systems Management Tips
Will Solaris on x86 survive the Oracle-Sun acquisition and Linux?
Server hardware cost comparison: Is virtualization cheaper?
Check server specs before upgrading your operating system
Comparing Unix versions: AIX, HP-UX and Solaris
What does the future hold for Oracle's virtualization acquisitions?
Top 50 universal Unix commands
Lower disaster recovery costs with open source replication tools
Choosing the best x86 server for your data center
Capacity planning tools tutorial for Linux and Unix
A look at Linux interoperability to date: Microsoft and Novell leading the pack

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
automated test equipment  (SearchSoftwareQuality.com)
DCML  (SearchDataCenter.com)
event forwarding  (SearchDataCenter.com)
HP OpenView  (SearchDataCenter.com)
lights-out management  (SearchDataCenter.com)
MIS  (SearchDataCenter.com)
smoke testing  (SearchWinDevelopment.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


>

The most common tool for interacting with IPMI is the open source IPMItool. While most users' experiences with it have been constrained to power cycling hung servers, remotely it's capable of much more. Let's review its basic use and then dig deeper.

The most basic use of IPMI is power management. If your OS offers a BMC driver (commonly /dev/bmc) you can interface with the BMC via IPMI locally, like so:

When accessing it remotely, you'll need to use the "lan" (IPMI 1.5) or "lanplus" (IPMIv2.0) interface.

Now that we can use IPMI, let's look at three powerful capabilities of IPMI that we can use IPMItool to access.

The first is sensor data from the IPMI sensor data repository (SDR). The current values and thresholds from every sensor on the system are contained within the SDR. This commonly includes voltage sensors, temperature sensors, fan speeds and fault sensors.,/p>

The three columns here are the name of the sensor, the current value, and the threshold indicator. Notice, for instance, that Power Supply 1 is "not readable." This because I don't have redundant power for that server and removed the redundant power supply.

The second is event data logging from the IPMI System Event Log (SEL). The SEL is responsible for logging significant events; a lot of the system warning lights (such as the Dell Orange LCD of warning) are set based on this log. In the case of many systems, you can disable all those warning LEDs by simply clearing the SEL. Lets look at some data.

In this case the errors all relate to cooling fans exceeding upper and lower thresholds. We can clear the log like so:,/p>

If your server includes an "error log" via a web interface or SNMP, you are probably actually seeing the IPMI SEL.

The final useful feature of IPMI we want to look at is Serial over LAN (SoL). IPMI SoL allows you to do full serial console redirection via IPMI over a network just as though you were using a consoler server. Example:

While I do not recommend replacing your existing console access method with IPMI, there are a variety of cases in which it can be extremely helpful, especially if you are on a tight budget. If you've used a DRAC's "connect com2" command, you were in fact using IPMI SoL.

We've just scratched the surface of what is possible and available via IPMI, but I hope you can see that we commonly take this wealth of information for granted.

Equally important is that most management interfaces available from vendors are wrapping IPMI functionality, which means that when you choose to customize your monitoring solution, for instance, to check individual fan speed or disk status, you can probably avoid vendor tools and use IPMI directly.

I hope this short tutorial has given you a little incentive and courage to dig in and find out just how much your servers really know about what you're doing. May your servers be happy and your sleep uninterrupted!

ABOUT THE AUTHOR: Ben Rockwood is a Unix guru and blogger at CuddleTech.


Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts