Chris,
I'm not sure how to do it with any ipmi-based commands, but "dmidecode
-s baseboard-serial-number" should return that information from the OS.
On my Dell systems, it returns two rows of information. The first
contains the system's service tag, the board's serial number (ipmi-fru's
first entry), and the slot number separated by period characters. The
second line is the chassis' serial number and the slot number, similarly
separated. We don't have asset tags set, so those may show up in there
to if you use them. Information can be pulled from HP systems in a
similar fashion with "dmidecode -t 204 |grep 'Server Bay'" or just
"dmidecode |grep 'Server Bay'"
This information is also available remotely via SNMP to the iDRAC:
"snmpget -t 1 -r 1 -c public -v2c -O qve $yourhost-idrac
DELL-RAC-MIB::drsProductSystemSlot.0". You'll have to download the MIBs
from support.dell.com.
By the way, we also do inventory tracking in a similar fashion to what
you're moving towards. It works quite nicely when everything is set up.
I've looked before at doing this via IPMI but also came up short.
Ryan
On 12/18/2011 07:39 AM, DeRamus, Chris wrote:
I've just learned about the wonders of IPMI this past month and have re-written
our inventory system from scratch to take advantage of the data the FreeIPMI
suite of tools provides easy access to. Right now the only drawback is that I
have to run a secondary script at each co-location to access each of our Dell
M1000e chassis, running proprietary racadm command over SSH to correlate which
10g/11g PowerEdge blades are running in the various slots. I've been digging
through the documentation in hopes of finding either a oem command that I can
run or even a ipmi-raw command that can be passed to each blade to pull this
data, but so far I've come up short.
Has anyone on this list been able to identify a method to capture this
particular information? Dell's OMSA utility also provides the slot information
as seen in the output below.
#> omreport chassis info
Chassis Information
Index : 0
Chassis Name : Main System Chassis
Host Name : xxxxxxxxxxxx
iDRAC6 Version : 1.60
Chassis Model : PowerEdge M600
Chassis Lock : Not Present
Chassis Service Tag : XX11YY2
Server Module Service Tag : YY11XX2
Server Module Location : Slot 14<-- This is what I need
Flash chassis identify LED state : Off
Flash chassis identify LED timeout value : 300
Thanks in advance for the time guys.
--Chris
_______________________________________________
Freeipmi-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-users
--
Ryan Cox
Systems Administrator
Fulton Supercomputing Lab
Brigham Young University
http://tech.ryancox.net
_______________________________________________
Freeipmi-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-users