DLMInstall
DLMInstall
DLMInstall
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Customer Support Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Uniface DLM: What's New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
The Uniface DLM Installation Guide provides information and procedures to obtain, install,
and configure 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. 5] 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. 9] and
Requesting a License File from Uniface in the Uniface DLM Online
Help.
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.
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.
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 in the
Uniface DLM Online Help.
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>
-->
The licensing process varies based on the Uniface product being installed, your agreement with
Uniface, and the platform on which the Uniface License Service is installed.
On each platform, the basic steps are the same:
1. Install the Uniface DLM on the server where the License Service will run, and on each
Uniface client.
2. Obtain a license file from Uniface and copy it to the Uniface DLM installation for which
it was requested.
3. Start the License Service.
4. On both the license server and each Uniface client, use the appropriate license administration
utility (the Uniface DLM Windows application or DLMCV) to add the license or specify
the License Service that is serving the license.
For advanced configuration, such as configuring redundant license servers and license borrowing,
see the Uniface DLM Online Help.
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 in the Uniface DLM Online Help.
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.
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 in the
Uniface DLM Online Help.
• 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 in the Uniface DLM Online
Help.
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. 18] and
Configuring the License Environment with DLMCV [p. 47].
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
When installing Uniface 9.6.06, Uniface DLM is installed automatically if no other version of
DLM is detected. There is no need to install Uniface DLM if Compuware DLM is already
installed.
For best results, close all programs before installing your Uniface product and the Uniface DLM
components.
1. From installation media, select Install License Server to start the installer.
The installer guides you through the installation process, requesting information and copying
files to the specified location.
NOTE
If the Installer reports the error the msi file is not a valid installation package, use Microsoft's
Fixit program, which can be run from
support2.microsoft.com/mats/program_install_and_uninstall.
2. After the files are copied, click Finish to complete the installation. Reboot the machine, if
required.
3. Start Uniface DLM.
From the Windows Start menu, choose Programs ➤ Uniface ➤ Uniface Distributed
License Management.
The Uniface DLM Windows application is opened to the Local Environment tab.
4. If you don't yet have a license and need to gather the machine information to request one,
click the Show System link in the lower left corner of the application window. For more
information, see Requesting a License File from Uniface in the Uniface DLM Online Help.
5. If you have a license file, or have been given the address of the license server, click Add
to specify the location of the license, then click OK.
For more information, see Configuring the License Environment on Windows [p. 18] and
Configuring the License Service on Windows in the Uniface DLM Online Help.
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 in the Uniface DLM
Online Help.
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.
1. Load the installation media on your system, then change to the mount directory.
For example, if /cdrom is the mount directory, type the following:
cd /cdrom
2. Navigate to the directory on the installation media that contains the Uniface DLM installation
files.
3. Run the install.sh script to install the Uniface DLM components on your system.
For example: install.sh install_bundle {target}
If you do not specify a target, the installation will be placed in /opt/compuware/dlm. If
you specify a directory, the License Service files will be installed directly into the target
directory. Root access may be required to create the directory.
You are notified when the installation is completed.
NOTE
If the installation has a problem creating the directory, you are notified of the error and are
forced to exit.
verifying installtion......
OK
done
<abcwec0@svblhp1-HP-UX> ?
4. Add the installation path to the appropriate environment variable for your system:
• 32 bit: SHLIB_PATH
• 64-bit: LD_LIBRARY
5. If you have received the license file from Uniface, copy it to /target/license.
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. Extract all the files on a Windows PC and transfer the files to an IFS directory on your
iSeries.
a. Use iSeries Navigator (or Client Access) to create a share on the iSeries, or use an
existing share.
b. Map this share as a drive to your Windows PC.
c. Run the self-extracting zip file on the PC, extracting the Uniface distribution into the
iSeries IFS.
d. Make a note of the exact location in the IFS into which you have extracted the Uniface
distribution; you will need it to restore and run the Uniface installer.
NOTE
In the following instructions, this location is assumed to be /dlmsetup, but in a
complete Uniface installation it could be uniface/AS3 ( for IBM i 6.1 and 7.1) or
uniface/AS2 (for i5/OS V5)
b. Restore the AS400INS program and its display file into library QTEMP:
RSTOBJ OBJ(*ALL) SAVLIB(UNIFLIB) DEV(*SAVF)
OBJTYPE(*ALL) SAVF(QTEMP/INSTALL) RSTLIB(QTEMP)
AS400INS is a wizard-like installer that takes you from screen to screen during the
installation process. Press Enter to proceed to the next screen, F12 to go to the previous
screen, or F3 to stop the installer immediately without installing anything.
4. In the Welcome screen, press Enter to continue.
5. Specify the library and IFS directory into which the Uniface DLM product and configuration
files are to be stored.
For example, DLM as the library name and /.dlmsetup for the IFS directory.
6. Select or deselect Uniface DLM components.
Since there is currently only one component to install, press Enter to accept the defaults.
7. Review and confirm the information you have provided thus far.
Press Enter to proceed with installing Uniface DLM.
The DLM programs and service programs are copied into the specified library, and the
Uniface DLM configuration files are copied into the specified IFS directory.
What to Do Next
If you do not have a valid license file yet, you need to request one, providing Uniface with the
host ID (machine serial number) of the iSeries machine.
If you already have a license file, you can configure the license environment. For more
information, see Configuring the License Environment on iSeries [p. 28].
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).
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
• 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.
Directory Description
Directory Description
The IFS directory /.compuware includes the file /.compuware/config.xml, the global client
configuration file. DLM license clients use this if the current user profile does not have a local
configuration file.
Object Description
CPWR *PGM License Service the serves licenses to clients. For more information, see
License Service [p. 13].
DLMCV *PGM License Administration Utility - Command Line Version for configuring
the License Service or client license environment. For more information,
see Uniface DLM Command Line Version (DLMCV) [p. 44].
UMFILTER Usage Database Filter. For more information, see UMFilter in the
Uniface DLM Administrators Guide.
DLM_ROOT *DTAARA Data area containing the IFS path to all server files required or created
by the DLM server.
1. If necessary, run the self-extracting executable and restore the backup save_set.
a. Run the self-extracting executable.
b. Restore the save_set in a temporary directory with the following commands:
create/dir [.dlm]
backup filename /save_set /select=[packages.CCC...] [.dlm...]*.*
where CCC is the compatibility code for the VMS platform such as VI1 or A82.
NOTE
The triple dots are necessary.
If you omit the /select flag, extra directory levels PACKAGES.CCC are created into
which the save_set is extracted.
Obtain a license file from Uniface. The license file is based on your contract and on the machine
where the license will be located. For more information, see Requesting a License File from
Uniface in the Uniface DLM Online Help.
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
For applications that can run on Windows CE mobile devices, Uniface DLM LicenseSync can
be used to transfer licenses to mobile devices.
The mobile implementation supports both single-user and, to a limited extent, concurrent license
models.
For borrow-enabled license keys, the keys must first be borrowed from the License Service.
LicenseSync checks periodically for borrowed keys and automatically imports them for transfer.
Once imported, borrowed keys are selected for synchronization just as normally imported keys
are.
Borrowed keys that are transferred to a device cannot be returned to the desktop computer.
Instead, borrowed transactions are returned directly to the server from which they were initially
borrowed.
NOTE
Borrowing across time zones can affect the actual amount of time your borrowed license is
available for use. The start of the borrowing period is defined by the time zone of the server
from which the license is borrowed.
2. Click Add. The status of the transferred key(s) will change to "On Device" and the
location/device will change to the device name.
3. Select the features to be removed from among the keys with a status of On Device.
Removing a license key from a mobile device
Borrowed keys that are transferred to a device cannot be returned to the hosting computer (the
computer to which the mobile device is attached). Instead, they are returned directly to the
License Service from which they were initially borrowed.
4. Click the Remove button.
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
NOTE
A command line interface is also available. For more information, see Uniface DLM Command
Line Version (DLMCV) [p. 44].)
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.
abbreviated character set (denoted by the uppercase characters) provides access to the menu
item. Menu items are either references to submenus or commands. Clicking the Enter key from
any submenu returns you to the next highest menu level.
When the DLMCV is launched, the Main menu is displayed. It contains two submenus: Client
and License Service. The following figure shows the Main menu.
To launch DLMCV run it from the platform's command line. For example, on OpenVMS run
dlmcv.exe or on Unix, run dlmcv.sh.
---DLMCV Main---
Client
License service
Verify a feature
dlmcv –verify –feat feature_name –vers feature_version
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.
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 in the Uniface DLM Online Help and License
Pools in the Uniface DLM Online Help.
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.