Platform LSF Administration Guide Version 6.2
Chapter 8
Platform LSF Licensing
Administering Platform LSF
177
Viewing and editing the license file
Your LSF license should be a text file (normally named license.dat). Use any text
editor such as
vi or emacs to open a copy of your license file for viewing or editing.
For example,
◆
If you receive your license from Platform as text, you must create a new file and
copy the text into the file.
◆
You might have to modify lines in the license, such as the path in the DAEMON
line when you install a new permanent license.
◆
You might want to check that the license includes the correct features before you
install it.
◆
You might want to merge the contents of the LSF license into a single file that
includes licenses for all applications that use FLEXlm.
If you can, make carriage returns visible, or view the text without word wrap. Although
the lines might wrap when displayed on a screen, make sure each line in the text file has
no extra characters. You can accidentally corrupt your license file if you view it or copy
it from email, and then save it with hidden line breaks.
Do not try to modify lines or fields unless instructed to do so by Platform. You could
corrupt the license. Do not combine demo license lines with permanent license lines.
For more information about LSF license files, see “Format of the demo license file” on
page 168 and “Format of the permanent license file” on page 169.
Location of the LSF license file for a permanent license
For a permanent license, the FLEXlm license daemon lmgrd and the LSF vendor
daemon
lsf_ld must be able to read the LSF license file. You can put the license file
on the license server host, or in a shared directory.
Daemons on the LSF master host do not need any access to the permanent license file.
LSF_LICENSE_FILE parameter
The LSF_LICENSE_FILE parameter in LSF_CONFDIR/lsf.conf points to the LSF
license file.
The installation program
lsfinstall configures the LSF_LICENSE_FILE
parameter automatically for demo licenses only. You must set LSF_LICENSE_FILE
manually if you do either of the following:
◆
Install a permanent license
◆
Install a DEMO or permanent license manually and change the location of the
license file
To configure LSF_LICENSE_FILE, specify the full path name to the license file. A
permanent license file should also be visible to the FLEXlm license server host using
the same path.
For example, after you run
lsfinstall, the default setting is:
LSF_LICENSE_FILE=
/usr/share/lsf/lsf_62/conf/license.dat
LSF_LICENSE_FILE can also be the name of the license server host and the port
number used by
lmgrd in the form port_number@host_name. For example, if
your license file contains the line: