Create license controller configuration file
To configure the license controller to use a reserved or shared 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 configured a license reservation or share as described in Manage license reservation (flmprg) or Manage license sharing (flmprg), 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 or shared.
- You will set an environment variable (FGLLICENSE or GRELICENSE) to your new configuration.
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 your copy fgllicense.myapp.
- Open your new license controller configuration file for editing.
-
Change the configuration to use the reservation or share:
-
Check that your new license configuration is taken into account at runtime.