- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How do you get the System Serial Number on a runni...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:13 AM
12-13-2006 03:13 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:40 AM
12-13-2006 03:40 AM
Re: How do you get the System Serial Number on a running VMS Server
$SHOW CPU/FULL will show you the serial number if the server supports the SRM serial number environment variable and of course, it has been set correctly.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 04:10 AM
12-13-2006 04:10 AM
Re: How do you get the System Serial Number on a running VMS Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 07:06 AM
12-13-2006 07:06 AM
Re: How do you get the System Serial Number on a running VMS Server
The lexical function listed below works on AlphaServers...
sn = F$GETSYI("SERIAL_NUMBER")
Kind Regards
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 07:15 AM
12-13-2006 07:15 AM
Re: How do you get the System Serial Number on a running VMS Server
All the solutions given by my learned colleagues are correct, provided that the console environment variable "sys_serial_num" is filled in correctly. If that variable contains bogus info, you're out of luck. You then have to check the box itself for a label stating the serial number.
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 12:12 AM
10-15-2007 12:12 AM
Re: How do you get the System Serial Number on a running VMS Server
Is this correct????
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 12:41 AM
10-15-2007 12:41 AM
Re: How do you get the System Serial Number on a running VMS Server
$GETSYI("SERIAL_NUMBER") reads the data from the HWRPB (Hardware Restart Parameter Block). The console decides what it puts there.
$ ANA/SYS
SDA> READ SYSDEF
SDA> FORM @BOO$GA_HWRPB/type=hwrpb
or
SDA> exa @BOO$GA_HWRPB+HWRPB$B_SYS_SERIALNUM
SDA> EXIT
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 05:02 AM
10-15-2007 05:02 AM
Re: How do you get the System Serial Number on a running VMS Server
(I'm aware of a site that stuffs what amounts to a contact telephone number and a site-local serial number in there. That data is then used to look up the real serial number and model number, if/when that detail is needed. Yeah, probably better to use SNMP here, but that's not what these folks chose.)
The usual request for this is either filling in a license application (eg: for the OpenVMS hobbyist program), or an approach toward software licensing.
In the former case, others have answered this. Or look at the sticker on the box. For licensing, do look at the PAKGEN PAK that can be acquired from the HP DSPP program. (If you want to experiment before going through the HP DSPP approach, there's a PAKGEN PAK and associated documentation available on the Freeware that can be used for testing.)
A better approach toward a serial number for the purposes of licensing can be based on the NIC address; this is unique, and most every Alpha system now has at least one NIC. Details on retrieving that detail -- full source code -- are in the left navigation of the old Ask The Wizard area.
Some OpenVMS systems -- whole classes of VAX boxes come to mind -- might well have the same serial number for a gazillion different boxes.
There's a section on system serial numbers in the OpenVMS FAQ. www.hoffmanlabs.com/vmsfaq
"How do I get a unique system ID for licensing purposes?" (It's not easy to find if you're searching for the obvious string here, but I'll queue a fix for that for the next edition.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 05:30 AM
10-15-2007 05:30 AM
Re: How do you get the System Serial Number on a running VMS Server
cluster..
ENGDS1::MCGORRILL_1 10:29:11 SDA CPU=00:00:00.26 PF=404 IO=1165 MEM=424
SDA> exa @BOO$GA_HWRPB+HWRPB$B_SYS_SERIALNUM
FFFFFFFF.91D4C040: 38313038.3239494E "NI928018"
ENGDS2::MCGORRILL 10:25:56 SDA CPU=00:00:19.15 PF=14834 IO=220224 MEM=445
SDA> exa @BOO$GA_HWRPB+HWRPB$B_SYS_SERIALNUM
FFFFFFFF.92A2E040: 38313038.3239494E "NI928018"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 06:08 AM
10-15-2007 06:08 AM
Re: How do you get the System Serial Number on a running VMS Server
from your Forum Profile:
I have assigned points to 70 of 183 responses to my questions.
Some date back to 2005.
Maybe you can find some time to do some assigning?
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.
Consider, that every poster took at least the trouble of posting for you!
To easily find your streams with unassigned points, click your own name somewhere.
This will bring up your profile.
Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.
If you have closed some of those streams, you must "Reopen" them to "Submit points". (After which you can "Close" again)
Do not forget to explicitly activate "Submit points", or your effort gets lost again!!
Thanks on behalf of your Forum colleagues.
PS. - nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before - please do not take offence - none is intended!
PPS. - Zero points for this.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 05:22 PM
10-15-2007 05:22 PM
Re: How do you get the System Serial Number on a running VMS Server
note that the HWRPB$B_SYS_SERIALNUM field in the HWRPB is 16. bytes long, so my example command should have been:
SDA> exa @BOO$GA_HWRPB+HWRPB$B_SYS_SERIALNUM;10
This should show a unique system serial number, if this value has been correctly set at console level.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 08:01 PM
10-16-2007 08:01 PM
Re: How do you get the System Serial Number on a running VMS Server
Wim