This chapter gives you more information about the procedures for managing the licenses that are used in Telelogic Tau.
The following topics are discussed:
Every time you edit your license.dat
file to add features, replace expired FEATURE lines, etc, you must advise the "lmgrd" daemon of the changes. To do this, use the updatelicd
utility:
$telelogic/bin/updatelicd
(where $telelogic
is the Telelogic Tau installation directory)
Every time you edit your license.dat
file to add features, replace expired FEATURE lines, etc, you must advise the "lmgrd" daemon of the changes. To do this, use the FLEXlm utility:
<Tau Installation Directory>\flex\lmtools.exe
and select Reread to update your running license server with the new information.
In order to start up the Telelogic Tau tool License Server automatically at boot time, the following should be performed:
$telelogic/flex/sunos5flex/sdtlmgrd
to /etc/init.d/sdtlmgrd
. (Where $telelogic
is the Telelogic Tau installation directory.)chmod 744 /sbin/init.d/sdtlmgrd chown root /sbin/init.d/sdtlmgrd chgrp sys /sbin/init.d/sdtlmgrd
ln -s /etc/init.d/sdtlmgrd /etc/rc3.d/S17sdtlmgrd ln -s /etc/init.d/sdtlmgrd /etc/rc3.d/K17sdtlmgrd
$telelogic/flex/hppaflex/sdtlmgrd
to /sbin/init.d/sdtlmgrd
. (Where $telelogic
is the Telelogic Tau installation directory.)chmod 744 /sbin/init.d/sdtlmgrd chown bin /sbin/init.d/sdtlmgrd chgrp bin /sbin/init.d/sdtlmgrd
ln -s /sbin/init.d/sdtlmgrd /sbin/rc3.d/S17sdtlmgrd ln -s /sbin/init.d/sdtlmgrd /sbin/rc3.d/K17sdtlmgrd
The FLEXlm master daemon, "lmgrd", can be installed as a service on a Windows system so that it can be managed from the Control Panel. To install lmgrd
as a service, use the Flexlm.cpl
control panel extension provided by FLEXlm; see Figure 3.
Figure 3
: Setup dialog for Windows NT
You should replace "tauxx" in the dialog with your actual installation directory.
|
Note: Make sure that the full path name (including drive letter) for your vendor daemon is specified correctly in your license file, |
After clicking Start under Control, lmgrd
is installed as a Windows service and will be started automatically each time your system is booted. The account must have the privilege to log on as a service or otherwise the operation will fail.
If the license server goes down for some reason (but the computer does not need to be restarted), you will have to restart the license server manually.
You can start the license server from command line. Proceed as follows:
$telelogic/bin/startlicd(where
$telelogic
is the Telelogic Tau installation directory)If you have not installed lmgrd
as a service on Windows NT, or in a Windows 95 batch file, or if the license server goes down for some reason (but the computer does not need to be restarted), you will have to restart the license server manually.
You can start the license server as an application from the Windows console with the -app
option. Proceed as follows:
cd c:\tau35\flex c:\tau35\flex> lmgrd -app > license.log
If your system is already using FLEXlm for general license management, it is sufficient to add any DAEMON and FEATURE lines you receive in a license file from Telelogic Customer Support to your existing license.dat
file.
In some cases, the Telelogic Tau tools may lose contact with the license server. This could happen, for instance, if there is a communication failure in your network, or if the license control processes terminate for some reason. A recovery mechanism is provided -- currently running sessions of the Telelogic Tau tools will only have to wait for the license server to come up again. (They will not have to perform any special operations.)
From a Telelogic Tau user's point of view, the following will happen if the license server goes down:
When the license server comes back up, the Telelogic Tau tools can be used again. Users are notified by a message in the Organizer Log window and the Telelogic Tau tools resume normal functionality.
On UNIX, all events that the lmgrd administrates are logged in a file named license.log
, available in the $telelogic
directory. (Where $telelogic
is the Telelogic Tau installation directory.)
In Windows: When the license server has been installed as a service on Windows NT (see Updating the FLEXlm Server (Windows)) all events that it administrates are logged in a file named lmgrd.log
, available in the system32
directory. For Windows 95, you can specify the directory and file name for the log file, by using the `>' sign (see Automatic Server Startup (Windows)). Our default location is c:\tau35\flex\license.log
The events logged include:
Each event involving a license also specifies:
Note: The log file will grow as users run Telelogic Tau. You may consider deleting the head of the file from time to time to save disk space. |
Three DOS utilities are provided, both on your CopyControl license floppy disk and in the Telelogic Tau installation (in <Tau Installation Directory>\COPYCTRL\)
, that allow you to inspect and transfer the License Keys between disks. The utilities are:
CCMOVE.EXE
, a utility for transferring a License Key from the floppy disk to the hard disk.CCLOOK.EXE
, a utility for finding a License Key on a disk and displaying the license information.CCCHANGE.EXE
, a utility for activating CopyControl license keys. It needs an activation code to be able to do this. CCCHANGE is also used for moving licenses between hard disks.CCMOVE creates an inactive license in a directory. Telelogic Tau CopyControl licenses are "CCROM" licenses. Thus, they must be transferred to a local hard drive.
Note: You cannot transfer licenses from the hard disk to another hard disk with CCMOVE. |
To execute CCMOVE, start a DOS prompt, insert a License Key disk in your floppy drive, and change the current directory to the root of your floppy drive. The command is used in the following way:
C:> A: A:> CCMOVE <from> <to> [<options>]
where <from> is the source path and <to> is the destination path of the License Key transfer. The from path must contain a Telelogic Tau License Key disk. You must have read/write/create access to both paths.
The <options> are:
/E
/M
/Q
/O
Note: The /O option is not recommended, since it may lead to the loss of License Keys. |
To move the license from the floppy to your hard disk (using the default installation directory):
A:> CCMOVE A: C:\TAU35\bin\Wini386 /M
This will create an inactive license in C:\TAU35\bin\Wini386
. To activate the license you must note the reported product serial number, contact Telelogic Customer Support to obtain an activation code, and then activate the license by running CCCHANGE
.
The CCLOOK utility is used for finding a License Key on a disk and for displaying the license information contained in the License Key.
To execute CCLOOK, start a DOS prompt and change directory tothe root directory of the floppy disk. The command is used in either of two ways:
CCLOOK [
<path>]CCLOOK
[<drive:>] [/S
] /S
specifies to search the entire drive for License Keys. If no drive is specified, the current drive is used. If /S
is not used, only the current directory is searched.The normal way to use CCLOOK is:
C:> A: A:> CCLOOK C: /S
If any License Key is found, the license information is displayed, including the path to the License Key.
Note: CCLOOK will find and report any License Keys or copy protections for other software packages that also use CopyControl, not just the Telelogic Tau protections. |
The CCCHANGE utility is used to activate the code for CopyControl licenses.
To execute CCCHANGE, start a DOS prompt and change directory tothe root directory of the floppy disk. The command is used in the following way:
C:> A: A:> CCCHANGE [<path>] [<code>] [<options>]
where <path> is the destination path of the License Key to be changed/activated. If the <path> is omitted you will be prompted for it. The <code> is the activation/update code that Telelogic Customer Support has provided. If the <code> is omitted you will be prompted for it. If you do not have an activation code at this point, you should press enter and no changes will be performed. You must have read/write/create access to the path.
The <options> are:
/I
/P<product_code>
/P
option in case there is more than one product in the specified directory (Telelogic recommends that you only have one product per directory)./S<serial_number>
<serial number>
. The serial number is obtained either when running CCMOVE with the /M option or running CCCHANGE with the /I option on an inactive license.
Do not use the |
/U
Do not use |
Moving a node-locked license is done with the help of codes and the provided software tools. The required codes are obtained by running CCMOVE and CCCHANGE. In short these steps needs to be carried out:
This example assumes that a license is to be transferred from one computer to another. The original license on Computer A resides in directory C:\MACHINEA\TAU35\bin\Wini386
and should be moved to Computer B's directory C:\MACHINEB\TAU35\bin\Wini386
. So, again we assume the default Telelogic Tau installation directory, \TAU35
, on each machine.
C:> A: A:> CCMOVE A: C:\MACHINEB\TAU35\bin\Wini386 /MCopyControl will print out the serial number, e.g:
Serial number of the installed product is nnnnnMake a note of this number.
C:> A: A:> CCCHANGE C:\MACHINEA\TAU35\bin\wini386 /Snnnnnwhere "nnnnn" after the
/S
option should be replaced with the number from the previous step./S
option. e.g:CopyControl parameter changing. New activation code for serial number nnnnn = 22 63 76 c4 17The license on Computer A will be completely removed.
C:> A: A:> CCCHANGE C:\MACHINEB\TAU35\bin\wini386CopyControl will prompt you for the activation code:
Version 1.71. Product code TAU, Serial no.: nnnnn, Update number 1. Enter code given to you by your supplier: 22 63 76 c4 17 Confirmation code 0/2085 Update number 1 completed successfully