You submit a job to a license project that requires a specific license.
You submit a second higher priority job that requires this license. No licenses are free.
You suspend the first job to release the license it is using.
The second job starts but fails because it cannot obtain the required license.
Solution: Suspend the job with bkill -s TSTP. This sends a SIGTSTP signal to the job, suspends the job, and releases the license that the job was using.
You configured new license features in the License Scheduler configuration file, lsf.licensescheduler.
You reconfigured the License Scheduler daemon (bld) with bladmin reconfig all.
You submit a job that requires the new feature you configured. For example:
LSF does not recognize the feature name and you receive the following error:
Solution: Run badmin reconfig to reconfigure mbatchd if you have added new features to lsf.licensescheduler. You must reconfigure mbatchd after you install License Scheduler and configure your license features. You must also reconfigure mbatchd each time you add a new license feature. LSF treats license tokens as LSF resources, and mbatchd must be reconfigured to recognize the resources if they change.
The License Scheduler daemon (bld) keeps a local backup database of all the license tokens in LSB_SHAREDIR/cluster_name/log_dir/lsb.tokens. This backup file provides redundancy for License Scheduler when it runs in a WAN configuration.
mbatchd can still read this file after you shut down bld.
If you do not want mbatchd to recognize the license token names, you can remove the backup file and reconfigure mbatchd by running badmin reconfig.
Normally, license token names should be the same as the FLEXnet feature names, as they represent the same license. However, LSF does not support names that start with a number, or names containing a dash or hyphen character (-), which may be used in the FLEXnet feature name.
Solution: Set both NAME and FLEX_NAME in the Features section of lsf.licensescheduler. FLEX_NAME is the actual FLEXnet feature name, and NAME is an arbitrary license token name you choose that does not start with a number or contain a dash.
You edit the LSF_CONFDIR/lsf.conf file to include a list of hosts for the LSF_LIC_SCHED_HOSTS parameter.
You use ps -efl | grep bld to make sure that bld is running on the candidate hosts, but find that bld is not running on the server_name host.
You view the bld.log.server_name file and see the following error message:
globInit(): cannot initialize the listening TCP -2 channel Address already in use
Explanation: Normally, the LSF LIM daemon starts the License Scheduler daemon (bld) automatically on startup. If you already started bld manually, the LSF LIM daemon still tries to start bld, but the port used by bld is already open.
Solution: Run bladmin shutdown to shut down License Scheduler. The LSF LIM starts bld automatically. Run badmin reconfig to reconfigure mbatchd.
Reason: When scheduling a job that requests license resources, mbatchd sends a request to bld to reserve the requested licenses for the job. This will take some time. During this time, the requested license resources are not available and mbschd sets the pending reason.
Solution: Wait a few moments for mbatchd to get the license resource and passed it to mbschd, and run bjobs again to see the correct pending reason.
Reason: The master host does not recognise your Windows client when you try to issue LSF License Scheduler commands to bld because you did not specify your Windows client host name and IP address in the /etc/hosts file on the master host.
Solution: Add your Windows client host name and IP address to the /etc/hosts file on the master host.