Specify Server Instance License Options Using Admin Portal
R2026bAfter 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.
Select the Configuration tab.
Expand the License menu.
Set license to the server or servers, license files, or both.
You can specify a license using the
FileorNetworkoption. With theFileoption, you can specify multiple license servers along with their port numbers (), 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®.port_number@license_server_nameFor 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:
27000@hostA:(hostAconfigured on port27000)/opt/license/license.dat(local license data file)27001@hostB:(hostBconfigured on port27001)./license.dat(local license data file)
With the
Networkoption, you can specify aPortandHostfor a license server.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.
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
Click Save.
Restart the server instance. See Restart Server Instance.