Clear Filters
Clear Filters

Regarding MATLAB Production Server dashboard

1 view (last 30 days)
I check the link https://in.mathworks.com/help/mps/server/setup-and-log-in-to-matlab-production-server-dashboard.html. I installed Matlab R2018a. but i am unable to set up matlab-production-server-dashboard. as i not contain mps-dashboard setup. Kindly provide the steps how i setup MATLAB Production Server dashboard.

Accepted Answer

Kojiro Saito
Kojiro Saito on 11 Apr 2018
I assume you machine is Windows. To setup MATLAB Production Server Dashboard, please read the following steps.
1. Install Visual C++ Redistributable Packages
Download Visual C++ Redistributable Packages for Visual Studio 2013 from this link . Choose "vcredist_x64.exe".
2. Setup MATLAB Production Server Dashboard
Open Command Prompt and cd to $MPS_INSTALL\dashboard where $MPS_INSTALL is installation folder of MATLAB Production Server, for example, "C:\Program Files\MATLAB\MATLAB Production Server\R2018a".
cd C:\Program Files\MATLAB\MATLAB Production Server\R2018a\dashboard
mps-dashboard.bat setup
Then, specify any folder (for example, C:\Work\MPS_Dashboard_Work) for Dashboard work folder.
3. (Optional) Configure Dashboard settings
If you want to change default port numbers for dashboard and database, Edit $MPS_INSTALL\dashboard\config\config.txt.
4. Start Dashboard
Open Command Prompt and cd to $MPS_INSTALL\dashboard, then do
mps-dashboard.bat start
5. Access to Dashboard
Open web browser and access to http://localhost:9910 (by default port number) Login page will appear. Default account is User: admin and Password: admin
6. Creating MPS instance using Dashboard
After log in to Dashboard, click "Create New" for creating new MPS instance. Input Name and Description(Optional), click "Create".
After creating a instance, click a hyperlink of the instance, then go to "Application" tab. Click "Upload and Deploy New Archive" from triangle-bottom, and upload your .ctf file (which you've compiled from Production Server Compiler).
Next, go to "Settings" tab. Change MPS instance configurations as you like. For example,
Core -> MATLAB Runtime path
HTTP -> HTTP/HTTPS port number and edit CORS Allowed Origins
Worker -> Maximum Workers
License -> License server info
and click "Save" in the bottom and click green triangle in the top. MPS instance will be started.
Hope this would help you.
  25 Comments
Kojiro Saito
Kojiro Saito on 23 May 2023
I'm not sure the reason, but it seems that admin user already exists in PostgreSQL (port 9080). I suspect port 9080 was in use and admin user was added before mps-dashboard setup.
marvellous
marvellous on 23 May 2023
Oh, I see. Thank you for your time, your help is greatly appreciated.

Sign in to comment.

More Answers (0)

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!