How to identify a server?
Landreth, Kevin
klandreth at theplanet.com
Mon Mar 3 15:21:19 CST 2008
If you want to get REALLY fancy, (xml or html output) just use lshw,
which is available in DAG. Just throwing this out there as an
alternative to the norm.
Just as good as dmidecode w/o having to write a parser. I know
dmidecode is the standard but lshw is handy as well for having a
parse-able format. Gets you information about the drives and the like
while it's at it. The only problem I've run into is the version in DAG
doesn't work with >1TB raid arrays. The problem doesn't exist on Gentoo.
So I had to use : lshw -xml -disable scsi -sanitize
Example output:
# lshw -disable scsi -xml -sanitize | head -n30
<?xml version="1.0" standalone="yes" ?>
<!-- generated by lshw-B.02.12.01 -->
<!-- GCC 3.4.6 20060404 (Red Hat 3.4.6-8) -->
<!-- Linux 2.6.9-67.0.4.ELsmp #1 SMP Fri Jan 18 05:00:58 EST 2008 i686
-->
<!-- GNU libc 2 (glibc 2.3.4) -->
<node id="computer" claimed="true" class="system" handle="DMI:0100">
<description>System</description>
<product>PowerEdge 2800</product>
<vendor>Dell Computer Corporation</vendor>
<serial>[REMOVED]</serial>
<width units="bits">32</width>
<configuration>
<setting id="boot" value="normal" />
<setting id="chassis" value="server" />
<setting id="cpus" value="4" />
<setting id="uuid" value="44454C4C-4C00-1042-805A-C4C04F383931" />
</configuration>
<capabilities>
<capability id="smbios-2.3" >SMBIOS version 2.3</capability>
<capability id="dmi-2.3" >DMI version 2.3</capability>
<capability id="smp-1.4" >SMP specification v1.4</capability>
<capability id="smp" >Symmetric Multi-Processing</capability>
</capabilities>
<node id="core" claimed="true" class="bus" handle="DMI:0200">
<description>Motherboard</description>
<product>0CD158</product>
<vendor>Dell Computer Corporation</vendor>
<physid>0</physid>
<version>A02</version>
<serial>[REMOVED]</serial>
...SNIP...
--
Thanks,
Kevin Landreth, RHCE
Technology Architect
-----Original Message-----
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of John Oliver
Sent: Monday, March 03, 2008 1:55 PM
To: linux-poweredge at lists.us.dell.com
Subject: Re: How to identify a server?
On Mon, Mar 03, 2008 at 05:23:16PM +0100, Marcus Franke wrote:
> Hello,
>
> Ive got an older machine at the data center and am trying
> to identify the given modell. I suspect it to be a PE1750,
> but am not sure.
>
> Is there a tool to extract the service tag and stuff without
> having to install OMSA? That particular server once was
> used with redhat network and the rhn software could identify
> these values.
dmidecode
--
***********************************************************************
* John Oliver http://www.john-oliver.net/ *
* *
***********************************************************************
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list