Installing : Installing the UNICOM Digital Transformation Toolkit : Licensing UNICOM Digital Transformation Toolkit : Configuring the ULT License Server: ult_licesrv.ini file
  
Configuring the ULT License Server: ult_licesrv.ini file
The License Server reads its configuration information from a file in its current working directory called ult_licesrv.ini.
Example file
This example file shows the default values for the parameters.
[Initialisation]
ListeningPort=7498
ListeningIPVer=4
UsageSummaryFile=ult_licesrv_usage.txt
LicensesPath=licenses
NamedUserFilesPath=licenses
PolicyFilesPath=licenses

[EmailAlerts]
SMTPHostname=
SMTPPort=25
Sender=
Recipients=
SendTestEmail=0
WarningThresholdDays=14

[Status Thresholds]
DefaultQueueErrorItems=1000
DefaultQueueWarningItems=250
MemUsageErrorMB=0
MemUsageWarningMB=0

[Logging]
Logfile=ult_licesrv.log
Level=1
[Initialisation] section
ListeningPort=number
The TCP/IP port on which the system listens for client connections.
ListeningIPVer=4|6
The type of TCP/IP port that should be created: 4 for IPv4, or 6 for IPv6.
UsageSummaryFile=filename
The ULT License Server records a summary of the current license usage (that is, concurrently-licensed modules and active named user sessions) to a file. This entry specifies the name of that file.
The default name is ult_licesrv_usage.txt in the current directory.
LicensesPath=directorypath
The path and directory containing the License files that the server is to use.
The default value is a licenses subdirectory of the current directory.
NamedUserFilesPath=directorypath
The path and directory containing the named user files are. The named user files specify who can user a license file. For more information, see Controlling who can use the license: Named users file.
The default value is a licenses subdirectory of the current directory.
PolicyFilesPath=directorypath
The path and directory containing the policy files. Policy files control the number of licenses that users can use. For more information, see Controlling the number of licenses: Policy file.
The default value is a licenses subdirectory of the current directory.
[EmailAlerts] section
For information about the localization parameters in this section, see Localization of email content.
SMTPHostname=text
(Mandatory.) Hostname of the mail server.
SMTPPort=number
TCP/IP port to use for SMTP.
The default value is 25. 

Sender=emailaddress
(Mandatory.) The account which the emails are to be sent from.
Recipients=emailaddress[;emailaddress]...
(Mandatory.) List of recipients to send the emails to. Separate the addresses by using a semicolon, for example:
Recipients=bob@mycompoany.com; alice@mycompany.com
SendTestEmail=0|1
1 sends a test email to the configured recipients to enable you to test the mail server connectivity.
After you have checked that the email arrived correctly, set this parameter to 0.
The default value is 0.
WarningThresholdDays=number
The number of days before a License expires from which the server should start generating warning emails.
The default value is 14.
[Status Thresholds] section
The parameters in this section set the levels at which the service is regarded as being in “warning” (amber) or “error” (red) status. You do not usually need to change these values; however on a very busy server, you might need to increase them to prevent false reporting of warning or error states. 

DefaultQueueErrorItems=number
The “critical” length of the queues in which internal requests wait. If the number of requests on the queue is more than this number, the service’s status changes to “error” (red).
0 disables this feature, so the service never reaches “error” status because of internal queue lengths (though “error” status could be caused by other factors).
The default value is 1000. 

DefaultQueueWarningItems=number
Similar to DefaultQueueErrorItems above: The “warning” (amber) length of queues where internal processes wait.
0 disables this feature.
The default value is 250. 

MemUsageErrorMB=number
The “error” level of memory usage (measured in MB) at which the service displays its status as red.
The default value is 95% of the process’s addressable memory space. This threshold is mainly of use for 32- bit processes, as the memory available to each process is artificially constrained and is often only a fraction of a system’s total memory.
MemUsageWarningMB=number
The “warning” level of memory usage (measured in MB) at which the service displays its status as amber.
The default value is 80% of the process’s addressable memory space. This threshold is mainly of use for 32-bit processes, as the memory available to each process is artificially constrained and is often only a fraction of a system’s total memory.
[Logging] section
Logfile=filename
The name of the logfile generated by the License Server. 

Level=1|2|3
The logging level. 1 is errors only; 2 and 3 add more information. For more information, see Monitoring errors and generating diagnostic information.
See also
Licensing UNICOM Digital Transformation Toolkit