What is the setting in Production Server for auto deployment and how do I set this up?

2 views (last 30 days)
I could not find a place in Settings section in the Production Sever Dashboard to enable or disable auto deployment, and if I need to add the options through advanced section, what I should put there? Do I need to restart the server/instance after I add the auto deployment configuration?

Accepted Answer

Sergio E. Obando
Sergio E. Obando on 25 Sep 2024
Edited: Sergio E. Obando on 25 Sep 2024
According to the documentation, archives placed on the auto-deploy folder are automatically unpacked if your server is managed through command line, so you do not need to enable or disable this per se. For dashboard instances, https://www.mathworks.com/help/mps/qs/share-a-ctf-archive-on-the-server-instance.html, you must upload through dashboard.
  2 Comments
Sergio E. Obando
Sergio E. Obando on 25 Sep 2024
The part that seems confusing is this statement here in the doc: https://www.mathworks.com/help/mps/server/mps.configuration-properties.html#bufy3fi
"Dashboard Usage
In the Settings tab of your server instance, under Advanced, specify the property setting in the Additional Options box. For example:
--auto-deploy-root ./auto_deploy"
Biyan Li
Biyan Li on 25 Sep 2024
Thanks for pointing it out that "archives placed on the auto-deploy folder are automatically unpacked if your server is managed through command line". I think that is the approach I will try. Thanks again.

Sign in to comment.

More Answers (0)

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!