Installation Guide for Windows |
Configuring Redundant License Servers
If a large number of licenses are governed by a single license server, failure of the server become a serious problem. To prevent problems, you may want to set up redundant servers so that, if one server goes down, the license manager can still function.
In the redundant server configuration, three systems are designated to be license servers. All three systems must be running at the time the license manager is started. However, once the license manager is running, only two systems need to be running at any time; this is called a quorum. Once the daemons are up and connected on all three machines, only two machines are needed for a quorum; the loss of any one machine will not cause any licenses to be revoked
Setting up a Redundant Installation
Perform these steps to configure a redundant installation:
# BEGIN-------cut here-------CUT HERE-------BEGIN # MATLAB license passcode file for use with FLEXlm. # LicenseNo: 12345 HostID: 00034660893e # HostID: 00053327865e # HostID: 00470635883e INCREMENT TMW_Archive MLM 14 01-jan-0000 0 8D50540DG9BCDD33692C \ VENDOR_STRING="b" HOSTID=DEMO SN=12345 INCREMENT MATLAB MLM 14 01-jan-0000 10 DE40F3ADB9CC7490132D \ DUP_GROUP=UH SN=12345 INCREMENT SIMULINK MLM 14 01-jan-0000 10 7D20159D87373CBCA3E0 \ DUP_GROUP=UH SN=12345 INCREMENT Identification_Toolbox MLM 14 01-jan-0000 10 \ 5DC0F5FD10FDEB2F830B DUP_GROUP=UH SN=12345 # END---------cut here-------CUT HERE-------END
SERVER
and DAEMON
lines. For example, on the system named pooh
, the processed License File might contain these lines.
$MATLAB/etc/license.dat
, on each server, so that each License File contains SERVER
lines for all three license servers. During an installation, the installer only adds one SERVER
line to the License File. Do not copy the DAEMON
lines; the License Files should contain only one DAEMON
line. Note in the following example that the License File contains three SERVER
lines and one DAEMON
line.
# BEGIN-------cut here-------CUT HERE-------BEGIN # MATLAB license passcode file for use with FLEXlm. # LicenseNo: 12345 HostID: 00034660893e # HostID: 00053327865e # HostID: 00470635883e SERVER pooh 00034660893e 27000 SERVER piglet 00053327865e 27000 SERVER rabbit 00470635883e 27000 DAEMON MLM /usr/local/matlab7/etc/lm_matlab INCREMENT TMW_Archive MLM 14 01-jan-0000 0 8D50540DG9BCDD33692C \ VENDOR_STRING="b" HOSTID=DEMO SN=12345 INCREMENT MATLAB MLM 14 01-jan-0000 10 DE40F3ADB9CC7490132D \ DUP_GROUP=UH SN=12345 INCREMENT SIMULINK MLM 14 01-jan-0000 10 7D20159D87373CBCA3E0 \ DUP_GROUP=UH SN=12345 INCREMENT Identification_Toolbox MLM 14 01-jan-0000 10 \ 5DC0F5FD10FDEB2F830B DUP_GROUP=UH SN=12345 # END---------cut here-------CUT HERE-------END
$MATLAB\flexlm
folder on all of the systems in the redundant configuration.
MLM_LICENSE_FILE
on each
client system. FLEXlm reads this environment variable to determine which
License Files to use. On client systems, specify the hostname and port for all
the servers in the redundant configuration. Use a semicolon to separate the
names. For example,
Alternatively, you can specify the License files when you start MATLAB on
a client, using the -c
option with the matlab
command. To do this, right-click
on the MATLAB icon on the desktop and choose Properties. In the Target
field of the Properties dialog box, add the -c
option to the command. For
example,
Running MATLAB with Other FLEXlm Applications | Running the Installer Noninteractively |