How to serve both permanent and temporary licenses at the same time

Technote (FAQ)


Question

How do you force the IBM Rational License Server to serve both permanent and temporary licenses at the same time?

Cause

The license server is configured to only serve licenses from a permanent license file (rational_server_perm.dat) or the temporary license file (rational_server_temp.dat) but not both by default.

Answer

Configure the Rational License Server as follows to serve both permanent and temporary licenses at the same time:

Disclaimer

This solution contains information about modifying the system registry. Before making any modifications to the Microsoft Registry Editor, it is strongly recommended that you make a backup of the existing registry. For more information describing how to back up the registry, refer to Microsoft Knowledge Base article 256986

If the Rational License Server was initially started as a Microsoft Windows service:

  1. Access Start > Run... and enter regedit

  2. Navigate to the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Flexlm License Manager\Flexlm license manager\License

    Note: On 64-bit Windows 7 platform, please navigate to the following key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Flexlm license manager\License

  3. Modify the current value, which is the full path to either the permanent license file or the temporary license file to match the following:

    ] ; [

    Note:
    The 2 paths are separated by a semi-colon ";".

    For example:
    C:\Program Files\rational\common\rational_server_perm.dat;C:\Program
    Files\rational\common\rational_server_temp.dat


  4. Close the registry editor and restart your Rational License Server.


If the license server was initially started as a process from a command prompt:
  1. Use the following lmdown command to stop the Rational License Server process:
    lmutil lmdown -c <path_to_license_file> -vendor rational
  2. Restart the Rational License Server process with the following command:
    lmgrd -c <path_to_perm_file>;<path_to_temp_file>

    Note:
    The 2 paths are separated by a semi-colon ";".

Note: If after editing the path to the license files to both permanent and temporary files, you see a problem where the path to the license files is too long resulting in Flexlm -16 error or license server dies errors, refer to technote 1294897: Cannot read data from license server. FLEXlm error: -16.

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational License Key Server
Configuration

Software version:

7.0, 7.0.0.1, 8.1.4

Operating system(s):

Windows

Reference #:

1122042

Modified date:

2014-02-26

Translate my page

Machine Translation

Content navigation