'license' service
The 'license' service manages the following licenses as standard:
-
SMU, WEB, CLU, LR3, ILM, MAS, TES
The 'CLU' license (client universal license) includes the 'WEB' license for enaio® webclient from previous versions. Due to backward compatibility, the 'WEB' license is still part of the default configuration of the service, but is no longer part of a license file for the version 12.0.
If other licenses are integrated in enaio® enterprise-manager 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.
Seat licenses managed by the 'license' service must be assigned in enaio® enterprise-manager to one of the stations on which one of the 'license' services is running.
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: CLU
number: 1000000
- name: LR3
number: 15
- name: ILM
number: 10
- name: MAS
number: 10
- name: TES
number: 4
license-prod.yml
If several enaio® service-manager with the 'license' service 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 and also offer system stability.
Then extend the port range for the 'license' service in the servicewatcher-sw.yml configuration files: 7371-7379
-
In the license-prod.yml file located 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.
-
Restart the 'license' service.
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'.
License Management
By default, licenses managed by the 'license' service are released again after 30 seconds without a new license request from the corresponding component and after an additional time period of 40 seconds for attempts to establish a connection to the 'license' service.
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 to the license-prod.yml file 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.
Multiple 'license' Services
If components do not reach the 'license' service during a license request, error messages are shown depending on the component. Current work statuses may not be saved and may be lost, for example, in enaio® client.
We recommend installing multiple enaio® service-manager with the 'license' service and coordinating the timing of restarting the 'license' service and enaio® service-manager.
If multiple 'license' services are installed, then the respective servicewatcher-sw.yml files located in the \config directories must be adapted:
For the 'license' service, change the port 7371 to the port range 7371–7379.
areas. Use the toolbar to show all hidden areas at once:
