Installation Configuration Properties
MATLAB®
Online Server™ provides a file, install.config
, containing properties for
configuring your server installation. To update these properties, follow these
steps:
In a text editor, open the installation configuration file.
<server-root>/install.config
<server-root>
is your MATLAB Online Server root folder. For example:~/matlab_online_server/install.config
Update the properties and save the file.
Deploy your changes to the server.
If the server is not already deployed, then deploy it using this command:
./mosadm deploy
If the server is already deployed, then undeploy and redeploy it using these commands:
./mosadm undeploy ./mosadm deploy
Domain Name
DOMAIN_BASE
— Fully qualified domain name used to access MATLAB Online Server
matlab.domain.com
(default)
Fully qualified domain name used to access MATLAB
Online Server from a web browser. For example:
matlabonline.mycompany.com
. Specifying an IP address as the domain
base is not supported.
It is recommended that the domain name is registered to your organization and that the IP address of the server or load balancer are available on the DNS server of the organization.
To test that your domain is working, it is possible to temporarily update the host entry of your client machine to have the IP address and the fully qualified domain name. Then, you can test accessing MATLAB Online Server instance from a browser in your client using this domain name.
Docker
DOCKER_REGISTRY
— Remote Docker® registry to push Docker images to
localhost:5000
(default)
Remote Docker registry to push Docker images to.
Example: myregistry.mycompany.com
DOCKER_REPOSITORY
— Remote Docker repository
matlab-online-server
(default)
Remote Docker repository.
Example: mos
IMAGE_PULL_SECRET
— User-friendly name for Kubernetes® secret object
mwdockerregistry
(default)
User-friendly name for the Kubernetes secret object. When you deploy MATLAB Online Server, this object is created from registry credentials. This secret enables the nodes to pull images from the remote registry.
Example: mymossecret
Namespace
NAMESPACE
— Deployment namespace
mathworks
(default)
Namespace to use for the deployment.
Authentication
ML_PASSWORD
— MATLAB Online™ sign-in password
password
(default)
MATLAB Online sign-in password.
The username for this bootstrapping mode is admin
.
For security purposes, it is recommended that you replace the default administration password with a more secure one.
Identity provider configuration for authenticating MATLAB Online users is covered in Configure User Authentication in MATLAB Online Server.
License Server
MOS_LICENSE_SERVER
— MATLAB Online Server license server
"27000@flexlm"
(default) | port and hostname IP address of form post@host
MATLAB
Online Server license server. Specify the port and hostname IP address in the format
port@host
.
Example: "14650@192.166.248.2"
MATLAB_LICENSE_SERVER
— MATLAB license server
"27000@flexlm"
(default) | port and hostname IP address of form post@host
MATLAB license server details. Specify the port and hostname IP address in the
format port@host
.
Example: "27000@172.0.0.1"
Security
IS_TLS_ENABLED
— Option to enable transport layer security
false
(default) | true
Option to enable Transport Layer
Security (TLS), specified as false
or
true
.
When configuring your environment with TLS, leverage your organization's best practices for key management, certificate authority, and key rotation for MATLAB Online Server. For a local development environment and during configuration of your environment, it is acceptable to temporarily disable TLS to aid in initial deployment.
TLS_KEY_FILE
— Path to TLS key file
/opt/tls.key
(default)
Path to the TLS key file.
Dependencies
This property applies only if IS_TLS_ENABLED
is set to
true
.
TLS_CERT_FILE
— Path to TLS certification file
/opt/tls.crt
(default)
Path to the TLS certification file.
Dependencies
This property applies only if IS_TLS_ENABLED
is set to
true
.
Kubernetes
KUBERNETES_CERTIFICATE_NAME
— Kubernetes certificate name
""
(default)
Name of an existing Kubernetes certificate.
Base Container Image
BASE_IMAGE_FLAVOR
— Base container image flavor
debian
(default) | rhel
The base container images that are used to install and configure MATLAB
Online Server, specified as debian
or rhel
.
Offline Installation
OFFLINE_MODE
— Option to enable offline mode
false
(default) | true
Option to enable MATLAB
Online Server to run in offline mode, specified as false
or
true
.
For details on installing MATLAB Online Server in an offline environment, see Perform Offline MATLAB Online Server Installation.
Client-Only Mode
CLIENT_ONLY
— Option to enable client-only mode
false
(default) | true
Option to enable MATLAB
Online Server to run in client-only mode, specified as false
or
true
.
Monitoring and Observability
LOG_LEVEL
— Log level of MATLAB Online Server
info
(default) | error
| warn
| info
| debug
Log level of MATLAB
Online Server, specified as error
, warn
,
info
, or debug
.
For more verbose logs, specify LOG_LEVEL=debug
.
To set the log level for a specific service, in the YAML override file for that
service, set the admin
> logLevel
field. For
example:
admin: logLevel: "debug" |
IS_HA_ENABLED
— Option to enable high availability
false
(default) | true
Option to enable high availability (HA) for MATLAB
Online Server, specified as false
or true
. For
more details, see Enable High Availability in MATLAB Online Server.
DEPLOY_DASHBOARDS
— Deploy Grafana® dashboards
false
(default) | true
Deploy Grafana dashboards, specified as false
or
true
. These dashboards visualize server metrics gathered by the
Prometheus® monitoring system, allowing you to make data-driven decisions to improve
server performance. For more details, see Configure Observability in MATLAB Online Server.
ENABLE_TRACING
— Option to enable tracing
false
(default) | true
Option to enable tracing features for MATLAB
Online Server microservices, specified as false
or
true
. When you set this property to true
, the
server installs these components:
OpenTelemetry Collector — Collects telemetry data, such as traces, logs, and metrics, from the microservices
Jaeger Charts — Provides visualizations of the collected telemetry data
You can view the Jaeger visualizations at
.DOMAIN_BASE
/jaeger
Firewall
FIREWALL_RULES_UPSERT
— Option to update or insert MATLAB Online Server firewall policy
true
(default) | false
Option to update the firewall policy in single-node clusters to use the MATLAB
Online Server policies, specified as true
or
false
. If a firewall policy does not already exist, the server
creates it.
With this firewall policy, only ports 22 (SSH), 80 (HTTP) and 443 (HTTPS) are
enabled. To communicate on any other port, you must use the ufw
(uncomplicated firewall command). For example, this command enables communication on
port 8443:
sudo ufw allow 8443
This parameter applies only to single-node installations. For more details, see:
Version History
Introduced in R2020a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)