MATLAB: What are possible/necessary License manager configurations in a MDCS setup

licenseMATLAB Parallel Serverparallel computing

When setting up a MDCS cluster, what are possible configurations regarding license management. Specifically:
  • Is it possible to manage the MDCS license with a license manager that is different from the license manager managing the clients that access MDCS?
  • If the license manager is on a different server than MDCS, what do I need to do to ensure that the license manager can be reached by MDCS, e.g. what ports are used?
Ideally, I would like to separate the MDCS license manager from the license manager for the client, as this has organizational and procedural advantages in administering the setup.
Thanks in advance!

Best Answer

I am assuming you already have a license manager setup for accessing MATLAB (client) from different machines. I have put in my answers inline.
  • Is it possible to manage the MDCS license with a license manager that is different from the license manager managing the clients that access MDCS?
Yes. MDCS license manager can be installed on a different machine other than the regular license manager (i.e. the license manager for MATLAB).
  • If the license manager is on a different server than MDCS, what do I need to do to ensure that the license manager can be reached by MDCS, e.g. what ports are used?
In general, MDCS license manager is installed on a machine called node ‘head node’. While installing the license manager for MDCS, a file called ‘license.dat’ is created which needs to be copied onto all the worker machine (i.e. where MDCS server is installed). This file will contain the information on how to contact the license manager.
Refer to the links below for more information on MDCS installation and setup:
https://www.mathworks.com/videos/setting-up-matlab-distributed-computing-server-with-matlab-job-scheduler-93403.html
https://www.mathworks.com/help/pdf_doc/mdce/mdce.pdf