Import licenses from FLM

Import licenses from a License Manager installation.

There are two commands you can use to move licenses, depending on whether you are moving one license or all licenses from an old installation (for example, License Manager 5.20 installation) into a License Manager 6.00 installation:
  • To move all licenses, use the flmprg import-all-licenses command, specifying the path to the old installation.
  • To move a specific license, use the flmprg import-license command, specifying the license number to move and the path to the old installation.
If the command fails, a message that relates to the failure should be self-explanatory, and messages are writing to the log file specified in the output. The log file can be accessed at the target installation directory.

Steps

  1. Open a command prompt.
    • On Windows®, right-click on the License Manager Workplace Window from the Start menu and select Run as administrator.
    • On Linux®/UNIX®/macOS™, open a command prompt. "sudo" may be required.
  2. Type the command to change to your Genero FLM installation directory. This is the target FLM installation where you want the license moved to.
    cd /opt/fourjs/flm6
  3. Set the environment using the envflm file.
    On UNIX (using sh as shell script):
    ./envflm
    On Windows:
    envflm.bat
  4. Type the command to import licenses.
    • To move all licenses, type:
      flmprg import-all-licenses --from /opt/fourjs/flm5
    • To move a specified license, type
      flmprg import-license --from /opt/fourjs/flm5 --license TAB#XXXXXXXX
    Where:
    1. In the --from option you specify the source directory containing the license or licenses to move.
    2. In the --license option you specify the license number of the license to move, because there may be more than one license installed.

    Messages resulting from the analysis of the source and target installations are written to the standard output. Messages are also written to the log file specified in the output.

    If the operation fails to import a license, a message that relates to the failure should be self-explanatory. The move-license.log log file can be accessed at the target installation directory, for example, /opt/fourjs/flm6/etc

  5. Test your license move.
    Use the command flmprg -a info to output the license information.
    Details are written to stdout; it should now include the imported license or licenses.