On Wed, Jan 20, 2010 at 01:46:32PM -0700, Erinn Looney-Triggs wrote:
> I run an automatic provisioning and installation service via cobbler for 
> our RedHat installs. Now as my laziness increases, I am trying to find a 
> way to auto-configure a few extra things. I would like for the script to 
> detect whether it is on a PowerEdge system and if so link in the Dell 
> Repositories, install OpenManage and install the firmware tools. What I 
> 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?

You want the getSystemId program.
in EPEL, smbios-utils-python-2.2.16-2.1.el5.x86_64.rpm provides this.

$ sudo /usr/sbin/getSystemId
Libsmbios version:      2.2.16
Product Name:           Precision WorkStation 490
Vendor:                 Dell Inc.
BIOS Version:           A08
System ID:              0x01C1
Service Tag:            myservicetag
Express Service Code:   myservicecode
Asset Tag:              
Property Ownership Tag: 

Though not quite all PowerEdge servers are supported by OMSA.  But for
those that aren't, you can still OMSA bootstrap, they'll just wind up
getting mapped into the OMSA empty repository.

> 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?

Not off hand.  There's probably a way, but the RPMs we produce right
now expect the user to know already, and to install the "right" ones.
Dealing with that is a work in progress...

Thanks,
Matt

-- 
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

_______________________________________________
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