How do I install the Network License Manager?

2,036 views (last 30 days)
I have a network license and I would like to know how to install the license manager software and the MathWorks license file on my license server.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 2 Sep 2022
Edited: MathWorks Support Team on 2 Sep 2022
To Install the Network License Manager, you must first activate and obtain the license file then install the license manager software using the product Installer or manually install using the license manager binaries.
The following instructions are for:
  • Activating the network license and obtaining the license file
  • Installing the license manager with the product Installer
  • Manually installing the license manager using the binaries
  • Installing products (i.e. MATLAB) on client machines
  • Controlling access to the license
Activate the network license and obtain the license file (Required)
To install the network license manager, the license server must first be activated on the MathWorks website to obtain the license file. To generate a license file:
  1. Open the license in the License Center
  2. Click the "Install and Activate" tab
  3. Click "Activate to Retrieve License File" (If you see "Activated Servers" instead, skip ahead.)
  4. Enter the release, operating system, host ID and activation label (What is my host ID?)
  5. Click "Download license file" or "Email license file"
If you see a screen called "Activated Servers" when you click the "Install and Activate" tab then your server is already active. For information on updating you License Manager, please refer to the following article:
Once you obtain the license file you may proceed to the following instructions for installing the license manager using the product Installer or installing the license manager manually using the license manager binaries, 
Installing the License Manager with the Installer
  1. Navigate to the Downloads area of the MathWorks website.
  2. Select "Download for [your Operating System]"
  3. Start the installer.
  4. Click 'Advanced Options' at the top right.
  5. Select 'I want to install Network License Manager'
  6. Accept the terms of the Software License Agreement.
  7. When prompted for a license file, browse to the "license.lic" file that you downloaded from the MathWorks License Center.
  8. Select the destination folder
  9. To start the license manager to start at boot time, select "Configure the license manager as a service" (Windows only.)
  10. Click "Begin Install."
  11. Start the license manager  
Downloading the Enterprise License Manager with the Installer
The following instructions are for downloading the product installer and installing the Enterprise License Manager with it:
  1. Navigate to the Downloads area of the MathWorks website.
  2. Select "Get License Manager" from the "I WANT TO:" selection list.
  3. Click "Download" for your matching platform to download the installer.
  4. Follow the steps from "Installing the License Manager with the Installer" to complete installation. Start with Step 3.
Manually installing the License Manager using the binaries
If you are serving multiple vendors from your FlexNet server, or you simply prefer to do things manually, the license manager can be updated without using the product installer. This is only recommended for experienced license administrators.
The license manager binaries can be downloaded here:License Manager Download
The license manager consists of four binaries:
  • lmgrd, the core license manager binary
  • mlm, the MATLAB vendor daemon
  • lmutil, a suite of tools for administering the license manager
  • lmtools.exe, a graphical frontend for the license manager. (Windows only.)
To install the license manager manually:
  1. Extract the downloaded folder and place the folder in the desired destination
  2. Place the license.lic into the LicenseManagerRoot/etc folder.
  3. Edit the license.lic to include the SERVER and DAEMON lines then rename it to license.dat
  4. Create a text file to use as the debug log (lmlog.txt)
  5. Start the license manager  
For information on adding the SERVER and DAEMON lines, please refer to the following article:
NOTE: When installing the license manager manually on Windows, the network license manager service will not be configured in lmtools.exe automatically.  You will need to configure the service manually .
Installing Software (i.e. MATLAB) on client machines
You will need a copy of the license.dat file to install MATLAB or other MathWorks products on client machines. This file is inside the license manager installation folder:
  1. Open the folder where the license manager is installed.
  2. Open the folder "etc."
  3. Create a copy of the file "license.dat." Do not remove the file from this directory.
For more information on installing MATLAB and other MathWorks products on client machines, please see the following article:
Controlling access to the license
If you have a Network Named User license, or you would like to restrict access to products on your license, you will need to use an options file.
To create an options file, please see the instructions in the following article:
Contact us with any errors
If you receive any errors while updating the License Manager, please visit our support page or contact us with the license.dat, debug log (lmlog), and options file (if you have one) attached.
  13 Comments
Colin Fraser
Colin Fraser on 6 May 2020
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

Sign in to comment.

More Answers (5)

Alex Schetinin
Alex Schetinin on 12 Apr 2019
I completely agree with Sridhar Mahadevan .
The procedure is a painful shame.

Yuxi Zheng
Yuxi Zheng on 20 Jul 2020
gggh
  1 Comment
Cody Lamke
Cody Lamke on 21 Jul 2020
Edited: MathWorks Support Team on 1 Feb 2021
Hello,
If you are experiencing an issue, please contact MathWorks support:
-Cody Lamke

Sign in to comment.


Milad Omidi
Milad Omidi on 17 Dec 2020
Why should this take more than a few clicks? 5 seconds tops.

Brenda Nevitt
Brenda Nevitt on 16 Aug 2018
When I download the license.lic file it doesn't have a SERVER or DAEMON string. It has "LicenseNO: and HostID:" but no SERVER or DAEMON. Manually editing the lines into the file didn't work. I need to it to run on a port different than the standar 27000 port. For other flexlm licenses this was easy enough by edited the file.

eSolutions Desktop Unit
eSolutions Desktop Unit on 18 Sep 2018
What would you need to do in order to manually update a new license file for a new server I assume all is needed is to add lines in the new license file downloaded to have the new server host ID and name with port
  1 Comment
Justin Ghetti
Justin Ghetti on 3 Oct 2018
Edited: MathWorks Support Team on 1 Feb 2021
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

Sign in to comment.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!