License File Processing on a License Server

When you install the license manager as part of a network installation, the installer processes your License File, adding two lines to the file: the SERVER line and the DAEMON line. These lines provide information about the location of the license server and daemon. The installer puts this processed version of the License File into the matlabroot\flexlm folder.

The following is a sample of a License File after it was processed by the installer during a license server installation. Note the addition of the SERVER and DAEMON lines at the top of the file.

SERVER yourserver INTERNET=144.212.101.43 27000 
DAEMON MLM "C:\Program Files\MATLAB\R2007a\flexlm\mlm.exe" \ 
options="C:\Program Files\MATLAB\R2007a\flexlm\MLM.opt"
# BEGIN-------cut here-------CUT HERE-------BEGIN
# MATLAB license passcode file.
# LicenseNo: 12345           HostID: INTERNET=144.212.101.43
INCREMENT TMW_Archive MLM 17 01-sep-2007 0  \
	BC9DE773A77D15AF8 VENDOR_STRING=83 HOSTID=DEMO SN=12345
INCREMENT MATLAB MLM 17 01-sep-2007 1  \
	4C9D3348561BE9E3B USER_BASED DUP_GROUP=U SN=12345
INCREMENT SIMULINK MLM 17 01-sep-2007 1  \
	1CD148466EF58DF8B USER_BASED DUP_GROUP=U SN=12345
INCREMENT Signal_Toolbox MLM 17 01-sep-2007 1  \
	6CF74B458BA143DC3 USER_BASED DUP_GROUP=U SN=12345
# END---------cut here-------CUT HERE-------END#

SERVER Line

The SERVER line identifies the system on which the license manager is running, using the format

SERVER hostname HostID TCP_PortNumber

where

DAEMON Line

The DAEMON line identifies the name and location of the vendor daemon and the name and location of the FLEXnet options file, using the format

DAEMON vendor vendor_daemon_path options=options_file_path

where

The DAEMON line can optionally specify the port the vendor daemon (mlm.exe) uses. The FLEXnet daemon (lmgrd.exe) and the vendor daemon use separate ports. If no port is specified, the license manager assigns the vendor daemon port dynamically. To specify the port used by the vendor daemon, use the following syntax

DAEMON MLM "C:\Program Files\MATLAB\R2007a\flexlm\mlm.exe" port=#####

where ##### is an open port.


© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments