How do I serve multiple MathWorks licenses from the same network license manager?

141 views (last 30 days)
How do I serve multiple MathWorks licenses from the same network license manager?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Nov 2021 at 5:00
Edited: MathWorks Support Team on 30 Nov 2021 at 14:17
To serve multiple MathWorks licenses from the same network license manager, you need to activate all network licenses to the server’s host ID and combine the contents of the license file into the same file.
Start by activating and installing one of your licenses on the server in question. The MATLAB installer will not accept a combined license file so you need to install the license manager using license file containing a single license. Instructions for this procedure can be found in How do I install or update the Network License Manager?
Once the license manager is running for one license, repeat the activation procedure (but not the installation procedure) for each additional license. Once you have the license file for the additional licenses, stop the license manager and open the license.dat file. By default, the license.dat file is located in the MATLAB installation directory.
Windows:
C:\Program Files\MATLAB\R20XXx\etc\license.dat
Linux:
/usr/local/MATLAB/R20XXx/etc/license.dat
Using a plain text editor, copy the contents of the license.lic file you downloaded from the MathWorks License Center for the second license into the bottom of the license.dat file on the server. Save the file. Repeat this procedure as necessary to add additional licenses. Once each license has been added to the license.dat, start the License Manager.
Concurrent and NNU licenses
The most common scenario for separating two groups of users is serving a Network Concurrent and a Network Named User license from the same server. Please see How do I combine a Network Named User license with a Concurrent license on the same license server? for specific instructions on this setup.
Global Concurrent and Local Concurrent Licenses
If you choose to serve a local concurrent and global concurrent license from the same server, the local license must only be accessed by the users in the specified country.
To restrict usage of the license to users in the appropriate country, create an options file with user groups for each country, and then use asset_info tags to direct users to the appropriate license.
Please contact MathWorks support if you require assistance with separating the users of a Global Concurrent and Local Concurrent Licenses.
  3 Comments

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!