Specify or verify values for License Server options in the server
configuration file (main_config
). You create a
server by using the mps-new
command.
Edit the configuration file for the server. Open the file
and
specify or verify parameter values for the following options. See
the comments in the server configuration file for complete instructions
and default values.server_name
/config/main_config
license
— Configuration
option to specify the license servers and/or the license files. You
can specify multiple license servers including port numbers (
),
as well as license files, with one entry in port_number
@license_server_name
main_config
.
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
:
--license 27000@hostA:/opt/license/license.dat:27001@hostB:./license.dat
27000@hostA:
(hostA
configured
on port 27000
)
/opt/license/license.dat
(local
license data file)
27001@hostB:
(hostB
configured
on port 27001
)
./license.dat
(local license data
file)
license-grace-period
— The maximum length of
time MATLAB®
Production Server™ responds to HTTP requests, after license server heartbeat has
been lost. See the network license manager documentation for more on
heartbeats and related license terminology.
license-poll-interval
— The interval of time
that must pass, after license server heartbeat has been lost and MATLAB
Production Server stops responding to HTTP requests, before license server is
polled, to verify and checkout a valid license. Polling occurs at the
interval specified by license-poll-interval
until license
has been successfully checked-out. See the network license manager
documentation for more on heartbeats and related license terminology.