Reserve licenses for a group of users

Use the license reservation feature in the FLM to ensure that licenses are always available for a group of users.

Reserving licenses for a dedicated usage is possible using the Four Js License Manager (FLM). To reserve a license, you need to have at least one license installed.

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 reserve licenses for 10 users for Web services, and 15 users for qa.

  1. Open your FLM configuration file, FLMDIR/etc/flmprofile, for editing.
  2. Declare two reservations. For the purpose of this task we will name them "svc" and "qa".
    [reservations]
    names=svc,qa
  3. Declare each reservation, and assign it a source license (it can be the same license), and a user count.
    [reservation.svc]
    license=TAB#XXXXXXXX
    count=10
    
    [reservation.qa]
    license=TAB#XXXXXXXX
    count=15
  4. Restart the license manager at the command line.
    1. Open a License Manager Workplace Window.
      • On Windows, open the License Manager Workplace Window from the Start menu and select Run as administrator
      • On Linux®/UNIX/macOS, open a command prompt. "sudo" may be required.
    2. Type flmprg --service-restart

      The FLM service is started.

  5. Test your license server configuration.
    Use the command flmprg -a info to output the license information. Entries are written to stdout; it should now include the two reservations:
    License      : TAB#XXXXXXXX
    License key  : BBBBBBBBBBBB
    Product      : Four Js Universal Compiler
    Type         : Development version
    Users        : 75/100
                   Reserved users: 25
    Extensions   :
            - Open Database Interface
    Warning! This is a temporary license, installation number is '0LEARN7C7614GFPDMLRVGAXDCMC9GZPEM'.
    This temporary installation will expire in 30 day(s).
    End of maintenance date: 2021/12/31 (Year/Month/Day).
    
    Reservation  : svc
    License      : TAB#XXXXXXXX
    Users        : 10
    
    Reservation  : qa
    License      : TAB#XXXXXXXX
    Users        : 15
    The license TAB#XXXXXXXX has 100 users: 75 licenses are available to all users, while 25 licenses are reserved.
  6. Configure the reservation on the client side to use the reserved licenses. For an example, go to Configure license reservation/shares on the client side.