'license' Service

enaio® 11.0 »

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

  • SMU, WEB, LR3, ILM, MAS

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

license-prod.yml

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

  • Enter the following into the file:

    Example:

  • license:
      modules:
        - name: SMU
          number: 4
        - name: WEB
          number: 1000000
        - name: LR3
          number: 15
        - name: ILM
          number: 10
        - name: MAS
          number: 10
        - name: CDE
          number: 5

    In addition to the required default licenses, the license 'CDE' with the number '5' is integrated in the example.

  • Restart the 'license' service.

The license-prod.yml file must always contain all licenses managed by the 'license' service as standard. These are: SMU, WEB, LR3, ILM, MAS.

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.