Operating System - Tru64 Unix
1825766 Members
2095 Online
109687 Solutions
New Discussion

Re: tru64 licenses

 
SOLVED
Go to solution
John Geilow_1
Occasional Advisor

tru64 licenses

I have two ES45 running tru64 5.1b, but I only can find the original licenses for one. I would like to know how to dump or issues the licenses on the one without the original and then reactivate them.

Per man it appear to disable them when you do an lmf issues and I do not want to shutoff my users access as I do the commands.
9 REPLIES 9
Steven Schweda
Honored Contributor
Solution

Re: tru64 licenses

I don't know where any of the files are on
Tru64, but a solution on VMS would be to copy
the license data base, and extract the data
from the copy. (I assume that you can direct
the LDB-manipulation program(s) to use the
LDB of your choice on Tru64 as you can on
VMS.)
Ivan Ferreira
Honored Contributor

Re: tru64 licenses

The license database file is:

/var/adm/lmf/ldb

You can copy this file from host to host. Save a backup first. Then run "lmf reset".
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Pieter 't Hart
Honored Contributor

Re: tru64 licenses

The issue option should disable the license, but not "delete" or "unload".
so it should stay active on the running system!
The licenses stay in the lmf database, but are not loaded at the next reboot or "lmf reset".

So when you do the "issue" and immediately reactivate the licenses before reboot or lmf reset there should be no problem.
John Geilow_1
Occasional Advisor

Re: tru64 licenses

I did a copy of the database and history to another folder. Then I did the issue but was not able to load the old ones and it appears that they were gone from the database. I copy the original database and history to original location and all back to normal. Thanks
John Geilow_1
Occasional Advisor

Re: tru64 licenses

Thanks for all the help
Steven Schweda
Honored Contributor

Re: tru64 licenses

> [...] was not able to load the old ones [...]

Not having useful psychic powers, I don't
know what you actually did, or what actually
happened when you did it. Normally, issuing
the licenses disables them, so you need to
enable them before you can (re-)load them.

"man " might be useful, too.
John Geilow_1
Occasional Advisor

Re: tru64 licenses

these are the command I use
ELO# lmf list
Product Status Users: Total Active

CXXOSF active unlimited
FORTRAN-O active unlimited
OSF-DEV active unlimited
OSF-BASE active unlimited
OSF-BASE active, multiple unlimited
OSF-BASE active, multiple unlimited
OSF-BASE active, multiple unlimited
OSF-SVR active unlimited
OSF-USR active unlimited
OSF-USR active, multiple unlimited
ELO# lmf issue elo_CXXOSF CXXOSF
ELO# lmf issue elo_FORTRAN FORTRAN-O
ELO# lmf issue elo_OSF-DEV OSF-DEV
ELO# lmf issue elo_OSF-SVR OSF-SVR
ELO# lmf list full for OSF-BASE
Product Name: OSF-BASE
Producer: DEC
Issuer: DEC
Authorization Number: ALS-NQ-2001APR27-712
Number of units: 50
Version:
Product Release Date:
Key Termination Date:
Availability Table Code: A
Activity Table Code:
Key Options: MOD_UNITS, ALPHA
Product Token:
Hardware-Id:
License status: active
Cancellation Date:
Revision Number: 0
Comment:
Cache Total Units: 200
Activity Charge: 0

Product Name: OSF-BASE
Producer: DEC
Issuer: DEC
Authorization Number: ALS-NQ-2001APR27-714
Number of units: 50
Version:
Product Release Date:
Key Termination Date:
Availability Table Code: A
Activity Table Code:
Key Options: MOD_UNITS, ALPHA
Product Token:
Hardware-Id:
License status: active, multiple
Cancellation Date:
Revision Number: 0
Comment:

Product Name: OSF-BASE
Producer: DEC
Issuer: DEC
Authorization Number: ALS-NQ-2002APR24-135
Number of units: 50
Version:
Product Release Date:
Key Termination Date:
Availability Table Code: A
Activity Table Code:
Key Options: MOD_UNITS, ALPHA
Product Token:
Hardware-Id:
License status: active, multiple
Cancellation Date:
Revision Number: 0
Comment:

Product Name: OSF-BASE
Producer: DEC
Issuer: DEC
Authorization Number: ALS-NQ-2002APR24-306
Number of units: 50
Version:
Product Release Date:
Key Termination Date:
Availability Table Code: A
Activity Table Code:
Key Options: MOD_UNITS, ALPHA
Product Token:
Hardware-Id:
License status: active, multiple
Cancellation Date:
Revision Number: 0
Comment:
ELO# lmf issue elo_OSF-BASE OSF-BASE DEC ALS-NQ-2001APR27-712
ELO# lmf issue elo_OSF-BASE_1 OSF-BASE DEC ALS-NQ-2001APR27-714
ELO# lmf issue elo_OSF-BASE_2 OSF-BASE DEC ALS-NQ-2002APR24-135
ELO# lmf issue elo_OSF-BASE_3 OSF-BASE DEC ALS-NQ-2002APR24-306
ELO# lmf list
Product Status Users: Total Active

OSF-USR active unlimited
OSF-USR active, multiple unlimited

Then I try to get them back with these commands. and the error messages I got.
lmf enable OSF-BASE DEC ALS-NQ-2001APR27-712
No entry in license database for this product
lmf> load OSF-BASE DEC ALS-NQ-2001APR27-712
No valid license was found for this product

So then i copy the databse back and did this.
ELO# lmf list
Product Status Users: Total Active

CXXOSF enabled
FORTRAN-O enabled
OSF-DEV enabled
OSF-BASE enabled
OSF-BASE enabled, multiple
OSF-BASE enabled, multiple
OSF-BASE enabled, multiple
OSF-SVR enabled
OSF-USR active 4 0
OSF-USR active, multiple 4 0
ELO# lmf reset
Combine OSF-BASE ALS-NQ-2001APR27-712 with OSF-BASE ALS-NQ-2001APR27-714
Combine OSF-BASE ALS-NQ-2001APR27-712 with OSF-BASE ALS-NQ-2002APR24-135
Combine OSF-BASE ALS-NQ-2001APR27-712 with OSF-BASE ALS-NQ-2002APR24-306
Combine OSF-USR ALS-NQ-2002APR24-134 with OSF-USR UNIX-SERVER-IMPLICIT-USER

And it appears now all is correct now. I am now sure what I did wrong.

Pieter 't Hart
Honored Contributor

Re: tru64 licenses

so in contrast to my text, issue did remove the license!
then you first have to register them with
lmf register - < elo_CXXOSF
...
John Geilow_1
Occasional Advisor

Re: tru64 licenses

That works,

I assume that tru64 license database work the same as VMS, because I have work with that and it does just disable them.