Share licenses for a group of users

Use the license share feature in the FLM to ensure that licenses are shared for a group of users.

Sharing licenses for a dedicated usage is possible using the Four Js License Manager (FLM). To share licenses, you need to have the licenses installed. You must ensure they are licenses for the same product, and are of the same type (development or runtime) and extension (the specific conditions of the license).

After making a configuration change, you will need to restart the FLM (at the command line type flmprg --service-restart to restart the server). For more information, see Starting Four Js License Manager and Stopping license manager.

In this task you will share two licenses in one share for use by developers.

  1. Open your FLM configuration file, FLMDIR/etc/flmprofile, for editing.
  2. Declare license shares. For the purpose of this task we will declare one share named "dev".
    [shares]
    name="dev"
  3. Declare the share, and assign it source licenses (one license can be shared).
    [share.dev]
    licenses=TAB#XXXXXXX4 TAB#XXXXXXX5
    
  4. Test your license server configuration.
    Use the command flmprg --validate-configuration to check the configuration is valid.
    Details of invalid entries are written to stdout. You will need to fix the errors because the server will not start with errors in the configuration. If there are no errors reported, "Ok" is output.
  5. Output the license information.
    Use the command flmprg -a info to output the license information. Entries are written to stdout; it should now include the share.
    Server name  : amon
    TCP Port     : 6800
    License      : TAB#XXXXXXX4
    License key  : NSV88HEYUPDE
    Product      : Four Js Universal Compiler
    Type         : Development version
    Users        : 1
    Extensions   :
    # ...
    
    Server name  : amon
    TCP Port     : 6800
    License      : TAB#XXXXXXX5
    License key  : NSV88HEYALLD
    Product      : Four Js Universal Compiler
    Type         : Development version
    Users        : 1
    Extensions   :
    #...
    ==== Shared licenses ====
    
     - Share   : dev
       Users   : 2
    
       Licenses:
         TAB#XXXXXXX4, 1 users
         TAB#XXXXXXX5, 1 users
  6. Restart the license manager.
    Type flmprg --service-restart

    The FLM service is started.

  7. Configure the share on the client side to use the shared licenses. For an example, go to Configure license reservation/shares on the client side.