LSF_LICENSE_FILE

Syntax

LSF_LICENSE_FILE="file_name ... | port_number@host_name[:port_number@host_name ...]"

Description

Specifies one or more demo or FlexNet permanent license files used by LSF.

The value for LSF_LICENSE_FILE can be either of the following:
  • The full path name to the license file.

    • UNIX example:
      LSF_LICENSE_FILE=/usr/share/lsf/cluster1/conf/license.dat
    • Windows examples:

      LSF_LICENSE_FILE= C:\licenses\license.dat

      LSF_LICENSE_FILE=\\HostA\licenses\license.dat

  • For a permanent license, the name of the license server host and TCP port number used by the lmgrd daemon, in the format port@host_name. For example:

    LSF_LICENSE_FILE="1700@hostD"
  • For a license with redundant servers, use a comma (,) to separate each port@host_name or configure the full path of the license file. The port number must be the same as that specified in the SERVER line of the license file. For example:

    UNIX:
    LSF_LICENSE_FILE="port@hostA,port@hostB,port@hostC"
    Windows:
    LSF_LICENSE_FILE="port@hostA,port@hostB,port@hostC"
  • For a license with distributed servers, use a pipe to separate the port@host_names. The port number must be the same as that specified in the SERVER line of the license file. For example:

    LSF_LICENSE_FILE="port@hostA|port@hostB|port@hostC"

Multiple license files should be quoted and must be separated by a pipe character (|).

Windows example:
LSF_LICENSE_FILE="C:\licenses\lic1|C:\licenses\lic2|D:\mydir\lic3"

Multiple files may be kept in the same directory, but each one must reference a different license server. When checking out a license, LSF searches the servers in the order in which they are listed, so it checks the second server when there are no more licenses available from the first server.

If this parameter is not defined, LSF assumes the default location.

Default

The default licence installation directory is the value of the parameter LSF_CONFDIR or LSF_ENVDIR in lsf.conf.

Demo license: The default demo licence installation directory is /usr/local/flexlm/.