Erinn Looney-Triggs wrote, On 01/20/2010 01:46 PM:
> I run an automatic provisioning and installation service via cobbler for 
> our RedHat installs. Now as my laziness increases, 

there's some saying about how *much* work sysadmins are willing
to invest due to laziness ;)

> can't figure out is a way to reliably know that the system is a Dell 
> PowerEdge system. I could do something like dmidecode -s 
> system-product-name and grep -i for poweredge (in loose terms), but are 
> all PowerEdge servers supported by OpenManage? Is there a better way to 
> do this?

My guess is any Dell equipment with a BMC is covered by OM, but that's
just a guess.

This should then work for that...
[r...@foo ~]# ipmitool mc info
Device ID                 : 32
Device Revision           : 0
Firmware Revision         : 2.28
IPMI Version              : 2.0
Manufacturer ID           : 674           <--- This may be good to key off
Manufacturer Name         : DELL Inc
Product ID                : 256 (0x0100)
Product Name              : Unknown (0x100)
Device Available          : yes
Provides Device SDRs      : yes
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Bridge
    Chassis Device
Aux Firmware Rev Info     :
    0x00
    0x00
    0x00
    0x00

> On a related note I am trying to do the same thing for the DRAC cards in 
> the systems, I would like a way to detect that a DRAC card is present 
> and if so run a set of commands. I can do this for a a DRAC 5 pretty 
> reliably using lsusb -d 0x413c:0000 which correlates to the DRAC 5 
> cards, however the iDRAC6 cards don't seem to have this option 
> available. Does anyone know of a way to automagically detect their 
> presence?

yeah, that's something that's bugged me too.  'lspci' would show up
a DRAC4, but thanks for the clue on 'lsusb' for the DRAC5!
(following this logic...  lspcmcia ??  heh ;) darn :-(

'ipmitool fru list' doesn't show it, and i'm pretty sure dmidecode
doesn't show it (unless there's encoding in one of the OEM specific
types, and i wouldn't rule that out)

--stephen
-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  [email protected]        -  http://www.ral.ucar.edu/~sdowdy/

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to