Specify the licensing configuration file

An FLM or license controller configuration file provides the details for licensing your Genero product. You can enter the license details in the default license controller configuration file, or you can set an environment variable to specify an alternate license controller configuration file.

Table 1 identifies the environment variables that allow you to specify an alternate licensing configuration file. If the environment variable is not set, the default configuration file is used.

Table 1. License environment
Package Environment variable Use Default
FLM FLMPROFILE Specify the FLM license configuration file. $FLMDIR/etc/flmprofile
FGLGWS FGLLICENSE Specify the Four Js License Controller for BDL (fglWrt) configuration file (or multiple configuration files). $FGLDIR/etc/fgllicense
GRE GRELICENSE Specify the Four Js License Controller for GRE (greWrt) configuration file (or multiple configuration files). $GREDIR/etc/grelicense

Do I need multiple license controller configuration files?

You may find multiple files useful when using a Four Js License Manager (FLM) and you need to have different settings for logs or license reservations.

For example, you have a Genero Report Writer (GRW) license with 100 users. You can define one configuration file with the base FLM server settings (for example, grelicense.base) and specify the reservation in another configuration file (for example, grelicense.dev).

For the development team that needs 20 users, the development environment is set:
$GRELICENSE=/mydir/grelicense.dev;/mydir/grelicense.base
For the remaining licenses used by the rest of the company, the environment is set:
$GRELICENSE=/mydir/grelicense;/mydir/grelicense.base
When defining multiple license configuration files, the filenames must be separated by the operating system specific path separator. The path separator is ":" on UNIX™ platforms and ";" on Windows® platforms.
on UNIX:
export GRELICENSE=/mydir/grelicense.dev:/mydir/grelicense.base

on Windows:
set GRELICENSE=c:\mydir\grelicense.dev;c:\mydir\grelicense.base