How to obtain the system serial number

From Wiki-UX.info
Jump to: navigation, search

There are two common ways to obtain the system serial number, using the getconf command or the CSTM tool.

Using getconf

# getconf  _CS_MACHINE_SERIAL
USE4619LLX

Using CSTM

001> # cstm


002> Running Command File (/usr/sbin/stm/ui/config/.stmrc).
003>
004> -- Information --
005> Support Tools Manager
006>
007>
008> Version D.02.00
009>
010> Product Number B4708AA
011>
012> (C) Copyright Hewlett Packard Co. 1995-2007
013> All Rights Reserved
014>
015> Use of this program is subject to the licensing restrictions described
016> in "Help-->On Version". HP shall not be liable for any damages resulting
017> from misuse or unauthorized use of this program.
018>
019> cstm>map
020> delta.cri.hp.com
021>
022> Dev Last Last Op
023> Num Path Product Active Tool Status
024> === ==================== ========================= =========== =============
025> 1 system system () Information Successful
026> 2 0 Bus Adapter (880)
027> 3 0/0 PCI Bus Adapter (783)
028> 4 0/0/1/0 RS-232 Interface (103c129
029> 5 0/0/1/1 RS-232 Interface (103c104
030> 6 0/0/2/0 USB Open Host Controller
031> 7 0/0/2/1 USB Open Host Controller
032> 8 0/0/2/2 USB Enhanced Host Control
033> 9 0/0/3/0 IDE Bus Adapter (10950649
034> 10 0/0/3/0.0 IDE Interface (10950649)
035> 11 0/0/3/0.0.0.0 Optical Storage Device (T
036> 12 0/0/3/0.1 IDE Interface (10950649)
037> 13 0/1 PCI Bus Adapter (783)
038> 14 0/1/1/0 MPT SCSI Adapter (HP_A717
039> 15 0/1/1/0.1.0 SCSI Disk (HP36.4GST33675 Information Successful
040> 16 0/1/1/1 MPT SCSI Adapter (HP_A717
041> 17 0/1/1/1.0.0 SCSI Disk (HP36.4GST33675 Information Successful
042> 18 0/1/1/1.9.0 SCSI Disk (HP36.4GST33675 Information Successful
043> 19 0/1/1/1.11.0 SCSI Disk (HP36.4GST33675 Information Successful
044> 20 0/1/1/1.13.0 SCSI Disk (HP36.4GST33675 Information Successful
045> 21 0/1/1/1.15.0 SCSI Disk (HP36.4GST33675 Information Successful
046> 22 0/1/2/0 1000BaseT 2 port Adapter Information Successful
047> 23 0/1/2/1 1000BaseT 2 port Adapter
048> 24 0/2 PCI Bus Adapter (783)
049> 25 0/4 PCI Bus Adapter (783)
050> 26 0/4/1/0 PCI Bus Adapter (101401a7
051> 27 0/4/1/0/4/0 FC Interface (HP9784A_QL_
052> 28 0/4/1/0/6/0 PCI Gigabit Ethernet Link Information Successful
053> 29 0/5 PCI Bus Adapter (783)
054> 30 0/6 PCI Bus Adapter (783)
055> 31 8 MEMORY (af) Information Successful
056> 32 16 IPMI Controller (4)
057> 33 128 CPU (894) Information Successful
058> 34 129 CPU (894) Information Successful
059> 35 255/0 iSCSI Virtual Node (iSCSI
060> 36 255/0/19.0 iSCSI-SCSI Protocol Inter
061> 37 255/0/20.0 iSCSI-SCSI Protocol Inter
062> 38 255/0/21.0 iSCSI-SCSI Protocol Inter
063> 39 255/0/22.0 iSCSI-SCSI Protocol Inter
064> cstm>sel dev 1
065> cstm>info
066> -- Updating Map --
067> Updating Map...
068> cstm>il
069> -- Converting a (2412) byte raw log file to text. --
070> Preparing the Information Tool Log for system on path system File ...
071>
072> -- Information Tool Log for system on path system --
073>
074> Log creation time: Fri Jan 25 14:27:55 2008
075>
076> Hardware path: system
077>
078>
079> System Information for (delta)
080> HPUX Model Number......: rp4440
081> HPUX Model String......: 9000/800/rp4440
082> Original Product Number: A9950A
083> Current Product Number.: A9950A
084> System Serial Number...: USE4619LLX
085> Hversion...............: 0x8940
086> Sversion...............: 0x491
087> Software Capabilities..: 0x100000f0
088>
089> -- Information Tool Log for system on path system --
090> View - To View the file.
091> Print - To Print the file.
092> SaveAs - To Save the file.
093> Enter Done, Help, Print, SaveAs, or View: [Done]
094> cstm>quit
095> -- Exit the Support Tool Manager --
096> Are you sure you want to exit the Support Tool Manager?
097>

098> Enter Cancel, Help, or OK: [OK]

Limitations

The accuracy of the information that can be obtained with these methods is limited by the Non Volatil Storage (NVRAM) of each server. Sometimes the information won't be available. If the core I/O board has been replaced by any reason, the replaced core I/O serial number has to be entered into the new one and sometimes the Field Engineers miss this procedure. Entering new serial numbers into a system board can only be performed by an HP Certified Field Engineer, for licensing issues among main reasons.

Reference

Authors