Platform LSF Administrator's Primer Version 6.2

Setting up a Permanent LSF License
Platform LSF Administrator’s Primer
44
FEATURE lsf_base lsf_ld 6.200 1-jun-0000 10 DCF7C3D92A5471A12345 "Platform"
FEATURE lsf_manager lsf_ld 6.200 1-jun-0000 10 4CF7D37944B023A12345 "Platform"
the PRODUCTS line in LSF_CONFDIR/lsf.cluster.cluster_name must
contain:
PRODUCTS=LSF_Base LSF_Manager
If your do not have licenses for some features in the PRODUCTS line, contact
Platform at
license@platform.com or your LSF vendor. To continue installing
your permanent license, remove the unlicensed features from the PRODUCTS line.
5
To make the new permanent license take effect and reconfigure the cluster with the
commands:
lsadmin reconfig
badmin reconfig
6
After the cluster starts, use lsid and bhosts to make sure LSF is up and running.
Setting the FLEXlm
server TCP port in
license.dat
The default port set by FLEXlm is 1700. If this port is already in use by another
application, choose an unused port number for the TCP port number that the FLEXlm
server uses. If the
lmgrd daemon complains that the license server port is in use, you
can choose another port number.
For example, if your license file contains the line:
SERVER hosta 68044d20 1700
and you want your FLEXlm server to use TCP port 3883, change the SERVER line to:
SERVER hosta 68044d20 3883
After changing the license file, use the lmreread command to reread the license file.
For example:
% lmreread -c /usr/share/lsf/lsf_62/conf/license.dat -l
/usr/share/lsf/lsf_62/log/license.log
The lmreread command is in LSF_SERVERDIR. For example:
/usr/share/lsf/lsf_62/6.2/sparc-sol2/etc/lmreread
Checking the license status (lmstat)
If you are using a permanent LSF license, check the license server by starting the license
manager daemon and displaying the status with the
lmstat command.
The
lmstat command is in LSF_SERVERDIR. For example:
/usr/share/lsf/lsf_62/6.2/sparc-sol2/etc/lmstat
If you are using a DEMO license, you do not have to perform this check because a
DEMO license does not run a license server daemon.
lmstat
After starting the license server, use the lmstat command to check its status and
display the number of licenses available. You must use the
-c option of lmstat to
specify the path to the LSF license file.
The output of
lmstat gives the status of:
The license server (lmgrd)
The LSF vendor daemon (lsf_ld)
The number of available licenses for each feature in the license file