'license' Service

enaio® 11.10 »

The 'license' service manages the following licenses as standard:

  • SMU, WEB, LR3, ILM, MAS, TES

If other components are integrated in enaio® whose licenses are managed by the 'license' service, then these need to be integrated via a license-prod.yml configuration file located in the \config directory of enaio® service-manager.

Changes to the number of licenses for standard licenses need to also be entered in the license-prod.yml configuration file.

Default configuration:

license:
  modules:
    - name: SMU
      number: 4
    - name: WEB
      number: 1000000
    - name: LR3
      number: 15
    - name: ILM
      number: 10
    - name: MAS
      number: 10
    - name: TES
      number: 4

license-prod.yml

If several 'license' services are integrated in the system, they all require an identically configured license-prod.yml configuration file with the maximum number of licenses. The services coordinate the allocation of licenses among themselves.

  • Create the license-prod.yml file in the \config directory of enaio® service-manager.

  • Enter all licenses with the maximum number of licenses in the file that are not included by default.

  • Enter all licenses in the file whose quantity is to be increased.

  • Example:

    license:
      modules:
        - name: TES
          number: 6
        - name: CDE
          number: 5

    In the example, the number of 'TES' licenses is increased from 4 to 6 and the 'CDE' license is integrated with the number '5'.

  • Restart the 'license' service.

License Release

By default, licenses are released after 30 seconds and an additional time period of 40 seconds after inactivity.

This time period can be changed via an entry in the license-prod.yml file.

Example:

license:
  modules:
    - name: CDE
      number: 5
      lockingTimeInSec: 300

In the example, the time period for the 'CDE' license is increased to 300 seconds via the lockingTimeInSec parameter. The additional 40-second time period also applies.

The 'license' service needs to be restarted after changes are made.

Licenses should not be blocked for an unnecessarily long time. The time period should only be increased if a license cannot be renewed for technical reasons or cannot be renewed every 30 seconds.