Install a permanent license for the first time

If you are switching from a demo license to a permanent license, follow these instructions to set up the permanent license. You can discard the old demo license; LSF cannot use both licenses at the same time.

  1. Acquire your permanent license.
  2. When you receive your license file, save it as license.dat.
  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 (defined in lsf.conf or set in your environment). For example:

    DAEMON lsf_ld /usr/share/lsf/cluster_name/8.0/etc/lsf_ld

    The lsf_ld binary should be available to the FlexNet server using this path.

  4. Verify that the LSF products enabled by the PRODUCTS line in LSF_CONFDIR/lsf.cluster.cluster_name are licensed by features in the license file.

    For example, if the PRODUCTS line contains:

    PRODUCTS=LSF_Make LSF_MultiCluster 

    then your license must include FEATURE lines such as:

    FEATURE lsf_make lsf_ld 8.000 1-jun-0000 10 DCF7C3D92A5471A12345 "Platform"
    FEATURE lsf_multicluster lsf_ld 8.000 1-jun-0000 10 4CF7D37944B023A12345 "Platform"

    If you do not have licenses for some products in the PRODUCTS line, contact Platform Computing or your Platform LSF vendor. To continue installing your permanent license, remove the unlicensed products from the PRODUCTS line.

  5. Make sure the file is in a location where it can be accessed by the license server daemons.
  6. Set the LSF_LICENSE_FILE parameter to point to your license file.
  7. Start the license server daemon.
  8. To allow the new permanent license to take effect, reconfigure the cluster:
    lsadmin reconfig
    badmin mbdrestart
  9. After the cluster starts, use the following commands to make sure LSF is up and running:
    lsid
    bhosts