Choose an Option to Activate Your License

The MATLAB® Production Server™ software made available with the reference architecture is configured to use the network license manager by default. The license manager is automatically installed on a virtual machine in the cloud. From the following scenarios, select a procedure for activating your license:

ScenarioProcedure

You need to activate a license or trial that has never been activated before.

Activate a License for the First Time

Your MATLAB Production Server license has been previously activated in another location, on-premise, or on the cloud.

Move a License That Has Been Previously Activated

If you have an activation scenario that is not listed here, contact MathWorks Cloud Support.

Activate a License for the First Time

Follow this procedure to activate a license or trial that has never been activated before.

Step 1: Deploy the Reference Architecture

To use the license manager on the cloud, you must provide a fixed MAC address when you activate the license. You can get a MAC address to the virtual machine hosting the license server by deploying the reference architecture:

Activate License

  1. Sign in to your MathWorks Account, and select the MATLAB Production Server license.

  2. Go to Install and Activate.

  3. Click Activate to Retrieve License File.

  4. In the Host ID field, enter the fixed MAC address. You can get the MAC address from the MATLAB Production Server Cloud Console. In the cloud console, click Administration > Manage License.

    Note

    When you delete the cloud resources, you also delete the fixed MAC address. For hosting the license manager on the cloud, you must have a fixed address:

    • Azure: When you create a virtual network, the virtual network MAC address is retained even when the virtual machine is in the deallocated state.

    • AWS: Use an Elastic Network Interface (ENI), which contains a (non-changeable) static MAC address attribute.

    Changing the fixed MAC address in MathWorks License Center is limited to 4 times per year.

  5. Finish all fields, and click Continue to finish activation.

    Note

    You need to upload the license file you get from the activation process to the MATLAB Production Server Cloud Console. To upload a license file through the cloud console:

    • On the cloud console navigation menu, select Administration > Manage License.

    • Click Browse License File and select a file.

    • Click Upload.

Move a License That Has Been Previously Activated

Follow this procedure to activate a license that has been previously activated in another location, on-premise, or on the cloud.

Step 1: Shut Down the Current License Server

PlatformProcedure
Windows®
  1. In your current LMtools.exe, navigate to the Start/Stop/Reread tab and choose Stop Server.

  2. Navigate to the Config Services tab and choose Remove Service.

  3. Close out of the current LMtools.exe.

Linux®
  1. Run lmdown.

  2. Delete the existing network license manager by deleting the entire folder where you previously placed the license manager binaries.

Step 2: Deactivate Existing License

  1. Sign in to your MathWorks Account, and select the existing MATLAB Production Server license.

  2. Go to Install and Activate.

  3. Find your activated license, and click to deactivate your license.

  4. Click Deactivate on the next screen to complete the process.

Step 3: Activate License

Activate the license as described in Activate a License for the First Time.

Related Topics