Configure the License Manager

To configure the Four Js License Manager (FLM), edit the $FLMDIR/etc/lmprofile file.

Configuration entries are in the format name-of-resource="value"

Note: The flm.storage configuration entry was deprecated in version 5.12.08. If a configuration entry is set for flm.storage, it is silently ignored.
  1. To set the value for the FLM server resource, add the line in the following format with the name of the server:
    For example, if your DNS or your hosts file is correctly configured, you can safely use localhost:
    flm.server="localhost"
    Note: Working with Docker on macOS™:

    If you are hosting FLM and docker containers on the same host, it is recommended to configure a mapping to the localhost using a special DNS name which will resolve to the internal IP address used by the host; regardless of changes in the network. See Configure license with FLM for docker on macOS host.

  2. Add or update values for the resources shown in Table 1 as required:
    Table 1. License Manager Configuration Resources
    Resource Name Default Value Description
    flm.server none Name of the machine that hosts FLM. Set this value to the machine name or IP address where FLM is installed.
    Warning: Although no default is provided, this parameter is mandatory.
    flm.service 6399 Service or port number for the communication between the license controller and FLM.
    flm.check 100

    This parameter controls the frequency of PID checks. The control of active users is important. PID checks verify active users and recover licenses from users that are no longer active; for example, licenses not recovered after a DVM crash.

    Important: This parameter does not apply to CPU licenses.

    For the FLM, this parameter specifies the number of connections between checks of the registered users list for a host machine. If this parameter is not defined, the default is 100 for each host connecting to the FLM.

    Each connection request to a host decrements the value. When it reaches zero (0), a PID check is requested to recover any non-active sessions. The FLM requests the PID list from the host to compare it against its list of registered users. It synchronizes the real users on the network with the registered users list managed by FLM.

    Decreasing the value for this parameter will increase the PID check frequency.

    To disable these checks, set flm.check to -1.

    Warning: If you disable these checks, some registered users will never be unregistered by the FLM until you run the command flmprg -u <host>. See Force a Check of the Registered Users List (flmprg).
    flm.license.shared 0 Set to 1 (true) to share licenses between users. If you have licenses for the same product, type, and extension, the total number of users will be cumulative.
    flm.cnxlog.enabled 0

    Set 1 (true) to activate the FLM connection log. Support may request that you enable this option and send the generated log files to aide in analyzing licensing issues.

    The log files are created in FLMDIR. The files are named using the pattern flm-YYYYMMDD-id.log, where:
    • YYYY = current year
    • MM = current month
    • DD = day of month
    • id = counter value. The counter value is incremented each time the FLM is started.