1834347 Members
2186 Online
110066 Solutions
New Discussion

Serial Number 11.0

 
SOLVED
Go to solution

Serial Number 11.0

Hello friends,

We have some servers from stone ages and we need their serial numbers. I've looking some commands but didn't work on 11.0.

Does anydoby know some command or trick to show serial number on HPUX 11.0?

Thank you very much.

André
Andre Augusto
16 REPLIES 16
Patrick Wallek
Honored Contributor

Re: Serial Number 11.0

It depends entirely on the system types. Some of the older systems did not have this information stored anywhere.

What types of systems "from stone ages" do you have?
Bill Hassell
Honored Contributor

Re: Serial Number 11.0

If the HP-UX computers are older than 10 years, there is no possible way to get a serial number electronically. You need a flashlight to find the serial number on older machines.


Bill Hassell, sysadmin
Torsten.
Acclaimed Contributor

Re: Serial Number 11.0

Systems "from stone ages" are not able to read and display their serial number - it depends on the type.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Serial Number 11.0

Hello friends....

In this particular case, it's a A500

sobek:/# model
9000/800/A500-44

This server is in another site, this the reason to get the serial number by command. Besides flashlight I'll need a car too.

Thanks very much

Regards

André
Andre Augusto
Torsten.
Acclaimed Contributor

Re: Serial Number 11.0

OK, this system can read the serial number.
With a recent ignite version you could run

/opt/ignite/bin/print_manifest

or

with a recent diagnostic version run the stm info tool on the system item.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Hassell
Honored Contributor

Re: Serial Number 11.0

The A500 is fairly new (I think of stone ages as K-class and D-class and especially the F,G,H and I series). But you can answer the question fairly quickly:

echo "selclass qualifier cpu;info;wait;infolog" | cstm | grep -i serial

If it says "N/A", then a car and a flashlight are required.


Bill Hassell, sysadmin
Laerte Cardoso
Frequent Advisor

Re: Serial Number 11.0

Hi André,
Use this attached program. It work with 11.0
Geoff Wild
Honored Contributor

Re: Serial Number 11.0

Is this installed?

/usr/bin/getsn

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Torsten.
Acclaimed Contributor

Re: Serial Number 11.0

I would expect the result when running

echo "sel dev 1;info;wait;il"|cstm|grep "System Serial Number"

Here is the output of a L-Class (very similar):

...
System Information for (name)
HPUX Model Number......: L2000
HPUX Model String......: 9000/800/L2000-44
Original Product Number: A5191B
Current Product Number.: A5191B
System Serial Number...: DEH1234ABC
Hversion...............: 0x5c40
Sversion...............: 0x491
Software Capabilities..: 0x100000f0
....

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Serial Number 11.0

Hi guys, thanks for the answers...

So, I have some problems whith this server:

- The stm tool it's not working property, it gave me the follow message:

An unexpected error has been encountered while attempting to connect to hostname
(sobek.celular.telerj.net.br).
Please Refer to the UI Activity Log for more details

Maybe becouse of that I couldn't run the cstm command

- The ignite is out of date. I'm dowloading a new version. The print_manifest command show me:

System Hardware

Model: 9000/800/A500-44
Main Memory: 4096 MB
Processors: 2
OS mode: 64 bit
LAN hardware ID: 0x00306E0C3BC8
LAN hardware ID: 0x0010837B0E98
LAN hardware ID: 0x0010837B0E99
LAN hardware ID: 0x00306E0EC6E9
LAN hardware ID: 0x00306E0E8664
Software ID: 556700598
Keyboard Language: Not_Applicable

- Laerte, I couldn't see your script. Could you send me a txt format?

- Geoff, I don´t have the command getsn

/usr/bin/getsn not found

We are revising the support contract of some servers and remains just this server

Could I have some hope? The gas here are very expensive

Thanks again

Andre
Andre Augusto
Laerte Cardoso
Frequent Advisor

Re: Serial Number 11.0

André,

It´s a binary code. Save, chmod u+x, and execute.
Geoff Wild
Honored Contributor

Re: Serial Number 11.0

Here it is (part of sysinfo package)

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Torsten.
Acclaimed Contributor
Solution

Re: Serial Number 11.0

Is the name resolution working?

If not - adjust this.

Try to restart the diagnostics.

/sbin/init.d/diagnostic stop
.... start

Get the latest version of the software and install it from here:

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE

(march 2004 - 11.00 is unsupported now)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Serial Number 11.0

Hi Guys...

You got it... Like Torsten said, after restart of diagnostic, I could see de serial number:

System Information for (sobek)
HPUX Model Number......: A500
HPUX Model String......: 9000/800/A500-44
Original Product Number: A5570B
Current Product Number.: A5570B¨
System Serial Number...: USC41140LV
Hversion...............: 0x5cb0
Sversion...............: 0x491
Software Capabilities..: 0x100000f0

Anyway, I'll update the dianostic and ignite tools, this server was forgotten.

And the script of Geoff and Laerte worked too:

sobek:/# ./290372
Serial Number: USC41140LV
sobek:/# ./getsn
Serial Number: USC41140LV

Thank you very much for the help. I appreciate. I won´t need a flashlight and a car anymore.

Regards
Andre Augusto
Torsten.
Acclaimed Contributor

Re: Serial Number 11.0

So finally read this:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Have fun!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Serial Number 11.0

Point for everybody... :-)

Thanks again !!!!
Andre Augusto