Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Solutions Academia Support User Community Company
spacer spacer spacer spacer spacer spacer

Technical Solutions

Is it possible to run multiple license files from one server?


Date Last Modified: Friday, June 26, 2009
Solution ID:   1-18KTK
Product:   MATLAB
Reported in Release:   No Release
Platform:   All Platforms
Operating System:   All OS
 

Subject:

Is it possible to run multiple license files from one server?

Problem Description:

I would like to run multiple license files from one server.

I also would like to run simultaneous copies of MLM.

I have to run several different MATLAB licenses on the same server, which requires me to run separate MLMs for each license. (I have to do this so I can guarantee that the group who purchased the license only uses each license. I am at a university and we are using a specific computer to run all FLEXnet applications.) Currently, I am getting the following error messages when trying to run multiple MLMs:


(MLM) FLEXnet version 10.8
(MLM) lmgrd version 3, MLM version
(MLM) cannot establish lock - exiting (file: /var/tmp/lockMLM16, errno: 13)
(lmgrd) MULTIPLE "MLM" servers running.
(lmgrd) Please kill, and run lmreread

Solution:

If you have another application that uses the FLEXnet license manager, you can share a single license server, or set up separate license servers for each product on different hosts. See the instructions below if you want to share a single license server. For more information see the related solutions below.

MATLAB requires the license manager version that it has been shipped with. If you are sharing your license manager make sure that you are at this FLEXnet version (or higher). Since FLEXnet is backwards compatible this should not cause any errors with previous versions.

When setting up a single license server for multiple vendors you will need to accomplish the following steps:

1) If combining multiple license files for MATLAB, then make sure the license files are encrypted to the same hostid
2) Concatenate your licenses into one file
3) Ensure you have only one SERVER line
4) Create separate DAEMON lines for each vendor (if you are combining multiple MATLAB licenses, you will only need the MATLAB vendor daemon line)
5) Clients use the simple license file:

SERVER <hostname> <hostid> <port num>
USE_SERVER

If you wish to run separate license servers for each vendor you need only make sure that each is running on different ports.

NOTE: Multiple MATLAB vendor daemons cannot be started on a single machine. Only one vendor daemon for MATLAB can be started at a time.

For information on combining multiple Standalone Named User licenses for MATLAB on a single UNIX/Linux machine, see the related Solution below.

 

Related Solutions:

Please provide feedback to help us improve this Solution
Contact support
E-mail this page
Print this page