You must have admin privileges on Windows® to complete setup.
To set up an instance of the MATLAB® Production Server™ dashboard:
Open a Terminal or Command Window, and navigate to the
dashboard
folder in the MATLAB
Production Server installation directory.
Platform |
Default Directory Where the MATLAB Production Server dashboard is Installed |
---|---|
Windows (Administrator) |
|
Linux® |
|
Execute the script mps-dashboard
with the
setup
option, and when prompted, specify the
directory for dashboard setup. You must have write privileges to the
directory from where you are running the mps-dashboard
script, and to the directory where the dashboard is going to be set
up.
Platform |
Script for Dashboard Setup |
---|---|
Windows (Administrator) |
For example: > mps-dashboard.bat setup Specify a workspace directory for MATLAB Production Server Dashboard: C:\mps\dashboard |
Linux |
For example: $ ./mps-dashboard.sh setup Specify a workspace directory for MATLAB Production Server Dashboard: /opt/mps/dashboard |
You receive a message acknowledging that the dashboard has been successfully setup.
To directly specify a directory when setting up the dashboard, use the
-C
option after the setup
option and provide a directory name.
For example, in Windows: >
mps-dashboard.bat setup -C D:\mps\dashboard
For example, in Linux: $
./mps-dashboard.sh setup -C /opt/mps/dashboard
For a complete list of options that can be passed to the
mps-dashboard
script, pass a ?
as an option to the mps-dashboard
script.
For example, in Windows type:
> mps-dashboard.bat ?
In Linux, type:
$ ./mps-dashboard.sh ?
The complete list of options are:
setup | start | stop | remove |
reset_admin_password
Windows only: If your setup fails when using the command
> mps-dashboard.bat
setup
, verify that your system has Visual C++
Redistributable Packages for Visual
Studio® 2013 installed.
You can also fix this issue by appending your system path with
$MPS_ROOT/bin/win64
where
$MPS_ROOT
is the directory where MATLAB
Production Server is installed.
Execute the mps-dashboard
script with the
start
option to start the dashboard.
Platform |
Script to Start Dashboard |
---|---|
Windows (Administrator) |
|
Linux |
|
You will get a message indicating the host and port where the dashboard is
running. The default host and port are localhost
and
9090
, respectively.
Windows only: To run the dashboard instance as a background
process in Windows, precede the mps-dashboard
script with
command start /B
.
For example: > start /B mps-dashboard.bat
start
You can change the default port used by dashboard by editing the
--node_server_port
option in
config.txt
file. You can find the
config.txt
file here:
Platform |
Location of |
---|---|
Windows |
|
Linux |
|
Other customizations to the setup process can be made by editing
relevant parts of the config.txt
file.
Open a web browser, and type the host and port number that were displayed in the previous step.
For example:
http://localhost:9090
To log in to MATLAB Production Server Dashboard follow this procedure:
Open a web browser, and type the host and port number that were displayed at the end of the install process.
For example:
http://localhost:9090
Type the following information at the login screen for the username and password:
Username: admin
Password: admin
You are now logged into the MATLAB Production Server Dashboard.
You can use the mps-dashboard
script with the option
reset_admin_password
to change the admin password.
Platform |
Script to Reset the Admin Password |
---|---|
Windows (Administrator) |
|
Linux |
|
The reset_admin_password
option should not be executed
while dashboard is still running. First, stop dashboard execution using the
mps-dashboard
script with the stop
option and then reset the admin password.