LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-16-2008, 01:19 AM   #1
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13

Rep: Reputation: 0
Post 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
 
Old 05-16-2008, 02:37 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Use sneep to store the serial number permanently in the eeprom:
http://www.sun.com/download/products.xml?id=4304155a
 
Old 05-16-2008, 04:16 AM   #3
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by jlliagre View Post
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
 
Old 05-16-2008, 05:01 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
No, the serial number isn't stored anywhere outside a sticker on the back of the machine.
 
Old 02-17-2009, 01:59 AM   #5
pratheepv
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Unhappy 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.
 
Old 02-17-2009, 02:10 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The service tag is part of the Sun Service Bundle. Its documentation is available here:
http://www.sun.com/service/stb/
 
Old 05-20-2010, 11:27 AM   #7
bobby ganga
LQ Newbie
 
Registered: May 2010
Location: Virginia
Posts: 1

Rep: Reputation: 0
can use see in the eeprom for the serial number
 
Old 10-15-2010, 08:55 AM   #8
mshon
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Rep: Reputation: 1
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/
 
1 members found this post helpful.
Old 10-15-2010, 09:11 AM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Thanks for updating that thread.
 
Old 10-22-2010, 03:54 PM   #10
Xris718
Member
 
Registered: May 2003
Location: NYC
Distribution: CentOS
Posts: 261

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

ipmitool fru

-------
xris718
 
Old 10-22-2010, 04:06 PM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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
 
Old 11-16-2010, 05:31 PM   #12
letsdothis
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
You can also try:
ipmitool fru print 1
ipmitool fru print 2
etc.
 
Old 08-19-2011, 06:24 PM   #13
skeenan
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Serial number from ipmitool

ipmitool -H <hostname> -U user -P password sunoem getval /SYS/product_serial_number
 
Old 08-30-2011, 10:33 AM   #14
frabas
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 1
Sun Download Center was decommissioned on July 31, 2011.

Last edited by frabas; 08-30-2011 at 01:26 PM.
 
Old 12-16-2011, 02:09 AM   #15
mieslaw
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Part and serial numbers

You cat try prtfru (only for SPARC servers)
 
  


Reply

Tags
machine, number, serial, solaris



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux API to find out the number of USB disks connected to the machine and the files poomas Linux - Newbie 2 04-29-2008 09:04 AM
Cannot telnet into linux machine from Solaris machine ngcddls Linux - Newbie 1 03-09-2006 08:07 AM
Serial number of machine curious+cat AIX 4 12-08-2005 09:39 AM
Find Serial Number of Machine zael Programming 4 10-27-2003 12:39 PM
how do i find number of cpus in one machine? doublefailure Linux - General 3 03-26-2002 02:52 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration