LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   How to find Machine serial number of solaris machine? (http://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-find-machine-serial-number-of-solaris-machine-642552/)

adastane 05-16-2008 01:19 AM

How to find Machine serial number of solaris machine?
 
Hello,
Is there any command to find Machine Serial Number of Solaris machine.
"hostid" is the command which gives machine id but not the serial number.

Any help on this?
Thanks in advance.

Regards,
Adastane

jlliagre 05-16-2008 02:37 AM

Use sneep to store the serial number permanently in the eeprom:
http://www.sun.com/download/products.xml?id=4304155a

adastane 05-16-2008 04:16 AM

Quote:

Originally Posted by jlliagre (Post 3154938)
Use sneep to store the serial number permanently in the eeprom:
http://www.sun.com/download/products.xml?id=4304155a

Thanks a lot for your reply.
But is there any generic command which will be available on every sunOs, to get machine serial number.

Like in Aix we have "lsconf" which gives machine serial number.

Regards,
Aditya

jlliagre 05-16-2008 05:01 AM

No, the serial number isn't stored anywhere outside a sticker on the back of the machine.

pratheepv 02-17-2009 01:59 AM

Solaris machine service tag
 
Hi all,

Can any please help me out to find out my solaris machine service tag .
thanks in advance sorry for my language.

jlliagre 02-17-2009 02:10 AM

The service tag is part of the Sun Service Bundle. Its documentation is available here:
http://www.sun.com/service/stb/

bobby ganga 05-20-2010 11:27 AM

can use see in the eeprom for the serial number

mshon 10-15-2010 08:55 AM

While it used to be true that the machine serial was only on a sticker, quite a few Sun/Oracle machines now have the serial available in software. However, they use a variety of different commands to display it.

One worth trying is "prtdiag -v".

The simplest general solution is to use sneep . It will find the serial on many machines (see http://wikis.sun.com/display/sneep/HardwareSerial ) and on other machines, it will allow you to save the serial (obtained the hard way) into the eeprom for future reference using sneep or "eeprom".

The "serial" reported in the boot prom banner is the hostid in decimal, NOT the machine serial.

You can get a recent version of sneep from http://www.oracle.com/technetwork/in...-095901.html#S or http://www.sun.com/sneep

The one referenced in the other posts with download ID 4304155a is very old, and has a bad interaction with Veritas VxVM .

The service tag does include the serial number, but it generally uses sneep to obtain it. Sneep and Service Tag software are both included in the Service Tools Bundle.
http://www.sun.com/service/stb/

jlliagre 10-15-2010 09:11 AM

Thanks for updating that thread.

Xris718 10-22-2010 03:54 PM

If you are using x86 solaris system then you can issue this command to get the serial number.

ipmitool fru

-------
xris718

jlliagre 10-22-2010 04:06 PM

Not always, I'm luckier with smbios.
Code:

$ pfexec ipmitool fru
FRU Device Description : Builtin FRU Device (ID 0)
Could not open bmc device: No such file or directory
 Device not present (No Response)

Could not open bmc device: No such file or directory
Get Device ID command failed
$ smbios -t SMB_TYPE_SYSTEM
ID    SIZE TYPE
1    92  SMB_TYPE_SYSTEM (system information)

  Manufacturer: TOSHIBA
  Product: TECRA M10
  Version: PTMB3E-0MY08PLK
  Serial Number: 2A*****2H

  UUID: c31*****-122b-11df-8023-b059210*****
  Wake-Up Event: 0x6 (power switch)
  SKU Number: 0000000000
  Family: 0000000000


letsdothis 11-16-2010 05:31 PM

You can also try:
ipmitool fru print 1
ipmitool fru print 2
etc.

skeenan 08-19-2011 06:24 PM

Serial number from ipmitool
 
ipmitool -H <hostname> -U user -P password sunoem getval /SYS/product_serial_number

frabas 08-30-2011 10:33 AM

Sun Download Center was decommissioned on July 31, 2011.

mieslaw 12-16-2011 02:09 AM

Part and serial numbers
 
You cat try prtfru (only for SPARC servers)


All times are GMT -5. The time now is 10:22 AM.