Flexlm License File Format

MATLAB Installation

License

When you install MATLAB® software, the installer performs the following processing of the network license file:

File
  • On the server, the installer:

    • Makes a copy of the network license file named license.dat, and puts this copy in the etc folder of the MATLAB installation folder.

    • Adds a SERVER line and a DAEMON line to the file. The SERVER line identifies the server host and port number. The DAEMON line identifies the name of the network license manager daemon.

    • Stores the processed license file in matlabroot/etc, where matlabroot is the MATLAB installation folder.

    • When it creates an options file during installation, it also adds the Options= syntax to the DAEMON line in your license file. This syntax specifies the path name of the options file.

      For example, if your server is named thunderball and its IP address is 144.212.111.103, the SERVER and DAEMON lines in your license file would look like this:

  • On the client machine, the installer:

    • Creates a copy of the license file you specify named network.lic, and puts the file in the licenses folder in the MATLAB client installation folder.

    • Deletes all the INCREMENT lines and the DAEMON line in the license file, leaving the SERVER line. It also adds the statement USE_SERVER to the file. This line points the client to the network license file on the server, which contains all the passcodes for the products.

  1. B.3 License File Order The order of the lines in a license file is not critical. They are sorted when they are processed so that in most cases the optimal result is achieved. However, pre-v7.0 versions of FLEXlm licensed applications and license servers implicitly impose an ordering to license file lines.
  2. The FlexLM License Manager Daemon (lmgrd) interprets the license file to dispatch license requests to different license vendor daemons. This document is a short account of the format and syntax of the license file, and its effect on licensed applications’ utilization.

Example Of File Format

Chapter 2 The License File. Set LMLICENSEFILE to `port@host', where host and port come from the SERVER line in the license file. Starting with FLEXlm v6. 2.2 License File Format. License files usually begin with a SERVER line (or three lines for redundant servers) followed by one or more DAEMON lines, followed by one or more FEATURE.