License Management (MATLAB Installation Guide for Unix)
MATLAB Installation Guide for Unix
License File
A License File is an ASCII text file, named license.dat, that contains a set of valid license passcodes. When you purchase MATLAB or other products, The MathWorks sends you license information in an e-mail or fax. You must create a License File containing this license information. (For more information, see Creating a License File.)
The following is an example of a user-created license.dat file.
# MATLAB license passcode file for use with FLEXlm 6.1g
# LicenseNo: 123 HostID:170a3472
INCREMENT TMW_Archive MLM 12 01-jun-2001 0 EC2889409F00E6230A02 \
VENDOR_STRING="3" HOSTID=DEMO SN=123
INCREMENT MATLAB MLM 12 01-jun-2001 1 CC98B9F0B9B5A75B38BC \
DUP_GROUP=UH SN=123
INCREMENT SIMULINK MLM 12 01-jun-2001 1 BCE8A9C0759F3C0FB744 \
DUP_GROUP=UH SN=123
# END---------cut here-------CUT HERE-------END
Each INCREMENT line has the form
INCREMENT product vendor-daemon major-release expir-date users
encrypted-passcode license-num
The INCREMENT line containing the TMW_Archive identifies the products you are licensed to install.
Note
In previous releases, The MathWorks used FEATURE lines to encode license passcode information in License Files. INCREMENT lines perform the same function as FEATURE lines.
License File Processing
During installation, the installer processes the License File, adding information about the name, location, and port number of the license manager daemon. The installer moves the processed License File into the $MATLAB/etc directory.
The following is a sample of a processed License File.
# MATLAB license passcode file for use with FLEXlm 6.1g
# LicenseNo: 123 HostID: 170a3472
SERVER myserver 170a3472 27000
DAEMON MLM /usr/local/matlab6p1/etc/lm_matlab
INCREMENT TMW_Archive MLM 12 01-jun-2001 0 EC2889409F00E6230A02 \
VENDOR_STRING="3" HOSTID=DEMO SN=123
INCREMENT MATLAB MLM 12 01-jun-2001 1 CC98B9F0B9B5A75B38BC \
DUP_GROUP=UH SN=123
INCREMENT SIMULINK MLM 12 01-jun-2001 1 BCE8A9C0759F3C0FB744 \
DUP_GROUP=UH SN=123
# END---------cut here-------CUT HERE-------END
Note the addition of the SERVER and DAEMON lines in the License File.
The SERVER line has the form
SERVER hostname hostid TCP_PortNumber
where hostname and hostid identify the system on which the license manager daemon is running and TCP_PortNumber specifies the TCP/IP port number used to connect to license manager daemon.
Note
The hostid in the comment portion of the License File must match the hostid in the SERVER line.
If the port number assigned to the server conflicts with a port number used by other software, you can edit the SERVER line to change the number. You can use any port number; however, to run the daemons from a nonroot account, the port number must be greater than 1024. FLEXlm recommends using a port number in the range 27000 to 27009.
The DAEMON line identifies the name and location of the vendor daemon (MLM).
DAEMON MLM /usr/local/matlab6p1/etc/lm_matlab
In user-based licenses, the DAEMON line also contains the path of the license options file.
Applications Specifying the Location of the License File
Wyszukiwarka
Podobne podstrony:
chap2chap2 l3chap2 l8L6 2l6chap2L6 newL6 Kinematyka 2Day 1 L6 Central nervous systemchap2chap2chap2 l2chap2 l7L6 Kreskowanie, szyk (SŁUP S 1)1 3 m2 L6więcej podobnych podstron