Installation Guide for Windows | ![]() ![]() |
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#
The SERVER line identifies the system on which the license manager is running, using the format
SERVER hostname HostID TCP_PortNumber
where
hostname is the name of your license server, i.e., the system on which the license manager is running.
hostID is the host ID of the license server. The host ID in the SERVER line must match the host ID in the comment section of the License File.
TCP_PortNumber specifies the TCP/IP port to use for communication with the license manager daemon. Do not change this number unless you know it conflicts with other software. A valid port number is any unused port number between 0 and 64000. If the TCP/IP port number is not specified, FLEXnet uses a port number in the range 27000 to 27009.
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
vendor is the name of the vendor daemon, MLM for The MathWorks.
vendor_daemon_path is the fully specified path to the daemon executable, for example,
C:\Program Files\MATLAB\R2007a\flexlm\mlm.exe
options=options_file_path is the full path of the options file, such as,
options="C:\Program Files\MATLAB\R2007a\flexlm\MLM.opt"
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.
![]() | License Management | FLEXnet License Management Utilities | ![]() |
© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments