Reserve licenses for an application

Use the license reservation feature in the FLM to ensure that licenses are always available for a specific application.

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 of "myApp".

  1. Open your FLM configuration file, FLMDIR/etc/flmprofile, for editing.
  2. Declare a reservation for an application called "myApp".
    [reservations]
    names=myAppReservation
  3. Declare the reservation, and assign it a source license and a user count.
    [reservation.myAppReservation]
    license=TAB#XXXXXXXX
    count=10
  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 reservation:
    License      : TAB#XXXXXXXX
    License key  : BBBBBBBBBBBB
    Product      : Four Js Universal Compiler
    Type         : Development version
    Users        : 90/100
                   Reserved users: 10
    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  : myAppReservation
    License      : TAB#XXXXXXXX
    Users        : 0/10
    
    The license TAB#XXXXXXXX has 100 users: 90 licenses are available to all users, while 10 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.