Operating System - HP-UX
1850721 Members
4021 Online
104055 Solutions
New Discussion

Re: Can I get the serial number of a rp5430 thru HP-UX?

 
SOLVED
Go to solution
Gary Powell_1
Occasional Contributor

Can I get the serial number of a rp5430 thru HP-UX?

I am trying to remotely administor a rp5430 and need to find the serial number of the server from 500 miles away.

A coworker tells me he has seen it queried through HP-UX. But he doesn't remember how it was done.

This is a HP-UX 11.0 system.

PS: I have been reading ITRC forums for 6 months now. This is the first time I haven't found what I wanted to know already ask.

Thanks - Gary
7 REPLIES 7
Kent Ostby
Honored Contributor

Re: Can I get the serial number of a rp5430 thru HP-UX?

No.

The serial number of a box is not stored online.

You'll need to look at your paperwork or have someone get physical access to the box.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Bill Hassell
Honored Contributor

Re: Can I get the serial number of a rp5430 thru HP-UX?

You need the online diagnostics and monitoring tools loaded (all HP-UX systems should have them) and use the cstm utility. It's a bit cryptic so here's a command line method:

echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm

You'll find a plethors of information. Older servers may not report their serial number but your rp5xxx should have it. If /usr/sbin/cstm does not exist, mount your SupportPlus CDROM on a local HP-UX box and copy the diagnostic install file //diagnostics/B.11.xxxxx (which is a 'tape' depot) over to your remote server. Then run swinstall (selecting 'tape' as the source) and point the source depot to the diagnostics file.


Bill Hassell, sysadmin
Geoff Wild
Honored Contributor

Re: Can I get the serial number of a rp5430 thru HP-UX?

Yes you can...

You need sysinfo...here's the latest 3.01

There is a command used is called 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.
Patrick Wallek
Honored Contributor
Solution

Re: Can I get the serial number of a rp5430 thru HP-UX?

I just tried this on my rp5470 and it worked like a charm.

# echo "map ; sel dev 1 ; il" | cstm | grep "System Serial"
RAC_1
Honored Contributor

Re: Can I get the serial number of a rp5430 thru HP-UX?

Apart from stm(cstm), if you have ignite installed, do print_manifest.

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: Can I get the serial number of a rp5430 thru HP-UX?

echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number"

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=211491

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gary Powell_1
Occasional Contributor

Re: Can I get the serial number of a rp5430 thru HP-UX?

Thanks to all for your very prompt replys.
-gary