User`s guide
Appendix C:License Manager Commands
146 - ScanShop User’s Guide
Overview
Publicly distributed versions of Vividata products use FLEXlm as the license
manager. This section will describe the usage of FLEXlm as it pertains to
Vividata products, including determining the lmhostid necessary for license keys
to be issued, diagnosing the license keys and license server, and additional
configuration information.
FLEXlm Utilities
You will find the various FLEXlm utilities discussed below in the
$VV_HOME/bin directory after you have installed a Vividata product containing
the VVlicense package. This set of utilities currently includes lmutil and six links
to this file: lmdiag, lmdown, lmhostid, lmremove, lmreread, and lmstat. The
license daemons, found in the same directory, are lmgrd and vv_d2.
The License Daemon
There are two license daemons required for a FLEXlm server to operate properly.
The first daemon is lmgrd, which is the main FLEXlm daemon. The second is
vv_d2, a vendor daemon for Vividata products. The user will not need to launch
vv_d2; it is launched automatically when lmgrd is launched. When Vividata
products are first installed, lmgrd is automatically started, and appropriate files
in /etc are modified so that lmgrd is launched when the system boots. If for some
reason the license daemon needs to be stopped, the “lmdown” utility (described
below) should be used to stop the program gracefully.
LM_LICENSE_FILE environment variable
The LM_LICENSE_FILE environment variable tells Vividata products where to
look for the FLEXlm license file. The default location searched is
$VV_HOME/config/license.dat, but if for some reason you need to use a
different file, set LM_LICENSE_FILE to the full path of the license file. For
example, in csh:
% setenv LM_LICENSE_FILE <full_path>