Main Content

Specify Server Instance License Options Using Admin Portal

R2026b

After you create an on-premises server instance, you can specify licensing options using the Admin Portal. For more information about setting up Admin Portal, see Set Up and Log In to MATLAB Production Server Admin Portal. To specify licensing options by using the Admin Portal, follow these steps.

  1. Select the Configuration tab.

  2. Expand the License menu.

  3. Set license to the server or servers, license files, or both.

    You can specify a license using the File or Network option. With the File option, you can specify multiple license servers along with their port numbers (port_number@license_server_name), as well as license files. List where you want the product to search in order of precedence, using semi-colons (;) as separators on Windows® or colons (:) as separators on Linux®.

    For example, on a Linux system, you specify this value for license:

    27000@hostA:/opt/license/license.dat:27001@hostB:./license.dat
    

    The product searches for these resources in this order:

    1. 27000@hostA: (hostA configured on port 27000)

    2. /opt/license/license.dat (local license data file)

    3. 27001@hostB: (hostB configured on port 27001)

    4. ./license.dat (local license data file)

    With the Network option, you can specify a Port and Host for a license server.

  4. Set license-grace-period to the maximum length of time that the MATLAB® Production Server™ responds to HTTP requests after the license server heartbeat has been lost.

  5. Set license-poll-interval to the interval of time that must pass:

    • After the license server heartbeat has been lost and MATLAB Production Server stops responding to HTTP requests

    • Before the product polls the license server, to verify and check out a valid license

  6. Click Save.

  7. Restart the server instance. See Restart Server Instance.

See Also

Properties

Related Procedures