Configure License Scheduler Basic Edition

Configure LSF and License Scheduler Basic Edition.

Configuring License Scheduler Basic Edition and LSF

About this task

Configure LSF to use License Scheduler Basic Edition as a replacement for an elim to collect external load indices where the external resources are licenses managed by FlexNet.

The following example assumes that LSF cluster named cluster1 uses an elim for a license resource named f1.

Procedure

  1. In the LSF environment, disable the existing elim for the license resource by removing the license feature configuration from the lsf.shared and lsf.cluster.cluster_name files.

    For example, remove the configuration for f1 from the lsf.shared and lsf.cluster.cluster_name files.

  2. Configure the lsf.licenscheduler file with the appropriate hosts and the license feature.

    For example, configure the following sections in lsf.licenscheduler:

    Begin Parameters
    PORT=1700
    HOSTS=hostA
    ADMIN=lsadmin
    LM_STAT_INTERVAL=15
    LMSTAT_PATH=/usr/bin
    End Parameters
    
    Begin Clusters
    CLUSTERS
    cluster1
    End Clusters
    
    Begin ServiceDomain
    NAME=LanServer
    LIC_SERVERS=((19999@hostA))
    End ServiceDomain
    
    Begin Feature
    NAME=f1
    CLUSTER_MODE=Y
    CLUSTER_DISTRIBUTION=LanServer(cluster1)
    End Feature
  3. Start License Scheduler and LSF.

    For more details, refer to Start License Scheduler.

What to do next

From LSF, use bsub to submit a job without a duration requesting the f1 resource. For example,

bsub -R "rusage[f1=1]" myjob -f "f1 1" -c 19999@hostA -t 20000

Upgrading from License Scheduler Basic Edition to Standard Edition

About this task

If you use License Scheduler Basic Edition and wish to upgrade to License Scheduler Standard Edition, obtain the License Scheduler entitlement file, then upgrade License Scheduler as follows:

Procedure

  1. Copy the License Scheduler entitlement file (ls.entitlement) to the LSF_ENVDIR directory.
  2. Restart License Scheduler.

    bladmin reconfig

  3. Restart the mbatchd on the LSF master host.

    badmin mbdrestart

Supported parameters for License Scheduler Basic Edition

The following is a list of specific lsf.licensescheduler parameters that License Scheduler Basic Edition supports:

  • Parameters section:
    • ADMIN
    • CLUSTER_MODE (License Scheduler Basic Edition only supports CLUSTER_MODE=Y)
    • HEARTBEAT_INTERVAL
    • HEARTBEAT_TIMEOUT
    • HOSTS
    • LIB_CONNTIMEOUT
    • LIB_RECVTIMEOUT
    • LM_STAT_INTERVAL
    • LM_STAT_TIMEOUT
    • LMSTAT_PATH
    • LOG_EVENT
    • LOG_INTERVAL
    • LS_DEBUG_BLC
    • LS_DEBUG_BLD
    • LS_DEBUG_CMD
    • LS_LOG_MASK
    • LS_MAX_STREAM_FILE_NUMBER
    • LS_MAX_STREAM_SIZE
    • LS_STREAM_SIZE
    • LS_STREAM_FILE
    • MBD_HEARTBEAT_INTERVAL
    • MBD_REFRESH_INTERVAL
    • STANDBY_CONNTIMEOUT
    • BLC_HEARTBEAT_FACTOR
  • Clusters section:
    • CLUSTERS (one cluster only, License Scheduler Basic Edition ignores additional clusters)
  • ServiceDomain section (one ServiceDomain section per license feature only, License Scheduler Basic Edition ignores additional ServiceDomain sections in the same license feature):
    • NAME
    • LIC_SERVERS
    • LM_STAT_INTERVAL
    • LM_STAT_TIMEOUT
    • LIC_COLLECTOR
  • Feature section:
    • NAME
    • CLUSTER_MODE (Optional. This parameter may be specified in the Parameters section instead, but License Scheduler Basic Edition only supports CLUSTER_MODE=Y)
    • FLEX_NAME (Optional. License Scheduler Basic Edition does not support the specification of multiple FlexNet feature names to combine into a single alias)
    • CLUSTER_DISTRIBUTION (License Scheduler Basic Edition supports a single cluster with a single service domain only, and ignores any additional clusters or service domains).
    • LIC_COLLECTOR
Tip: A specific lsf.licensescheduler configuration template for License Scheduler Basic Edition is available and contains specifications for all supported parameters. This file is named lsf.licensescheduler.basic and is included in the License Scheduler installation package. License Scheduler uses the Standard Edition configuration file by default, but License Scheduler Basic Edition ignores unsupported Standard Edition parameters with a warning message. To ensure that License Scheduler Basic Edition uses only supported parameters and to prevent the logging of the warning messages, back up the lsf.licensescheduler configuration file, then move the lsf.licensescheduler.basic file to the $LSF_ENVDIR directory and rename it to lsf.licensescheduler.