Start LSF License Scheduler

You can configure LSF to start the License Scheduler daemon (bld) on the License Scheduler host as well as on candidate License Scheduler hosts that can take over license distribution in the case of a network failure. The LSF LIM daemon starts bld automatically.

  1. Log on as the primary LSF administrator.
  2. Set your LSF environment:
    • For csh or tcsh:

    % source LSF_TOP/conf/cshrc.lsf

    • For sh, ksh, or bash:

      $ . LSF_TOP/conf/profile.lsf

  3. In LSF_CONFDIR/lsf.conf, specify a space-separated list of hosts for the LSF_LIC_SCHED_HOSTS parameters:

    LSF_LIC_SCHED_HOSTS="hostname_1 hostname_2 ... hostname_n"

    Where:

    hostname_1, hostname_2, ..., hostname_n are hosts on which the LSF LIM daemon starts the LSF License Scheduler daemon. The order of the host names is ignored.

    Note:

    Set the LSF_LIC_SCHED_HOSTS parameter to the same list of candidate hosts you used in the lsf.licensescheduler HOSTS parameter. The LSF_LIC_SCHED_HOSTS parameter is not used in any other function.

  4. Run lsadmin reconfig to reconfigure the LIM.
  5. Use ps -ef to make sure that bld is running on the candidate hosts.
  6. Run badmin mbdrestart to restart mbatchd.

Start LSF License Scheduler standalone

To start LSF License Scheduler standalone, run blstartup.

Verify your configuration.
  1. Use blinfo ‑D to see the FLEXnet license server hosts in the service domains:

    blinfo -D

    SERVICE_DOMAIN LIC_SERVERS

    DesignCenterA (1700@hostA)

  2. Use blstat to make sure License Scheduler is collecting data from FLEXnet, and to see license usage and distribution information. Check the TOTAL line for non zero values:

    blstat

    FEATURE: vcsruntime

    SERVICE_DOMAIN: DesignCenterA

    TOTAL_INUSE: 2 TOTAL_RESERVE: 1 TOTAL_FREE: 13 OTHERS:1

    PROJECT SHARE INUSE RESERVE FREE DEMAND

    projectA 60.0 % 0 1 9 n

    projectB 40.0 % 2 0 4 y

  3. Use bhosts -s to verify that LSF and License Scheduler are communicating. The bhosts -s output shows the features configured in License Scheduler as LSF resources:

    bhosts -s

    RESOURCE TOTAL RESERVED LOCATION

    p1_f1 4.0 0.0 hostA

    hostB

    hostF

    p1_f2 4.0 0.0 hostA

    hostB

    hostG