Find the Service tag or Serial number of VMware ESX host

Posted by on May 24, 2010 in Troubleshooting, VMware | 16 comments

There might be a few reasons that you would need to do this. But if you need to locate the Serial Number of server or Service Tag of your Dell server you can do this from the service console command line.  In the past I have needed this to schedule service and also to confirm the identity of a server for the Vendor that was on site. In case you do not have a database to reference or maybe someone mistyped the digits you can always fall back to this method.

Type the following command from the command line on the service console and you will get some Vendor details and serial number information.

[root@host name]#  /usr/sbin/dmidecode |grep -A4 “System Information”

About Brian Suhr

Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status 6 years for 2016 - 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design

16 Comments

  1. Hi, is there any automated tool to get all HP serial number from my datacenter ?

    • HP Systems Insight Manager! It’s free!

  2. For VMWare 5, you have to use the following command if you do not have dmidecode installed

    /sbin/esxcli hardware platform get

    • thank for your instruction but didn’t work for me wrong serial number
      # /sbin/esxcli hardware platform get
      Platform Information
      UUID:
      Product Name: X7DVL
      Vendor Name: Supermicro
      Serial Number: 0123456789
      IPMI Supported: false
      ~ # /usr/sbin/demidecode
      -sh: /usr/sbin/demidecode: not found
      ~ #
      :((
      Please let me know other information…
      Thank for helping

      • Hello,
        This post was focused on finding the service tag for a Dell server. Might not get you the details you seek for non Dell servers.

        • Works with IBM x Series. Thanks for this command!

        • I think he’s referring to the fact the actual dmidecode doesn’t exist on a ESXi as it would on RHEL/CentOS platform, that’s not Dell specific.

  3. Just tested on an HP DL320G6 running ESXi 5.1 and the command

    /sbin/esxcli hardware platform get

    worked for me to grab the service tag / serial number of the chassis.

    Thanks, saved me getting off my arse and looking it up! 😉

    @ NETDAT, I’ve seen this before, all the SuperMicro motherboards seem to have 0123456789 as the serial. You have to get the serial from the server chassis itself. Normally it is on the side of the chassis, so you generally have to remove them from the rack.

  4. you would be already getting in hardware tab if you are having vcenter 5 and esxi 5.1 below system summary

    thanks,
    Shashank

  5. Hi,

    I too have similar problem with Supermicro server and not able to locate the right serial number. This server is at remote location and cannot read on the chassis. it will be very helpful to if there is any commands to add/remove that number?

  6. thanks worked perfectly on ESXi5 HP DL380 G5 hosts.

  7. Worked perfect on an HP DL360e Gen8. Also, as SHASHANK mentioned, you can get this info via vCenter under vCenter > Hosts and Clusters > [hostname] > Manage > Settings > Processors > System.

  8. Try this,

    esxcfg-info | grep “Serial N”

    • Thank you Very Much Ashish, It worked for me on all my IBM hosts.

  9. I too have similar problem with Supermicro server and not able to locate the right serial number. This server is at remote location and cannot read on the chassis. it will be very helpful to if there is any commands to add/remove that number? 5.1 version

  10. the “/sbin/esxcli hardware platform get” worked on my UCS server.

Leave a Reply

%d bloggers like this: