2 Ways to Get Dell Service Tag on VMWare ESXi Server Virtual Machine

by Ramesh Natarajan on November 30, 2010

Question: How do I find out the DELL service tag and express code of a PowerEdge server that is running VMWare ESXi (or VMWare Server)?

Answer: Depending on what you are running (i.e VMWare ESXi or VMWare Server), use one of the methods shown below to identify the DELL service tag.

Method 1: Identify DELL Service TAG on VMWare Server

If you’ve installed VMWare server on a base OS, you can login to the base OS, and use dmidecode to get the service tag as shown below. This is just like how you identify service tag for DELL poweredge servers on a normal non-virtual server that is running a Linux OS.

# dmidecode | more
Handle 0x0100, DMI type 1, 25 bytes.
System Information
        Manufacturer: Dell Computer Corporation
        Product Name: PowerEdge 2850
        Serial Number: H234567

Refer to View DELL Service Tag and Express Service Code From Linux and Windows for more details.

Method 2: Identify DELL Service TAG on VMWare ESXi

If you’ve installed VMWare ESXi, there is no Base OS. If you do dmidecode on one of the virtual machine running on that ESXi, you’ll not get the DELL Service TAG. Instead, you’ll get information about the VMware as shown below.

# dmidecode | more
Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: VMware, Inc.
        Product Name: VMware Virtual Platform
        Serial Number: VMware-11 aa bb cc dd ee ff gg-hh ii jj

To identify DELL service tag on this server, you should login to vSphere client -> click on the top level node in the left-hand tree structure (this is the vmware node) -> click on the “Configuration” tab -> On the left side, it will display “Hardware” and “Software” sections -> click on “Processors” link in the “Hardware” section -> under the “System”, you’ll see the DELL service tag as shown in the picture below.

Fig: DELL Service Tag displayed from vSphere Client


Linux Sysadmin Course Linux provides several powerful administrative tools and utilities which will help you to manage your systems effectively. If you don’t know what these tools are and how to use them, you could be spending lot of time trying to perform even the basic administrative tasks. The focus of this course is to help you understand system administration tools, which will help you to become an effective Linux system administrator.
Get the Linux Sysadmin Course Now!

If you enjoyed this article, you might also like..

  1. 50 Linux Sysadmin Tutorials
  2. 50 Most Frequently Used Linux Commands (With Examples)
  3. Top 25 Best Linux Performance Monitoring and Debugging Tools
  4. Mommy, I found it! – 15 Practical Linux Find Command Examples
  5. Linux 101 Hacks 2nd Edition eBook Linux 101 Hacks Book

Bash 101 Hacks Book Sed and Awk 101 Hacks Book Nagios Core 3 Book Vim 101 Hacks Book

{ 7 comments… read them below or add one }

1 Rich November 30, 2010 at 8:01 am

You can also access the ESXi host’s serial number from the command line, if you have the maintenance console enabled. The command

esxcfg-info -w

will give you hardware information for the server, including the Dell service tag (listed as “Serial Number”.

2 Ulrich Hiller November 30, 2010 at 9:54 am

Another way to find out the Service Tag is looking into the RAM using the strings command, e.g.:
~> strings /dev/mem | head -10000 > /tmp/file.temp
Somewhere in the file.temp you see something like this:
_UUID_
DELLK
OZ1X
_SM_
_DMI_g
Dell Inc.
11/05/2007
DELLK
OZ1X
Dell Inc.
OptiPlex 755
AB77J56
Dell Inc.
0GM819
..CN35K5BTPQJ3B6.
Dell Inc.
AB77J56
Intel
PARALLEL
SERIAL1
SERIAL2
KYBD
MOUSE
USB1
USB2
USB3

I admit, this is a very awful method to look for the service tag, but nethertheless looking into the RAM is sometimes interesting and may give some hints for debugging problems.

3 Anonymous January 28, 2011 at 11:48 am

ace, this is exactly what i was looking for

4 John June 26, 2012 at 9:31 am

Thank you very much for this info!

5 helper July 18, 2012 at 7:52 am

For VMWare 5, to get the equivalent info run the
/sbin/esxcli hardware platform get

6 liam November 8, 2012 at 3:34 am

FWIW, in the esxi log files it’s also in:
/commands/smbiosDump.txt
just grep “Serial”

hth

7 DC01 August 21, 2013 at 8:05 am

To Helper
Thank you very much for this command as it is helping me a lot.

Thanks

Leave a Comment

Previous post:

Next post: