Anyone know how to get Serial number with 1 command?


 
Thread Tools Search this Thread
Operating Systems Solaris Anyone know how to get Serial number with 1 command?
# 22  
Old 10-23-2008
Quote:
Originally Posted by Perderabo
do the new Sun4v Sparcs support IPMI?
no ipmi is for x86 systems only (afaik). but you can use "sneep".
# 23  
Old 01-02-2009
Quote:
no ipmi is for x86 systems only (afaik). but you can use "sneep".
Well... Thats wrong!

Code:
-bash-3.00# uname -a
SunOS biatch 5.10 Generic_137137-09 sun4v sparc SUNW,SPARC-Enterprise-T5120
-bash-3.00# more /etc/release
                      Solaris 10 10/08 s10s_u6wos_07b SPARC
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 27 October 2008
-bash-3.00# /usr/local/bin/ipmitool -V
ipmitool version 1.8.9.4
-bash-3.00# /usr/local/bin/ipmitool -I bmc fru
FRU Device Description : Builtin FRU Device (LUN 0, ID 0)
 Chassis Type          : Rack Mount Chassis
 Chassis Serial        : 0721XXXXXX
 Board Serial          : 0721XXXXXX
 Product Manufacturer  : SUN MICROSYSTEMS
 Product Name          : SPARC-Enterprise-T5120
 Product Serial        : 0721XXXXXX

[...] output turncated [...]

cheers
# 24  
Old 01-02-2009
Quote:
Originally Posted by kduffin
There is no way to retrieve the serial number from a Solaris system other than physically retriving it....

Keith
+1


you can only get MAC address and host id, but not serial number. I remember there's a way like hostid is combination of MAC and serial number, but not sure though, you have to check the machine physically.
# 25  
Old 01-07-2009
I was talking to Sun support recently troubleshooting Netra T5220 and asked for the serial number. I asked if there is a command to find that out and the answer was NO. I know you can get the Chassis Serial Number from the LOM (showplatform -v) but obviously the server serial number is different.

Last edited by StarSol; 01-07-2009 at 05:19 PM..
# 26  
Old 01-07-2009
if the server is installed from a sun engineer who knows his job well, "sneep" will be installed and you can read the platform serialnumber with the command "sneep". but the number has to be entred manualy during installation. you can download sneep on the sun website and use the tool... but you have to enter the number manualy... it's always the same Smilie
# 27  
Old 01-07-2009
Just for the record:
On a T2000, the aLOM command showplatform will display the correct chassis serial number. In iLOM on a T5**0, ls /SYS (or you can use the aLOM emulation shell and use showplatform).
Off the top of my head, I don't remember the command in XSCF.
# 28  
Old 01-08-2009
Quote:
Originally Posted by StarSol
I was talking to Sun support recently troubleshooting Netra T5220 and asked for the serial number. I asked if there is a command to find that out and the answer was NO. I know you can get the Chassis Serial Number from the LOM (showplatform -v) but obviously the server serial number is different.

The T5220 is one of the recent machines which does provide its chassis/product serial number in the output of prtdiag -v .

Unless we have a terminology problem here , the Chassis Serial Number from the ILOM and the "server serial number" are the same thing on this platform. There were some very early T5220 systems which did not provide the serial, but if the system firmware and software is current, this should no longer be an issue.

If you have a T5220 which has a physical serial tag with a different number than what is reported in prtdiag -v, I would like to know, and would like to get an explorer from the system.


Unfortunately, no one is an expert in everything, and those who have no practical use for the serial number are unlikely to know how to find it on any given machine.

It is a particular problem because there are upwards of a dozen different ways to find it, depending on the hardware platform. There is work underway at Sun right now to get the many product teams to settle on one or two standard mechanisms, but right now, it can take some hunting.

That is what sneep is attempting to do for you - to provide a single, simple interface to a complex (or at least tedious) search for the serial. More methods for automatic detection are being added all the time.
For platforms which either do not yet have a detector or are not capable of providing the serial, sneep can fall back to allowing you to to enter it manually .
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help about bind serial number

Hello folks. Please let me understand the bind serial number. I am confuse. 13011321 ---------- Post updated at 08:32 AM ---------- Previous update was at 07:55 AM ---------- Thanks problem is solved. (1 Reply)
Discussion started by: learnbash
1 Replies

2. Shell Programming and Scripting

How do I use sed to return only the serial number here?

I'd appreciate the help and explaining "which each switch/command does. Thanks in advance. 1742@3min# ./fmtopo|grep serial hc://:product-id=SUNW,Sun-Blade-2500:server-id=c3admin:serial=130B58E3146/motherboard=0/cpu=0 (2 Replies)
Discussion started by: LittleLebowski
2 Replies

3. Solaris

Finding server serial number

Hi All, I wnat to know how to find out the Server serial number in command prompt? I am using sneep command but it throughing unknown. Thanks and Regards, (8 Replies)
Discussion started by: lbreddy
8 Replies

4. Linux

Device serial number

Hey! I'm trying to figure out a sollution for a problem I have at my company with an Iomega MiniMax 500 GB USB disk. If i run cat /proc/bus/usb/devices I get this information: T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00... (2 Replies)
Discussion started by: noratx
2 Replies

5. Solaris

Serial number

Hi Solarizer ;) I have face the difficulties of gathering information about the serial number of sun machine. i think its can do so easy while the machine is just one or two. But i have to administrate hundreds of sun machine. Any body knows how to gather this information by the command ? ... (4 Replies)
Discussion started by: tpx99
4 Replies

6. Solaris

Display Serial Number

Hello, I am running Solaris 9 and I need to display the serial number of my machine. How can I do this? Here is my machine info: SunOS birch 5.9 Generic_118558-09 sun4u sparc SUNW,Sun-Fire-V240 Thank you, David (5 Replies)
Discussion started by: dkranes
5 Replies

7. AIX

how to find serial number

hi how to find ( server machine )serial number throught the command in AIX thanks for your replay (3 Replies)
Discussion started by: chomca
3 Replies

8. Shell Programming and Scripting

Tape Serial Number

Hello Experts, I've got a shell script that makes the backup of the files that i want. I also have this script showing the amount of files backed up and in witch folders they are. It's only missing one thing. I got all the information beeing stored in a text file and all i've got to do is to... (6 Replies)
Discussion started by: jorge.ferreira
6 Replies

9. UNIX for Advanced & Expert Users

serial number for E3500

just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!) (3 Replies)
Discussion started by: i2admin
3 Replies
Login or Register to Ask a Question