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 |
Use sneep to store the serial number permanently in the eeprom:
http://www.sun.com/download/products.xml?id=4304155a |
Quote:
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 |
No, the serial number isn't stored anywhere outside a sticker on the back of the machine.
|
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. |
The service tag is part of the Sun Service Bundle. Its documentation is available here:
http://www.sun.com/service/stb/ |
can use see in the eeprom for the serial number
|
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/ |
Thanks for updating that thread.
|
If you are using x86 solaris system then you can issue this command to get the serial number.
ipmitool fru ------- xris718 |
Not always, I'm luckier with smbios.
Code:
$ pfexec ipmitool fru |
You can also try:
ipmitool fru print 1 ipmitool fru print 2 etc. |
Serial number from ipmitool
ipmitool -H <hostname> -U user -P password sunoem getval /SYS/product_serial_number
|
Sun Download Center was decommissioned on July 31, 2011.
|
Part and serial numbers
You cat try prtfru (only for SPARC servers)
|
All times are GMT -5. The time now is 06:08 PM. |