Import license from another installation
You can use the greWrt import-license feature to move a license from another installation.
When you move a license from another installation, you take that license from one installation and make it available to another. A Genero Report Engine (GRE) license can be moved to another GRE installation, or to a License Manager. A license installed in a License Manager can be moved to the appropriate product installation based on the license number.
Scenarios when you may need to move licenses
- You have a Genero 4.00 product installation license (FLM 6) and you want to move it to another
Genero 4.00 product installation (FLM 6). In this example the Genero GRE license in the
specified directory is imported into the current
installation:
greWrt import-license --from /opt/fourjs/gre
- You have a License Manager 5.20 installation and you want to move a license from it to a Genero
4.00 product installation (FLM 6). In this example the specified license from the License Manager 5
installation is moved into the current product
installation:
greWrt import-license --from /opt/fourjs/flm5 --license XXX#XXXXXXX
- You want to upgrade an FLM 5 license to an FLM 6 license in a Genero installation. This example
upgrades the
license:
greWrt import-license
Planning for moving licenses
Identify Genero product installations. When moving licenses, the source and target installations must be on the same system. Licenses may be moved from an earlier FLM version, such as FLM 5.20, to FLM 6.00, but licenses for later versions, such as FLM 6.00, can not be moved back to an earlier license version.
Log files and debugging
The output from a command to move a license is recorded in a log file. Log files are found in the Genero installation /etc/license directory where the command is run.
Log filenames are in the format move-license.log. If more than one log file is present, the most recent log will have the highest number in the sequence: move-license.1.log, move-license.2.log, and so on.
The log file records the event of moving a license. It contains the result of the analysis of the source and destination installations. If the move fails for some reason, such as the license.dat file not found, the cause is explained in detail in the file. If the move is successful, the details of where the license was moved from and moved to is given. This file is useful if you need to troubleshoot issues moving a license.