Command Line Setup

An advanced user may want to use the command line to setup LicManager. All necessary files are in the directory licmon.swd/licmgr and the utility to use is called ftlm_licmgr_init.

The utility ftlm_licmgr_init can be used to initialize the license management subsystem from the command line. Here is its usage:

ftlm_licmgr_init: Usage Message

DESCRIPTION:
    Initialize the licmgr/current directory for LicenseMonitor.
    This is the directory where copies of the active licenses
    are stored.
    This script is normally called automatically by ftlm_licmgr.cgi.

OPTIONS:
    -tag TAG     -- Only update for specified tag
    -cm          -- Initialize the code management system.
    -templates   -- Initialize the templates for each known tag
    -reread      -- Reread configuration files.
    -v           -- Increase verbosity
    -h           -- This help message

EXAMPLES:
    % ftlm_licmgr_init -cm
    % ftlm_licmgr_init -templates
    % ftlm_licmgr_init -templates -tag MGC
The common sequence to initialize the system is the following:
  • Initialize CVS.
    % ftlm_licmgr_init -initcvs

    This step may fail if CVS is not available on your Monitor server machine.

  • Create the initial templates.
    % ftlm_licmgr_init -templates
  • Edit the templates to activate them. This is mostly done manually, since a lot of the information required to start and stop the daemons is not automatically retrievable from lmstat.
    % ftlm_licmgr_init -f
  • Create the jobs in the system. This step needs to be repeated each time the configuration files are changed.