HP Micro Focus Object COBOL/UX Release Notes for Version B.13.35

Chapter 3 49
License Management with FLEXlm and COBOL
FLEXlm Utilities
If a license file is not specified with the -c option, lmdown operates on
the license file specified by the LM_LICENSE_FILE environment
variable. If a LM_LICENSE_FILE environment variable is not found, it
tries to use /usr/local/flexlm/licenses/license.dat. In most
cases, specify the exact location of the license.dat file you want
lmdown to operate on.
You usually only need to shutdown and restart licensing if you have
changed a vendor daemon options file.
IMPORTANT When shutting down redundant servers, there is a one minute delay
before the servers shut down. Never use kill -9 to shut down the
license servers.
IMPORTANT Restricting the use of lmdown and lmremove
Since lmdown shuts down the FLEXlm licensing, thereby removing the
licenses from active processes, it is advisable that the system
administrator restrict its use to license administrators only. This can be
accomplished by starting lmgrd with the -p -2 option. This will cause
lmgrd to allow only a member of the UNIX “lmadmin” group to execute
lmdown, lmremove, or lmreread commands. If the UNIX group
“lmadmin” does not exist, then only a member of group 0 will be allowed
access to these commands. If you want to completely disable the lmdown
and lmremove utilities, start lmgrd with the -x option.
Using lmhostid
This utility can be used to identify the correct hostid value (that must
match the hostid value on SERVER lines in the license.dat file if the
machine is a server) on any machine support by FLEXlm. Its usage is:
lmhostid