DLMUserGuide PDF
DLMUserGuide PDF
Administrators Guide
Release 9.0.3
Please direct questions about Uniface to uniface.info or [email protected].
For comments or questions about this document, you can email [email protected].
U.S. GOVERNMENT RIGHTS-Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in
applicable license agreement with Uniface B.V. and/or its predecessor in interest and as provided in DFARS 227.7202-1(a) and
227.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii)(OCT 1988), FAR 12.212(a)(1995), FAR 52.227-19, or FAR 52.227-14(ALT
III), as applicable. Uniface B.V.
This product contains confidential information and trade secrets of Uniface B.V. Use, disclosure, or reproduction is prohibited
without the prior express written permission of Uniface B.V.
Adobe® Reader® is a registered trademark of Adobe Systems Incorporated in the United States and/or other countries.
All other company and product names are trademarks or registered trademarks of their respective owners.
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Customer Support Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Uniface DLM: What's New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 4 ∙ Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Verify that the License Service is Running (Windows) . . . . . . . . . . . . . . . . . . . . . . . . 70
License Service Does Not Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
max_threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
mail_notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
concurrent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
borrow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
user_management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
The Uniface DLM Guide describes how use the Uniface DLM Windows application and DLMCV
command line tool to configure and administer the license environment for Uniface products.
Documentation Conventions
The following font conventions are used throughout documentation:
Bold Terms, commands, and references to names of screen controls and user
interface elements.
Documentation Links to Internet resources and linked references to titles in Uniface and
Conventions [p. 7] Uniface DLM documentation.
Fixed width Cited contents of text files, inline examples of code, command line inputs or
system outputs. Also file and path names.
Fixed width italic Place holders for values of strings, for example as in the command:
cd directory_name
Related Publications
The Uniface DLM includes an Installation Guide and Users guide in PDF format, and online
help in the product.
The documentation is available from the product installation disk and, after installation, from
C:\Program Files\Common Files\Compuware.
The online help describes how to use the following Uniface DLM Windows application and
Command Line Version (DLMCV).
To access the online help from within a licensing component, you can:
• Click F1 to open the Help menu.
• From the Help menu, choose Index to browse for help for the licensing component being
used.
Feature Description
Windows 10 support This release of Uniface DLM is supported on Windows 10 and fixes
some issues on Unix and Linux platforms.
Feature Description
DLMInfo utility The DLMInfo utility has been enhanced to provide additional system
information about the machine for which a license is requested, such
as the number and type of processors.
The file that is generated by the DLMInfo utility is required when
requesting new licenses, and may also be requested by Uniface to ensure
that you have the correct licenses for your needs.
For more information, see Uniface DLM Components [p. 11] and
Requesting a License File from Uniface [p. 21].
Feature Description
Name and Version Number The name has been changed to Uniface DLM and the version is
changed to 9.0. It replaces Compuware's Distributed License Manager
4.6.
Uniface DLM is based on Compuware's DLM and provides the same
functionality.
NOTE
This version of Uniface DLM is completely compatible with the
Compuware DLM, so a Uniface DLM Client can run against a
Compuware License Service, and vice versa.
Feature Description
Customers who are currently using the Compuware DLM do not have
to install Uniface DLM. You can continue to use your existing licenses,
managed by the Compuware DLM License Service.
If you are a new customer, you will need to install the Uniface DLM
in order to use Uniface.
Documentation The documentation delivered with Uniface DLM has been updated and
consolidated to ensure that the information provided in PDF guides
and online help is consistent and accurate.
The Uniface Distributed License Management (Uniface DLM) system protects Uniface software
products from unauthorized usage and enables you to administer licenses for your Uniface
products.
Licenses are provided as XML files that, depending on the license, may be installed on the same
workstation as the Uniface product or feature, or on a central server that will check out and
serve licenses to client workstations. When a central license server is used, client machines or
servers running Uniface products must connect to a license service to obtain their license.
Uniface DLM must be installed on any machine that acts as a license source, whether an
individual workstation or a central server, and on every workstation that will act as a client of
a license server. The Uniface DLM components that are installed depend on the platform and
the type of license.
NOTE
A command line interface is also available. For more information, see Uniface DLM Command
Line Version (DLMCV) [p. 14].)
The Uniface DLM application displays the Uniface license information available on both the
client and server environments. It is used for license configuration and it provides current
information about the system and local environment.
When Uniface DLM is started on a configured system, it immediately analyzes the license path
and checks license sources. This determines the information displayed and the functionality
available in the application.
User Interface
The following tabs are available on both server and client machines:
• Local Environment—displays the license sources and license keys available in the local
environment, and enables you to add, remove, and sequence license sources.
• Advanced Configuration—enables you to configure the license environment. The contents
vary depending on whether the License Service is installed in the local environment.
• Borrow License Client (if there are license features that support borrowing)
---DLMCV Main---
Client
License service
License Service
The License Service is a long running process that manages and services requests for the licenses
for multiple client machines. It is required for concurrent licenses.
The License Service can serve all Uniface features. It keeps track of licenses as they are checked
out and checked in by users. Licenses are checked out by users on a first-come, first-served
basis when they access the product. After all available licenses are issued, no additional users
can run the product until another user exits and a license is checked in. Your license determines
how many users can access the product at one time.
The License Service must be running on a computer or server that is always available to all
clients needing access to the product. In many cases, it is recommended that you co-locate the
License Service with the server-based components of one of the Uniface products you are
installing.
If a large number of licenses are governed by a single license server, you should set up redundant
servers so that if one server goes down, the License Service can still function. In this case the
license file must support server redundancy. For more information, see Redundant License
Servers [p. 22].
On Windows, the Uniface DLM application will automatically start the License Servicewhen
a concurrent license is to the license environment.
On non-Windows platforms, the License Service must be explicitly started after a concurrent
license is added to the license environment.
UMFilter
UMFilter is a command line utility that can be used to create create usage reports for the License
Service. It provides cross-platform and script support for database filtering and conversion of
filtered data to comma-delimited files.
UMFilter can be found in the Uniface DLM installation directory.
If it is started without parameters, it runs in interactive mode, prompting you to specify the
mandatory and optional parameters.
You can use the following syntax to run UMFilter in batch mode.
NOTE
The command and parameters must all be entered on a single command line. They are presented
on separate lines here for readability.
{-ed MMDDYYYY}
{-u username}
{-a feature}
{-h hostname}
{-st HH:MM{AM|PM}}
{-et HH:MM{AM|PM}}}
Parameters
-f
Specifies a local database file.
-s
Specifies a remote service that has capture enabled.
-sd
Specifies the starting date within the database where filtering is to begin.
-ed
Specifies the ending date, that is, the date of the last record were filtering is to end.
-st
Start time window.
-et
Ending time window.
-u
Filter all records that contain the provided username.
-a
Filter all records containing the provided feature name.
-h
Filter all records that contain the provided hostname.
-install
Install as a service
-port
Specify a port number to listen on
-start
Start in the foreground or as a service
-remove
Remove the service
-stop
Stop the service if it has been installed
-port?
Get current port number
-help
Display command line help
-status
Display status
-about
Display current version
License Models
Uniface offers two license models—node-locked for single users, and concurrent for multiple
users.
Node-Locked Licenses
A node-locked license allows the product to run on a single workstation, and does not require
a License Service to manage license checkout.
Uniface issues node-locked licenses only for the trial version of Uniface.
A node-locked license is characterized by the absence of a count tag for the licensed feature.
It is bound to the workstation by its NIC MAC Address or a hard disk signature.
When all available licenses are checked out, no additional users can run the product until a
license is checked back in.
A concurrent license is defined by the count tag for the licensed feature in the license file.
Other tags in the license file determine the type of concurrent license model.
There are several types of concurrent license model.
• Borrow-Enabled License Model—allows a user to borrow a feature or product for a specified
amount of time, up to a maximum of 365 days.
• User-Manage License Model—allows the license administrator to control user access to
specific options or features.
• First-Come, First-Served (FCFS)—limits the number of physical users to a defined set.
• User Duplication License Model—allows the user to run an unlimited number of instances
of an application as long as it is the same user on the same machine. The net usage in this
case is always one for the individual user, regardless of the number of instances running.
• Redundant Server License Model—provides limited protection against license server failure.
It disperses the responsibility for managing the license files over a predetermined number
of servers.
Administrators can grant or deny access to specified users or groups of users by editing the
contents of the user-management parameter in the server configuration file. For more
information, see user_management [p. 80].
License Files
Uniface generates a license file based on your contract and on the machines where the license
will be located.
A license file is an XML file that contains a single license object that includes one or more
license keys, each of which corresponds to a specific feature or application. The license file is
keyed to a specific host machine, and can only be provided by Uniface when you know where
it will be installed. For more information, see Requesting a License File from Uniface [p. 21].
License Keys
Each license key specifies the limits or behavior of a product based on the purchase agreement.
If an end user modifies license keys, the purchase agreement is invalidated and the associated
application or feature will not work.
D <key protected='SecurityKey'>
<Description> ProductDescription </Description>
<App> ApplicationName or undefined </App>
<Vers> VersionNumber or undefined </Vers>
<Start> StartDate or undefined </Start>
<End> EndDate or undefined </End>
<Count> NumberOfCurrentUsers | unlimited | undefined | infinite </Count>
<hostid>
<Eth> Ethernet address of licensed system </Eth>
<Softkey> Softkey ID of licensed system </Softkey>
<Serial> Disk serial number of licensed system </Serial>
<Ip> IP address of licensed system </Ip>
</hostid>
<!-- A key can have only a <hostid> (lowercase) or a <HostId> (mixed case)
<Hostid> Host Id </Hostid>
-->
<!-- A concurrent license may specify the license model using the following
parameters
<Fcfs/>
<Borrowing/>
<Umanage/>
<Dup_usr/>
<Redundant> Policy Id </Redundant>
-->
To obtain a license for a Uniface application or feature, you need to run the DLMInfo command
line utility, which gathers the information about the machine on which the license will reside.
TIP
For a concurrent license, you need to supply Uniface with the host ID of the server (or servers)
on which the License Service runs, not the host IDs of the client machines.
1. Navigate to the directory where DLM is installed and run the DLMInfo utility.
a. On Windows, Unix, and Linux systems, type dlminfo (or dlminfo64) and press
[Enter].
This displays information about the system and the location of a file called
system_info.txt, which contains the system information.
NOTE
On Windows virtual machines, Uniface DLM generates a unique identifier using the
Ethernet address and the network name on which the virtual environment image resides.
b. On iSeries, run the DLMINFO program using the following CL command to display
system information. .
Assuming, Uniface DLM is located in the DLM library:
CHGCURLIB DLM
CALL DLM/DLMINFO
run dlminfo.exe
NOTE
If more than one Host ID is returned, one of them will be used.
2. Send an email with the system_info file to the Uniface License Management department
at [email protected].
A Uniface representative will generate a valid license file and send it to you by email. The
license file is based on your contract and on the machine where the license will be located.
What to Do Next
After you receive the license file, copy it to the /license directory or library of the Uniface
DLM installation on the specified host machine, then add license and configure Uniface DLM
on each machine with a license source.
License Pools
A license pool is a collection of license tokens for use in managing a concurrent license key.
The number of license tokens available in the pool is determined by the Count specified for the
license key. By default, a license pool exists for each concurrent license key.
To distribute and manage the license tokens available for a license feature, the license
administrator can define virtual license pools, so each license feature may have several license
pools associated with it. In this case, all clients that use that key must be provided with a pool
ID, otherwise they are denied access to the licensed application or feature.
Each license pool has a limit set for the maximum number of tokens it contains. The total number
of tokens set for all license pools associated with a specific license key may exceed the number
of licenses specified by the Count. This is possible because denial will always occur when the
number of tokens in use exceeds the Count.
Multiple users can share the same pool ID. Users that share defined pool IDs are collectively
limited by both the pool limit and the Count.
License Borrowing
License borrowing enables you to check out concurrent licenses from the License Service and
then use a Uniface application disconnected from the network.
On Windows, configuration of the license borrowing components is handled automatically
when a license is installed using the Uniface DLM application.
On other platforms, license borrowing must be configured using the Uniface DLM - Command
Line (DLMCV) application.
The first step in configuring the license environment is to add license sources. For concurrent
licenses, the administer can then configure the License Service.
A concurrent license is installed on a machine that will act as the license server to client
workstations where Uniface applications and features are installed. The License Service must
be installed and configured on this same machine.
Data transmission between Uniface DLM clients and the License Service is platform independent,
providing support for heterogeneous networks. This means that Uniface DLM running on one
operating system, such as Windows or Unix, can communicate with a client running on a OS.
Licenses sources are added and configured using the Uniface DLM application on Windows,
and the DLMCV on all platforms.
License Environment
Every Uniface DLM installation has a client license environment that defines the available
license sources. If one of the license sources is a locally-available license file that includes a
concurrent license, there is also a server license environment for the License Service.
A license environment can include multiple sources, including locally-installed license files
and license servers. When a request is made to check out a license for a Uniface feature, all
sources in the client license environment are scanned until a valid key is found.
TIP
If there are old or obsolete license sources in the environment setting, you should delete them
to improve product response time. Only currently operating servers should be specified in the
license environment setting.
Information about the license environment is managed using the Uniface DLM administration
tools (the Uniface DLM Windows application or DLMCV), and stored in a configuration file,
which is created the first time a license source is added. The configuration files are XML-based,
so they provide a similar heterogeneous methodology for component configuration. The location
of these files on clients and servers is similar for all supported platforms.
• For a concurrent license, the license environment is maintained in the config directory of
the Uniface DLM installation. For more information, see Server Configuration File [p. 27].
• For a node-locked license, the license environment can be defined globally for all users of
a machine, or locally for individual users. If end users have a local configuration, it overrides
a global configuration. The location of a configuration file determines whether it is global
or a local. For more information, see Client Configuration File [p. 26].
On Unix and Windows, a local .compuware directory is located in a user’s login directory.
For more information, see Configuring the License Environment on Windows [p. 30] and
Configuring the License Environment with DLMCV [p. 35].
<broadcast_attrib>
<user_case> upper | lower </user_case>
<host_case> upper | lower </host_case>
</broadcast_attrib>
<pool>PoolId</pool>
</config>
Parameter Description
license [p. 71] The license parameter defines a single license source. A
configuration file must have at least one license parameter and it
may have more.
port [p. 72] On the client, this parameter can be used to define a port number,
or a range of port numbers, that is used to receive the data stream
from the License Service. On the server, it specifies the port number
that the License Service uses for incoming requests.
nagle_algorithm [p. 73] When defined, the Nagle Algorithm is used when transmitting data
via TCP/IP to DLM.
proxy_server [p. 74] If the License Proxy Service (cpwrProxy32 ) is required, defines
the port number that it uses.
borrow_server [p. 74] Defines a License Service that contains borrow-enables license
keys.
server_loading [p. 74] If more than one license source is defined, instructs the client to
split requests for one or more license tokens across multiple license
sources.
broadcast_attribute [p. 74] Defines the letter case used to exchange data between the client and
the License Service. This is useful when dealing with user-managed
licenses.
<mail_notification>
<smtp>SmtpServer</smtp>
<enabled/>
<on>
<denied>
<filter>
<keep>host|user|feature</keep>
<discard>host|user|feature</discard>
</filter>
<frequency>FrequencyValue</frequency>
</denied>
<borrowed/>
<security/>
<stop/>
<start/>
<expire>DaysRemaining</expire>
</on>
<to>EmailAddress</to>
<subject>Subject</subject>
<mail_notification>
<user_management>
<application>
<user/>
<everyone/>
</application>
</user_management>
<pools>
<Application>
<poolID>MaxTokenCount<PoolID>
<poolID_N>MaxTokenCount<PoolID_N>
</Application>
<pools>
<borrow>
<ApplicationN>
<count>MaxTokenCount</count>
</ApplicationN>
</borrow>
<concurrent>
<ApplicationN>
<count>MaxTokenCount</count>
</ApplicationN>
</concurrent>
</config>
Parameter Description
server [p. 75] Mandatory section of a server configuration file. It contains parameters
that define the server’s timeout, license files, and port number. Other
parameters and sections are optional.
port [p. 72] On the client, this parameter can be used to define a port number, or
a range of port numbers, that is used to receive the data stream from
the License Service. On the server, it specifies the port number that
the License Service uses for incoming requests.
connection_timeout [p. 73] Number of seconds to keep a non-responding connection open. Default
is 10.
license [p. 71] The license parameter defines a single license source. A configuration
file must have at least one license parameter and it may have more.
nagle_algorithm [p. 73] When defined, the Nagle Algorithm is used when transmitting data
via TCP/IP to Uniface DLM.
max_threads [p. 77] On Windows only, the maximum number of threads that can be
launched by the License Service at any given time.
mail_notification [p. 77] Used to configure the License Service to provide email notifications
for license-related issues. The Simple Mail Transfer Protocol (SMTP)
protocol is used.
net_security [p. 75] Instructs the License Service how to handle dubious or malicious
requests for licenses.
pools [p. 78] Defines one or more license pools that can be used to manage
concurrent license features.
concurrent [p. 79] Limits the number of concurrent licenses that can be used for specified
applications or features.
borrow [p. 80] Restricts the number of license tokens and the maximum number of
days that specified license keys can be borrowed.
user_management [p. 80] For licenses that are enabled for the user-manage license model,
defines who can use application or feature.
License Server
For a concurrent license, the license file must first be added to the licensed server. This is any
system that has been authorized by a valid license file to provide remote start-up authorization
for Uniface applications.
When a valid concurrent license file is added on the licensed server machine, the License Service
must be started. This is done automatically on Windows, but must be done explicitly on other
platforms. The address of this License Service can then be added as a license source to the
Uniface DLM clients.
Depending on the licensed functionality (such as license borrowing and user manage licensed)
the organization's requirements, it may be necessary for the license administrator to configure
license borrowing, define authorized users, configure redundant servers, create license pools,
and define usage log files.
License Client
A license client is any system that runs a Uniface application and connects to a License Service
to obtain licenses for Uniface features.
In most cases, adding license sources is all that is required to configure the client license
environment. If required, the license administrator may assign a pool ID to a client.
NOTE
You can add the license file directly to the License\ folder, then start up the License
Service to install a license.
What to Do Next
For more information, see Configuring the License Service on Windows [p. 31].
In some circumstances, additional configuration may be required for the client. In most cases,
you should only change these options if instructed to do so by a license administrator or a
Uniface representative.
1. Go to the Advanced Configuration tab.
2. In the Client Configuration section, modify settings as required. For more information,
see Advanced Configuration Tab in the Uniface DLM Online Help.
2. Alternatively, in Windows File Explorer, navigate to your Uniface DLM installation and
double-click cpwr.exe.
You cannot run more than one License Service at a time, so if it is already running you will
be prompted to shut it down, and optionally to remove it altogether.
If the License Service has not been installed or is not running, you are prompted to (install
and) start it.
Adding Licenses
Use the Uniface DLM Windows application to configure a license for use by Uniface. It enables
you to add a license file to a License Service, and then to configure each client to access the
License Service.
3. Start the Uniface DLM application from the Windows Programs menu.
If you have previously installed a concurrent license, the License Service should already
be installed and running, and a Server Environment tab will be present in the Uniface
DLM application. You can use it to add another license source.
4. Click Add to open the Add License dialog box.
Removing Licenses
8. To remove a license source, select it in the License source/path field and click Remove.
Further License Environment Configuration
9. If there are multiple (redundant) license servers available, repeat the previous steps on each
server.
For more information, see Redundant License Servers [p. 22].
If one of the licensed features is borrow-enabled, a Borrow License Server tab is also
added.
10. To initialize the redundancy policy, launch the product that uses Uniface DLM from one
client.
NOTE
If redundant servers have been set up and one or more of these servers goes down, you can
continue to operate licensed Uniface features without interruption for as long as the policy
specifies, provided the number of redundant servers does not fall below a failsafe count.
No action is necessary after the downed servers are brought up again.
11. To remove a license source, select it in the License source/path field and click Remove.
CAUTION
This will physically remove the license file from its specified location. You should ensure
that you have a backup in another location.
What to Do Next
For more information, see License Borrowing [p. 22], Configuring User-Manage Licenses
[p. 34], and Defining License Pools [p. 47].
• In the Local Environment, select a feature in the License features field and click Status.
The Status dialog box displays the number of users and whether the feature is working
properly.
Figure 5. Status
1. In the Advanced Configuration tab, select User manage and click the ellipsis button.
The User Manage window is displayed.
c. To exclude, some users, add the everyone keyword and the login IDs of excluded
users.
d. To authorize only selected users, enter the login IDs of users who are allowed to use
the feature. Do not use the everyone keyword.
3. Once the changes have been made, click OK to implement them.
Current setting(s):
not set
---[License path ]
Command list---
Add
Remove
If a license file is available locally, it is usually located in the License\ folder of the
Uniface DLM installation.
If the license is available on a server, enter the of the host server, in the format port@host.
The port number is typically 7188. For example, [email protected].
NOTE
If you are installing a concurrent license on a License Service, you will need to (re-)start
the License Service.
NOTE
If redundant servers have been set up and one or more of these servers goes down, you can
continue to operate licensed Uniface DLM features without interruption for as long as the
policy specifies, provided the number of redundant servers does not fall below a failsafe
count. No action is necessary after the downed servers are brought up again.
What to Do Next
For more information, see License Borrowing [p. 22] and License Pools [p. 22].
1. Copy the license file you received from Uniface to the /license directory in the DLM
installation on Unix
Sun Solaris In /etc/rc2.d, create a file named s95cwlm.server and add the
following command to the file:
/DLMInstallDir/cpwr.sh -start
The DLMCV Main Menu is displayed. It contains two submenus: Client and License
Service.
6. Choose the license environment you are configuring.
• Enter C to start the Client menu. For more information, see Client Menu in the Uniface
DLM Online Help.
• Enter L to start the License Service menu. For more information, see License Service
Menu in the Uniface DLM Online Help.
Current setting(s):
not set
---[License path ]
Command list---
Add
Remove
NOTE
If you are installing a concurrent license on a License Service, you will need to (re-)start
the License Service.
Component Description
Component Description
os Multi-platform support.
1. Copy the license file you received from Uniface to the /.DLM/license IFS subdirectory
of the Uniface DLM installation.
You can do this by using FTP in ASCII mode (the license files are text XML files).
CURLIB(DLM)
WRKACTJOB(*YES)
NOTE
For more information regarding the syntax and available command line options, perform
the following command:
CALL PGM(DLM/CPWR) PARM('/h')
NOTE
To start the License Server in debug mode, use the following command:
CALL PGM(DLM/CPWR) PARM('/d')
The DLMCV Main Menu is displayed. It contains two submenus: Client and License
Service.
5. Choose the license environment you are configuring.
• Enter C to start the Client menu. For more information, see Client Menu in the Uniface
DLM Online Help.
• Enter L to start the License Service menu. For more information, see License Service
Menu in the Uniface DLM Online Help.
Both menus include a License path command.
6. Enter L to start the License Path menu.
Current setting(s):
not set
---[License path ]
Command list---
Add
Remove
NOTE
If you are installing a concurrent license on a License Service, you will need to (re-)start
the License Service.
source : [email protected]
feature/app : USRVDB2
requested version : 09.06
actual version : 09.06
expires : 40 days
type : concurrent
iSeries administrators can set up local client configurations by using the following series of
commands:
CRTDTAARA DTAARA(DLM/USERNAME) TYPE(*CHAR) LEN(256) VALUE('userdirectory')
• DLM—root directory in the root file system that contains Uniface DLM configuration files.
• USERNAME—login name of a user.
• The userdirectory—parent directory where the .uniface folder resides.
NOTE
Uniface DLM does not provide a user interface to add user data areas because the iSeries already
provides APIs and commands to perform this task.
During application startup, Uniface DLM checks for a local configuration by checking for the
presence of a username-based data area within the DLM.LIB library object.
• If the data area exists, the client environment is loaded from the directory defined in the
user’s data area.
• If a matching data area is not found, the Uniface DLM runtime loads the client environment
from /.uniface/config.xml.
The following diagrams illustrate the DLM.LIB library object and the Uniface DLM root folder
in which configuration information is stored.
For more information regarding the syntax and available command line options, enter:
cpwr /h
NOTE
You cannot run two License Services simultaneously and must shut one down before starting
a new one.
The DLMCV Main Menu is displayed. It contains two submenus: Client and License
Service.
5. Choose the license environment you are configuring.
• Enter C to start the Client menu. For more information, see Client Menu in the Uniface
DLM Online Help.
• Enter L to start the License Service menu. For more information, see License Service
Menu in the Uniface DLM Online Help.
Both menus include a License path command.
6. Enter L to start the License Path menu.
Current setting(s):
not set
---[License path ]
Command list---
Add
Remove
NOTE
If you are installing a concurrent license on a License Service, you will need to (re-)start
the License Service.
Component Description
Component Description
Once the license environment is configured and running, you can monitor usage, generate
reports, and perform other license administration activities. Users can also borrow licenses.
License Pools
A license pool is a collection of license tokens for use in managing a concurrent license key.
The number of license tokens available in the pool is determined by the Count specified for the
license key. By default, a license pool exists for each concurrent license key.
To distribute and manage the license tokens available for a license feature, the license
administrator can define virtual license pools, so each license feature may have several license
pools associated with it. In this case, all clients that use that key must be provided with a pool
ID, otherwise they are denied access to the licensed application or feature.
Each license pool has a limit set for the maximum number of tokens it contains. The total number
of tokens set for all license pools associated with a specific license key may exceed the number
of licenses specified by the Count. This is possible because denial will always occur when the
number of tokens in use exceeds the Count.
Multiple users can share the same pool ID. Users that share defined pool IDs are collectively
limited by both the pool limit and the Count.
NOTE
Once a pool has been defined, all clients referencing that License Service must have a pool ID.
1. In the Advanced Configuration tab, select Pools and click the ellipsis button to the right.
The Pools window is displayed.
3. To modify the number of licenses associated with an existing pool identifier, select the
Pool ID and click the Edit button.
What to Do Next
After defining license pools, you need to inform users what their pool ID is so that they can set
their Pool ID configuration option.
License Borrowing
License borrowing enables you to check out concurrent licenses from the License Service and
then use a Uniface application disconnected from the network.
On Windows, configuration of the license borrowing components is handled automatically
when a license is installed using the Uniface DLM application.
On other platforms, license borrowing must be configured using the Uniface DLM - Command
Line (DLMCV) application.
Alternatively, to modify an existing group file, click the Browse for a group file on disk
link and locate the file you want to modify.
4. Enter the name of the file to be created and click Open.
A group file template is opened in Notepad.
5. Edit the group file template and edit it to create your own group, following the instructions
in the file.
# fgroup[alpha]
# feat[a]
# feat[b]
# feat[c]
# feat[d]
For example, the following group defines the license features to be borrowed when running
Uniface on a Windows mobile device:
fgroup[Mobile]
feat[UWCE]
feat[UCLIENT]
feat[UCLTSRV]
feat[UCUCLTSRVDBLIENT]
feat[UMSM]
6. Save the file to return to the Groups dialog box. Press [Ctrl+S] or choose File ➤ Save.
7. Click OK button to exit the Groups dialog box.
The group file is created and activated.
You can proceed to Borrow License Client to borrow the license group.
CAUTION
Do not adjust the date and time on a client machine with a borrowed license. This renders the
license inoperable and you are not able to use the license until after the number of days you
established for the borrowing period has expired. If you need to adjust the date and time, first
return the license, change the date and time, and then re-borrow the license.
Returning a License
When the license expires or you return the license, the application will no longer run. The
License Service makes this license available to all users on the network.
7. In the Borrowed features section, select the feature you want to return.
8. Click Return and the license will be returned to the server.
2. Select the group you want to borrow and click Borrow Group
NOTE
If the license source is a server, LicenseSync checks for borrowed keys and automatically
imports them for transfer. For more information, see Borrowing and Returning Licenses
on Windows [p. 50].
NOTE
Borrowed keys that are transferred to a device cannot be returned to the desktop computer.
Instead, they are returned directly to the server from which they were initially borrowed.
Uniface Licenses
To run Uniface on a mobile device, you need:
• UWCE—Windows CE
• UCLIENT— Uniface Client
• UCLTSRV—Client Remote Server Connector
• UCLTSRVDB—Client Remote Data Connector
• Database connector license for the database you are using; one or more of:
◦ UDBE—DB2 Everyplace
◦ UEDB—Windows Local Embedded Database
◦ UMSM—Microsoft MS-SQL Mobile
◦ UORL—Oracle Lite
If the list does not fit on one page, enter n for next and p for previous to navigate through
the list.
4. Enter the name of the feature you want to borrow.
For example: USOL [Enter]
5. When prompted, confirm whether this is the feature you want to borrow. Enter y or n.
USOL 09.06 selected.
If the feature name exists more than once in the list of borrow-enabled features, entering
N eliminates each subsequent match from the list of selectable features on the current page.
6. When prompted, specify whether you want to borrow the license for hours or days. Enter
1 for hours, or 1 for days.
(1) hours
(2) days
---------------------------------
Enter borrow unit type (1->2): 1
7. When prompted, enter the number to specify the duration for borrowing the license
Enter the length in hours to borrow: 8
Current setting(s):
Group
In
Out
• In the Local Environment, select a feature in the License features field and click Status.
The Status dialog box displays the number of users and whether the feature is working
properly.
The report data is output to one or more comma-delimited text files, one file for each of the
following:
• Usage data
• Unique users (optional)
• Unique hosts (optional)
On Windows machines with Excel 2007 or higher, the reports open in Excel and include a usage
chart that graphically represents the usage data.
NOTE
Excel cannot handle a file larger than 65,536 lines. If the report is larger, you are prompted to
refine the search to be more exclusive.
Unix users can display the text files in a graphing tool of their choice.
4. Specify the data to be included, the starting and ending dates, and additional options as
required.
For more information, see Create Usage Report in the Uniface DLM Online Help.
5. Click OK to create the reports. The reports open in Excel if a supported version exists on
the machine, or in a text file.
NOTE
If the port@host specified does not have a usage database to report against, a message is
displayed informing the user that the report cannot be created. To quit without creating the
report, click Cancel.
[mm/dd/yy-hh:nn:ss] --Action-Method
tok(TokenId)
cv(VersionInfo)
usr(UserInfo)
app(Application, version)
cnt(n)
or
[mm/dd/yy-hh:nn:ss] --Action-Error
usr(UserInfo)
app(Application, version)
cnt(n)
******Error Reason
Parameters
mm/dd/yy-hh:nn:ss
Time that the transaction occurred.
Action
Indicates whether the available license tokens increased or decreased; one of:
Method
Method used by the end-user to perform the action. This information is provided for
Uniface Support.
tok
License token that this action is attached to.
cv
Version of the License Service that the client is running.
usr
User that requested a license token, usually delimited by the @ symbol. In most cases, an
end user is identified as follows: user_name@host_name@session_identifier.
app
Licensed application or feature and the requested application version.
cnt
Number of tokens that were requested in the transaction. In the case of an IN action, it is
the number of tokens returned.
Where pool-id based errors occur, the user's pool identifier is also listed in the log message,
delimited by the keyword pool.
TIP
If you want the filter to be case-insensitive, select Ignore case.
b. If you want to exclude the lines that include the search terms, select Exclude.
c. Click the Filter Content button to display the filtered results.
If you are unable to solve a problem with Uniface DLM as described in the following topics,
contact Uniface Customer Support. For more information, see Contacting Customer Support
[p. 8].
Error Messages
Code Symptom Cause Resolution
-1 The application that was The license file does not If you have licensed this
requested is not licensed. contain a license for the feature, verify that the
product, component, or license has been received
feature you are attempting and set up.
to use. Verify that the host ID
identified by the license key
matches that of the machine.
The host ID is located under
the <Hostid> or <hostid>
tag of the license key.
Contact Uniface to purchase
a license allowing you to use
this feature.
-3 The requested application Your license does not Ensure that the application
version is newer than the support the version of the version identified in the
version currently authorized. application you are license key is greater than or
attempting to run. equal to the version of the
-6 The System ID that was The application is being run Verify that the machine
authorized for the requested on a machine that has not where the application is
application does not match. been authorized. running is the correct
machine (i.e., the host ID
matches the hostid
identified under the key in
the license file).
Contact Uniface to obtain a
new license with the correct
System ID.
-8 This client has not been The client configuration file Run the Uniface DLM
configured for licensing. has not been created. application. This will create
the client configuration file.
Now add a license source.
For more information, see
Configuring the License
Environment on Windows
[p. 30].
If the problem persists,
record steps to reproduce
and contact Uniface support.
-9 The licensed number of The number of users using Have one or more users log
concurrent users has been the application exceeds the out of the application.
reached; try again later.
-10 A connection could not be This error is usually caused Ensure that the License
established between this by one of the following Service is running.
client and the License reasons: Shutdown and restart
Service. • License Service has not License Service.
been started yet Verify that you are using the
• Wrong server correct license environment.
definition, port@host, If the problem persists,
is being used contact Uniface support.
• Port or hostname has
been specified
incorrectly
-12 The connection between the This error occurs when the Ensure that License Service
client and License Service timeout period allotted for a is still running.
has timed out. connection has expired. Increase the client timeout
This results from one of value from within the
these conditions: Uniface DLM application.
For more information, see
• License Service is
down Advanced Configuration
Tab in the Uniface DLM
• Hostname of License Online Help.
Service has been
Coordinate the timeout value
changed and is not
of the client with the timeout
reflected by the
value on the License
port@host definition
Service; see documentation
in the license path
or contact your license
• the LAN or WAN is administrator.
not fast enough
-13 The connection between the This error can occur if the Verify that connectivity still
client and License Service License Service is stopped exists between License
was prematurely closed. while a client/server Service and the client.
-14 The digital signature for the Internal systems error. Record steps to reproduce
data sent or the data received the error and contact
was invalid and/or garbled. Uniface support.
-15 Could not read socket Internal systems error. Record steps to reproduce
stream. the error and contact
Uniface support.
-16 The application that you The application that you Wait until the transaction
have requested has already have requested has already expires to request another
been borrowed. been borrowed. license or return the license
before trying to borrow it
again.
If you do not have a license
borrowed, contact Uniface
support.
-20 An uncounted license can A license was added to the Remove the uncounted
not be used concurrently. license server that is not a license from the License
concurrent license. Service environment.
Install the license on the
machine that has a matching
hostid.
-22 The maximum number of The number of registered Remove one or more users
registered users has been users in the Options File has from the registration file on
reached; no more users may exceeded the number of the License Service
be registered at this time. allowed users. (drive:\program
files\common
files\Compuware\config\Usrs
).
Restart the License Service.
If this is a frequent problem,
you may want to purchase a
license key with a higher
user capacity, contact
Uniface support.
-23 The start date of the This is a pre-license Wait until the start date has
requested application agreement error. been reached, or contact
precludes the authorized Uniface support.
start date identified in the
corresponding key.
-24 The authorized session limit The user has exceeded the If you frequently exceed the
for this user and the session limit specified in the limit you may want to
requested application has license file. Some license purchase a license key with
been reached. keys limit the number of a higher capacity of
instances of a product that sessions, contact Uniface
can be run under one user support.
account.
-25 The use of a concurrent user A License Service is Verify that the license is for
key as a node-locked, required to support this the current machine.
single-user key is not license. If the license is for the
allowed. current system remove it
from the license
environment and add it
again.
If the license is not for the
current system, install the
license on the system
identified by the hostids in
the license file.
-26 The number of licenses The pool maximum set up Contact your license
allotted to your assigned in the server's configuration administrator.
pool has been exceeded, file has been reached.
contact your system's
administrator.
-27 The application that you are A pool ID has not been Contact your license
attempting to checkout assigned to the end-user administrator to set up this
requires a pool identifier; when one is required. pool ID.
one has not been provided.
-28 The number of licenses All of the licenses allocated Contact your license
allotted by your for borrowing are used. administrator to request
administrator for borrowing more licenses for borrowing.
has been reached.
-29 Invalid key signature, Internal system error. Contact Uniface support.
contact Uniface support.
-30 You have requested more The number of days Contact your license
days than has been available to borrow a license administrator. This is
authorized by your has been exceeded. controlled by the server
administrator. configuration file via the
Uniface DLM application.
-32 Borrow transaction error, Internal system error. Contact Uniface support.
contact Uniface support.
-33 A valid redundant feature Internal system error. Contact Uniface support.
does not have a valid
redundant policy.
-35 Redundant policy has not All of the License Service Make sure that all of the
yet been initialized. on the systems identified bysystems identified in the
the redundant key have not redundant key (see
been started. documentation) have been
Alternatively, a status was started.
performed on one of the Contact Uniface support.
redundant license servers.
-37 One or more features within A feature was not available Use the View log button in
the association could not be for check out because none Uniface DLM to see who is
checked out. are available. using the application or its
subcomponents. Have one
or more users log off the
application or its
subcomponents.
If all of the features are not
available, or you frequently
have problems accessing the
products identified by the
association, you may want
to consider purchasing a
larger capacity license key,
contact Uniface support.
-38 You can not run this An attempt was made to run Do not run
application from within a a node-locked license from single-user/node-locked
remote shell. a remote session. This is not licensed applications from
authorized. within a remote session.
-39 License borrowing requires An attempt was made to Start all redundant license
all redundant servers to be borrow a license without all servers.
running. of the redundant servers
running. This is not
authorized.
-42 The specified license An attempt was made to use Contact Uniface support.
method is not supported on an unsupported license
this platform. method on this platform.
-45 The date on the client is not Correct the client or server
consistent with the date on date.
the License Service; the key
has expired on the client.
-288888 Terminal Services is not With the current license Contact Uniface support.
supported for this license model, a user cannot use this
model or product. product when accessing this
machine via a terminal
service. a terminal service to
access this machine and .
NOTE
If you did not install a concurrent license when Uniface DLM, then the License Service was
not installed.
Depending on the version of Windows you are using, these instructions may vary.
1. Open the Control Panel and choose Administrative Tools ➤ Computer Management
.
2. Double-click the Services entry.
3. Look for the Compuware or Uniface DLMLicense Service and ensure that is running.
Information about the license environment is stored in a configuration file, which is created the
first time a license source is added.
The client and server configuration files are usually created and maintained using the Uniface
DLM Windows application and/or the DLMCV. If preferred, you can manually edit configuration
files.For more information, see Client Configuration File [p. 26] and Server Configuration File
[p. 27].
The following topics describe the configuration parameters found in these files.
Table 8. Parameters
Value Meaning
License Server
In the server environment, if no licenses are defined, the License Service uses the license
repository.
Licenses loaded from the repository are loaded in a sequence based on the last access dates of
the files. This form of license configuration is known as User-Independent License Deployment.
In contrast, User-Dependent License Deployment requires the user to identify the location of
each license source to the License Service via the configuration file.
If changes are detected in the license files defined in the configuration file or the license
repository, the License Service automatically reloads them prior to the next license request.
Changes can include the addition of new license files, the removal of existing license files, or
the modification of existing license files.
The license repository allows users to drag and drop new licenses into a single location for the
License Service to pick up, simplifying the administration of new license files.
port
On the client, this parameter can be used to define a port number, or a range of port numbers,
that is used to receive the data stream from the License Service. On the server, it specifies the
port number that the License Service uses for incoming requests.
Server:
<port>PortNumber</port>
Client:
<port>
<start>PortNumber</start> |
<range>PortNumberRange</range> |
<linger>Integer</linger>
</port>
When a licensed client connects with the License Service to make a license request, it uses the
port number of the License Service's source definition (port@host), to define the outgoing
stream for data sent to the License Service.
The operating system on the client chooses a return port to provide to the License Service with
its outgoing data stream.
Server Environment
In the server environment, the port specifies the port number that the License Service uses for
incoming requests. Clients must include the port number in their license source definition (
port@host).
Client Environment
By default, clients use the first available port to listen for the data stream coming from the
License Service. To make port number assignment more predictable, it is possible to specify a
range of ports. These can be used by the client for the License Service's outgoing data
stream—that is, the client's incoming data stream. This allows firewall administrators to limit
the number of return port openings in their firewall.
start Identifies the first port that is to be tried by the client for the License Service's output
stream. This port number can be the same or different from the port number specified
on the system where the License Service resides.
If the client and the License Service reside on the same system, the starting port number
should be different.
range Specifies the range of ports that will be tried by the client when it attempts to establish
an output stream for the License Service. Hence, a client will try port numbers that
range from start to start+range where start+range should be less than 65535.
If the client and the License Service reside on the same system, the range of port
numbers attempted by the client must not include the port number used by the License
Service.
If a range is not provided, the client will attempt to use the port number that is defined
by the start parameter only.
If the range is provided, it must be a value that is greater than or equal to zero.
linger Controls the length of time that the operating system maintains a TIME_WAIT status
on a previously closed socket. Sockets are used by the TCP/IP layer as streams of
communications between clients and servers.
It is defined as an integer value from -1 to N.
CAUTION
Use only if instructed to do so by Uniface customer support. In most cases, this value
should not be set.
connection_timeout
Number of seconds to keep a non-responding connection open. Default is 10.
<connection_timeout>Seconds</connection_timeout>
Client
If connections between a particular client and server result in frequent timeouts, the end-user
should increase this value.
License Service
Changing to a lower value may cause connection problems for clients. Changing to a higher
value may affect the overall performance of the License Service.
To determine the optimal performance for your particular configuration, you may need to play
around with the value.
nagle_algorithm
When defined, the Nagle Algorithm is used when transmitting data via TCP/IP to Uniface DLM.
<nagle_algorithm/>
By default, this action is disabled. You should contact Uniface support before enabling this
behavior.
It can be defined for both the client and the server environment.
<proxy_server>
<port>PortNumber</port>
</proxy_server>
port
If the License Proxy Service is run on a system that currently supports a license server,
the port number chosen must be different from the port number used by the License
Service. By default port 7199 is used.
borrow_server
Defines a License Service that contains borrow-enables license keys.
server_loading
If more than one license source is defined, instructs the client to split requests for one or more
license tokens across multiple license sources.
<server_loading/>
broadcast_attribute
Defines the letter case used to exchange data between the client and the License Service. This
is useful when dealing with user-managed licenses.
<broadcast_attrib>
<user_case> upper | lower </user_case>
<host_case> upper | lower </host_case>
</broadcast_attrib>
If the value is upper, the client broadcasts user information in upper case, regardless of the
character case returned by the system.
For more information, see User-Manage License Model [p. 18].
pool
Name of a license pool to which a client belongs.
<pool>PoolId</pool>
The pool parameter should only be used if virtual license pools have been created by the license
administrator in the License Service's configuration file.
For more information, see License Pools [p. 22].
{ <nagle_algorithm/>
<max_threads>ThreadCount</max_threads>
<max_log_size>SizeInBytes</max_log_size>
<audit/>
<net_security>AllowedNumberOfFailedTransmissions</net_security>
<new_log_on_start/> }
</server>
</config>
Parameter Description
port [p. 72] On the client, this parameter can be used to define a port number, or
a range of port numbers, that is used to receive the data stream from
the License Service. On the server, it specifies the port number that
the License Service uses for incoming requests.
connection_timeout [p. 73] Number of seconds to keep a non-responding connection open. Default
is 10.
license [p. 71] The license parameter defines a single license source. A configuration
file must have at least one license parameter and it may have more.
nagle_algorithm [p. 73] When defined, the Nagle Algorithm is used when transmitting data
via TCP/IP to Uniface DLM.
net_security [p. 75] Instructs the License Service how to handle dubious or malicious
requests for licenses.
max_threads [p. 77] On Windows only, the maximum number of threads that can be
launched by the License Service at any given time.
net_security
Instructs the License Service how to handle dubious or malicious requests for licenses.
Use one of the following configurations:
• <net_security/>
• <net_security>AllowedNumberOfDenials</net_security>
The License Service’s memory usage is dependent on the number of valid requests that it receives
from its clients.
To prevent denial-of-service attacks designed to overwhelm the License Service, the License
Service can be configured to block transmissions from dubious sources, or to only allow requests
from authorized clients.
A dubious source is an IP address that has sent erroneous data that has resulted in License
Service denying the license request at least 3 times.
If the net_security parameter is present in the configuration file, the License Service will
keep track of systems that have sent erroneous transmissions so that they can be blocked. This
information is stored in a file called elk_security.txt, located in the License Service's
config directory.
When the License Service receives a request from a transmission source that has previously
been identified as having malicious intent, the License Service will close the connection
immediately without committing additional resources to process the message. By default,
only three failed transmissions are allowed per source before the License Service begins blocking
the source.
There are three possible configurations for the net_security option.
<net_security/>
Enables default network security behavior. The License Service blocks transmissions after
three denials.
<net_security>nn </net_security>
If the number of denials before blocking is too large or too small, specify the number of
failed transmissions that can occur from a previously identified system before it is blocked.
elk_security.txt
When elk_security.txt is created by DLM, it contains entries for blocked IP addresses and
records the number of fault transmission received:
IPAddress FaultCount
IPAddress
IP address of the system that delivered the unidentifiable message
FaultCount
Number of times that faulty messages were sent from the identified source.
Entries within the file can be added and removed using a text editor. If you do so, the License
Service must be restarted for changes to take effect.
max_threads
On Windows only, the maximum number of threads that can be launched by the License Service
at any given time.
<max_threads>ThreadCount</max_threads>
On Windows, handler threads are spawned to handle each license request. The number and
frequency at which threads are launched to handle client requests is dependent on the License
Service's work load. Under certain conditions, namely network security, license administrators
may choose to limit the number of threads that can be launched by the License Service at any
given time.
mail_notification
Used to configure the License Service to provide email notifications for license-related issues.
The Simple Mail Transfer Protocol (SMTP) protocol is used.
<mail_notification>
<smtp>SmtpServer</smtp>
<to>EmailAddress1</to>
<to>EmailAddress2</to>
<subject>Subject</subject>
<enabled/>
<on>
<!-- <denied/> -OR- -->
<denied>
<filter>
<keep>host|user|feature</keep>
<discard>host|user|feature</discard>
</filter>
<frequency>FrequencyValue</frequency>
</denied>
<borrowed/>
<security/>
<stop/>
<start/>
<expire>DaysRemaining</expire>
</on>
<mail_notification>
IMPORTANT
If you are using an SMTP server as a relay to the main mail server, you need perform to
the following steps on the relay server:
pools
Defines one or more license pools that can be used to manage concurrent license features.
<pools>
<Application>
<PoolID>MaxTokenCount<PoolIDN>
</Application>
<pools>
Application Name of a license key to which the pool applies. For example, UWCE.
PoolID Name of a license pool. The name usually defines a group or type of
user, such as HR or Admin.
MaxTokenCount Maximum number of license tokens that a pool contains.
pools
For example
<pools>
<USERV>
<HR>10<HR>
<SALES>25</SALES>
</USERV>
<pools>
concurrent
Limits the number of concurrent licenses that can be used for specified applications or features.
<concurrent>
<Application>
<count>MaxTokenCount</count>
</Application>
<ApplicationN>
<count>MaxTokenCount</count>
</ApplicationN>
</concurrent>
</UWCE>
</concurrent>
borrow
Restricts the number of license tokens and the maximum number of days that specified license
keys can be borrowed.
<borrow>
<ApplicationN>
<count>MaxTokenCount</count>
</ApplicationN>
</borrow>
Borrowing Parameters
For each borrow-enabled license key in the application, you can define the following restrictions:
Application
Name of a license key in the license file that contains the Count parameter
count
Number of license tokens that can be used for the application.
<borrow>
<UCLIENT>
<count>10</count>
<max_days>100</max_days>
</UCLIENT>
<UWCE>
<count>10</count>
<max_days>100</max_days>
</UWCE>
</borrow>
user_management
For licenses that are enabled for the user-manage license model, defines who can use application
or feature.
<user_management>
<Application>
<everyone/>
<User> <
</Application>
</user_management>
The system administrator can define the user_management parameter to configure who can
use specific licensed features. This is only possible for license keys that have the Umanage
parameter.
For more information, see User-Manage License Model [p. 18] and License Key Parameters
[p. 83].
user_management
<user-Management>
<UIDE>
<user>ulabglr1</user>
<SALES>ulabbda2</SALES>
</UIDE>
<USERV>
<everyone/>
</USERV>
<user-Management>
<license>
<customer_id>CustomerID</customer_id>
<redundant protected=’SecurityKey’>
<Policy_id> Unique identifier </Policy_id >
<Failsafe_count> Minimum number of servers required</Failsafe_count>
<Initial_state> Total number of redundant systems</Initial_state>
<Failsafe_duration> Maximum number of days a partial state can
occur</Failsafe_duration>
</redundant>
<key protected='SecurityKey'>
<!-- A license key that supports redundany includes a Redundant parameter -->
<Redundant> Policy id </Redundant>
<Parameters> Application-specific parameters </Parameters>
</key>
</license>
As with license key definitions, a security key to prevent content modification protects redundant
objects. Not all keys in a license file that contain a redundant object are necessarily redundant.
Thus, a single License Service can support both redundant and simple-concurrent license keys
at the same time. (Simple-concurrent is any non-redundant concurrent license key.)
This is contrary to other licensing solutions, which can only support redundant or simple
concurrent license keys at any given time.
Glossary
borrow-enabled license
A type of concurrent license model that allows a user to borrow a feature or product up to a
specified number of days.
concurrent license
A license model that allows the product to run on more than one workstation so that multiple
users can access the product. When all available license are checked out, no additional users
can run the product until a license is checked back in.
Synonyms:
network license
floating license
counted license
Any served license that limits the number of licensed clients authorized to run a licensed product
concurrently. The limit is enforced by a combination of the License Service and its clients.
Synonyms:
concurrent license
floating license
DNS
Domain Name System. A database system that translates an IP address into a domain name.
Host ID
Any identifier that uniquely identifies a workstation. For Windows machines, this would be the
Ethernet address of the network interface card or MAC address.
Host Name
A unique name that identifies a computer on a network. A single computer can have several
host names, also called aliases.
license file
An XML file that contains a single license that includes one or more license keys, each of which
corresponds to a specific feature or application.
license key
A sub-component of a license object that defines the extent to which one or more associated
applications or features can run.
Synonyms: license
license object
A definition in a license file that contains one or more license keys.
license server
A single networked node that hosts the License Service.
license service
A service that runs as a background process on a licensed server. It provides a searchable database
of license keys to facilitate the process of networked licensing.
license source
A license file or a reference to a licensed server.
license token
A copy of a valid key that is issued in response to a successful license request. In the case of
counted keys, license tokens are like virtual toll tickets, returned to the License Service when
the licensed product no longer needs it.
licensed client
Any workstation authorized, through a license source, to run one or more Uniface products.
licensed product
A purchased Uniface program, server, feature, or connector that is licensed by a license source.
network license
See Concurrent License.
NIS
Network Information Service. A client-server protocol for keeping track of user and host names
on a network.
node
A single workstation in a network. Networks consist of one or more nodes.
node-locked license
A license model that allows the product to run on a single, specified workstation (node). The
product cannot be used on any other workstation. Permanent, temporary, and trial licenses are
types of node-locked licenses.
Synonyms: single-user license
served key
Any licensed key that is loaded into the License Service database for networked licensing.
server
On a local area network (LAN), a computer running administrative software that controls access
to the network and its resources. In this case, the product licenses and provides resources to
computers functioning as workstations (client machines) on the network.
uncounted key
Any key associated with a Uniface feature or product that places no predetermined limit on the
number of users.