Create new license controller configuration file
To configure the license controller to use a reserved license for an application, create a new license controller configuration file and set an environment variable to use this configuration.
It is assumed you have reserved a license as described in Reserve licenses for an application or Reserve licenses for a group of users and that your product is configured to use the FLM server. For details of how to configure the license controller to use the FLM, see Configure a Genero license controller.
In this task:
- You will configure a new license controller configuration file for your product and set it to use the licenses reserved for "myApp".
- You will set an environment variable (FGLLICENSE or GRELICENSE) to your new configuration. For details of specifying a license configuration, see Specify the licensing configuration file.
Locate your product's license controller configuration
file.
Genero product | Default license controller configuration file |
---|---|
Genero Business Development Language (BDL) | $FGLDIR/etc/fgllicense |
Genero Report Engine (GRE) | $GREDIR/etc/grelicense |
Tip:
Default locations of the license controller configuration files are shown. You can set the location of these files by using the FGLLICENSE or GRELICENSE environment variables.
- On the host where the product is installed make a copy of your product's default license controller configuration file. For example, name it fgllicense.myApp.
- Open your new license controller configuration file for editing.
-
Change the configuration to use the "myApp" reservation:
-
Check that your new license configuration is taken into account at
runtime.