Platform LSF Administrator's Primer Version 6.2
Chapter 4
Working with LSF Licenses
Platform LSF Administrator’s Primer
43
See the lmgrd(8) man page for information about FLEXlm commands.
Multiple license
servers
If you use multiple FLEXlm license servers, start lmgrd on all license servers.
If lmgrd does not
start
If you get the message
port already in use
the license port number defined in LSF_LICENSE_FILE or in
LSF_CONFDIR/license.dat is in use by another application. The default port is
1700.
This could mean:
◆
lmgrd is already running for this license
Use
ps -ef and make sure that lmgrd and lsf_ld are not running.
◆
lmgrd has been stopped and the operating system has not cleared the port
Wait a few minutes for the port to clear.
◆
Another process is using the port
This is not likely, but if so, change the port number in LSF_LICENSE_FILE or in
LSF_CONFDIR/license.dat.
See “Setting the FLEXlm server TCP port in license.dat” on page 44 to change the
port number.
Preparing and installing a permanent license
These steps assume the license server is already running. When you receive your
permanent license:
1
Copy it to a file called license.dat.
If you receive your license by post or FAX, use a text editor to create a
license.dat file.
2
Make sure that the LSF_LICENSE_FILE parameter in
LSF_CONFDIR/lsf.conf specifies the full path to the file license.dat. For
example:
LSF_LICENSE_FILE=/usr/share/lsf/lsf_62/conf/license.dat
The FLEXlm license server must be able to access this file.
3
Edit the DAEMON line in the license file to point to the LSF vendor license
daemon
lsf_ld. The LSF vendor license daemon is installed in
LSF_SERVERDIR.
For example:
DAEMON lsf_ld /usr/share/lsf/lsf_62/6.2/sparc-
sol2/etc/lsf_ld
The FLEXlm license server must be able to access this file.
4
Verify that the FEATURE lines in the license file (LSF_CONFDIR/license.dat)
match the features enabled in the PRODUCTS line in
LSF_CONFDIR/lsf.cluster.cluster_name.
For example, if your license has the following FEATURE lines: