How do I combine a Network Named User license with a Concurrent license on the same license server?

105 views (last 30 days)
I would like to combine a NNU with a Concurrent license, in order to allow the specified users access to the Concurrent toolboxes. How do I combine a Network Named User (NNU) license with a Concurrent license on the same license server?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 8 Apr 2024 at 0:00
Edited: MathWorks Support Team on 8 Apr 2024 at 15:58
The process of combining an NNU license with a Concurrent license involves four steps:
1) Combine the contents of both license.lic files into one license.dat file on the license server.
2) Configure options file using the "asset_info=" tag to specify the correct NNU license number for each INCLUDE line
3) Prevent NNU license users from checking out Concurrent seats for products already covered by their NNU licenses
4) Ensure all clients are activated to check out licenses from the correct license server
NOTE: Product dependencies must be met on a single license. For example, if toolbox B requires toolbox A, then toolbox A must exist on the same license as toolbox B.

1) Combine the contents of both license.lic files into one license.dat file on the license server

Verify that both license files were generated for the correct Host ID of the license server.
If the license files were generated for different Host IDs, you will need to generate a new license file with the correct Host ID.
For instructions, see:
How do I transfer a Concurrent or Network Named User license to a new server?
Once both licenses are generated to the same Host ID, combine both licenses into one license file.
NOTE: Do not use WordPad, and do not save files in Rich Text Format. Instead, use Notepad or Notepad++ and save files as plain text with a file extension .dat or .lic.
The SERVER and DAEMON lines are added to the top of the license.dat file during installation of the network license manager using the MATLAB installer. If you are installing the license manager using the binaries, you must add the SERVER and DAEMON lines manually. 
For instructions, please see the following support article:
Why do I receive License Manager Error -13?
Network Named User licenses require an options file. You must specify the path to the options file at the end of the DAEMON line.
Example for Windows:
DAEMON MLM "C:\Program Files\MATLAB\R2024a\etc\win64\MLM.exe" options="C:\Program Files\MATLAB\R2024a\etc\win64\MLM.opt"
Example for Linux:
DAEMON MLM /usr/local/MATLAB/R2024a/etc/glnxa64/MLM options=/usr/local/MATLAB/R2024a/etc/glnxa64/MLM.opt

2) Configure options file using the "asset_info=" tag to specify the correct NNU license number for each INCLUDE line

Since there may be duplicate INCREMENT lines in the concatenated license file for some products, you must use the ":asset_info=" tag to specify the license number for all "INCLUDE" and "EXCLUDE" lines in your options file.
In this example, two users are included on NNU license "123456" for MATLAB and the Signal Processing Toolbox, and excluded from checking out those specific products from Concurrent license "567890":
GROUPCASEINSENSITIVE ON
GROUP my_NNU_users jsmith jdoe 
INCLUDE MATLAB:asset_info=123456 GROUP my_NNU_users
INCLUDE Signal_Toolbox:asset_info=123456 GROUP my_NNU_users
EXCLUDE MATLAB:asset_info=567890 GROUP my_NNU_users
EXCLUDE Signal_Toolbox:asset_info=567890 GROUP my_NNU_users

 

3) Prevent NNU license users from checking out Concurrent seats for products already covered by their NNU licenses

There are two configurations that work to achieve this goal. The first method is to exclude NNU users from the products on the Concurrent license that they already have access to via their NNU license using EXCLUDE lines in the options file similar to the example above.
The other method is to modify the license file to force the license manager to check out NNU seats prior to Concurrent seats sequentially. This method allows you to simplify your options file and forgo using any "EXCLUDE" lines.
To do this, append the tag "sort=99" to all NNU INCREMENT lines in the combined license.dat file to give them higher priority than the Concurrent INCREMENT lines.
For more information, see:
How do I force the MATLAB license manager to distribute the keys of a concatenated license file in a particular order using the SORT tag?
Once you have made changes to the license and options file, restart the network license manager to enact these changes.

4) Ensure all MATLAB clients are activated to check out licenses from the correct license server

You can activate MATLAB on the client machines as you would normally, and users will be able to check out either the Network Named User license or the Concurrent license or some combination of both depending on how you configured your options file.
For more information, see:
How do I install MATLAB, or other MathWorks products, on a client computer for a network license?
If you had two license servers before and you are consolidating licenses onto one server, you will have to migrate some of your MATLAB clients to use the correct license server.
For more information, see:
How do I migrate my MATLAB clients to a new license server when the license server changes?
If you need assistance, please contact Installation and Licensing support:
NOTE: When creating a service request, please send your concatenated license file, options file, and the error message from the client.

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

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!