Example: fgllicense

Details of the license controller configuration file with an example configuration for FGLGWS.

Locate your product's license controller configuration file.
Table 1. Genero products and license configuration files
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.

Configuration files are in the INI format. Configuration entries are in the format name-of-resource=value. They are grouped under the following categories:
  • [server]
  • [license]
  • [log]
Categories are enclosed in square braces ([ ]). You can write entries under the categories or write them including the category name using dot notation. For example, these entries are the same:
  • [server] 
    host=localhost
  • server.host=localhost

If a resource contains a dot, for example, server.host, the license manager ignores the category name ([server]) if present.

For values you need to specify, you can provide these in quotes, but quotes are not needed unless the value contains spaces. Quotes can be added or omitted in values without spaces.
[server]
host="amon"
You can comment out resources or add comments by writing a pound sign (#) or semi-colon (;) before the text or resource.
 # This is a comment
 ; This is a comment too
Entries that enable or disable features take boolean values. If you uncomment a resource that takes a boolean value, it is the same as activating the resource. For example in the log configuration section, you can set resources that have boolean values as shown:
[log]
enabled            # Enable logs, equivalent to enabled=true, default false
directory=/tmp     # Directory where log files are stored.
categories=error,warning,info #,debug  # categories of messages stored.

Example: fgllicense license controller configuration file

; license controller configuration file
[server]
# FLM service host
# host=FLM_HOST_NAME
host=localhost

# FLM service port
# port=6800
port=6800

[license]
# License number or license reservation to use with FLM service
number = TAB#XXXXXXXX
# reservation=qa
 
[log]
enabled
categories= error,warning,info #,debug
directory=${TEMP/log}