MATLAB Distributed Computing Server Licensing Guide
Licensing Guide - MathWorks
Licensing Guide - MathWorks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Prepare On-Site Cluster for MathWorks Hosted License Manager<br />
FlexNetRoot/etc/license.dat<br />
(Your license file name and location might vary.)<br />
2 In the file, locate and remove the entry that begins with the text:<br />
INCREMENT <strong>MATLAB</strong>_Distrib_Comp_Engine ...<br />
The entry might span more than one line in the file. Remove the entire entry and<br />
save the file.<br />
3 Restart FlexNet for the changes to take effect.<br />
FlexNet utilities such as lmstat can verify that only the proper products are licensed.<br />
Step 3a: Modify License Parameters in Definitions File (MJS Only)<br />
The mdce process uses its parameter definitions file to control the behavior of the<br />
<strong>MATLAB</strong> job scheduler (MJS) and workers. Where matlabroot indicates the folder of<br />
the cluster <strong>MATLAB</strong> installation, the definitions file is located at:<br />
matlabroot/toolbox/distcomp/bin/mdce_def.sh (UNIX)<br />
matlabroot\toolbox\distcomp\bin\mdce_def.bat (Windows)<br />
• When using MathWorks hosted license manager, modify the mdce_def file to set the<br />
online licensing parameter value to true.<br />
For R2012b or earlier, the line should read as either one of the following:<br />
ONLINE_LICENSE_MANAGEMENT="true" (UNIX)<br />
set ONLINE_LICENSE_MANAGEMENT=true (Windows)<br />
For R2013a or later, the line should read as either one of the following:<br />
USE_MATHWORKS_HOSTED_LICENSE_MANAGER="true" (UNIX)<br />
set USE_MATHWORKS_HOSTED_LICENSE_MANAGER=true (Windows)<br />
The USE_MATHWORKS_HOSTED_LICENSE_MANAGER parameter automatically releases<br />
licenses when workers are idle. By releasing licenses during idle times, other ondemand<br />
workers can use these licenses, as needed.<br />
With the new settings in the mdce_def file, restart the cluster resources (MJS and<br />
workers) in the usual manner as described in the installation and configuration sections<br />
of the <strong>MATLAB</strong> <strong>Distributed</strong> <strong>Computing</strong> <strong>Server</strong> documentation.<br />
1-7