two network licenses in a same server, how to select client to catch one or another license ?

4 views (last 30 days)
hello,
we have two network licenses in a server with Flexnet. How can we select clients for one or another license?
If the license file (network.lic) in client is whith "USE_SERVER" the server offers the license that he want, but if in the license file in client is with "INCREMENT..... LICENSE=XXXXX......" the license is the correct.
But, we dont want to put the "INCREMENT...." for security reasons.
it is posible to do otherwise ?

Accepted Answer

M. Carmen
M. Carmen on 29 Apr 2015
Edited: M. Carmen on 29 Apr 2015
hello, finally i found the solution.
the mistake is in the mlm.opt file
in all of your questions/answers, the selection of license is MATLAB:asset_info=xxxx . but, in our flexnet (ver.11.11) the selection of license must be MATLAB:key=xxxxxx
this is the functionaly mlm.opt file:
GROUP MATLAB_users tu yo el
GROUP MATLAB_CLASS_users pepe juan alberto
EXCLUDE MATLAB:key=xxxxxxxxxxxxxxx GROUP MATLAB_users
EXCLUDE SIMULINK:key=xxxxxxxxxxxxxxxxx GROUP MATLAB_users
INCLUDE MATLAB:key=xxxxxxxxxxxxxxxxx GROUP MATLAB_CLASS_users
INCLUDE SIMULINK:key=xxxxxxxxxxxxxxxxxx GROUP MATLAB_CLASS_users
INCLUDE MATLAB:key=yyyyyyyyyyyyyyyy GROUP MATLAB_users
INCLUDE SIMULINK:key=yyyyyyyyyyyyyyyy GROUP MATLAB_users
thanks.

More Answers (1)

Ori
Ori on 28 Apr 2015
Hi Carmen.
Your question is a bit unclear. ("offers the license we want" vs. "the license is correct")
Nevertheless:
1. What Matlab release are you using ?
2. I can offer you an insight on floating licenses: the order of appearance in the license file determines the order upon which licenses will be checked out.
Best regards,
Ori Kaplan
  1 Comment
M. Carmen
M. Carmen on 29 Apr 2015
hello, sorry, i will explain our situation well:
we have x academic concurrent licenses and xx classroom concurrent licenses, we have concatenated the licenses.
we follow the instructions on: https://es.mathworks.com/matlabcentral/answers/101449-how-do-i-combine-a-classroom-concurrent-license-and-an-academic-concurrent-license-for-matlab-on-the?s_cid=srchtitle and.. https://es.mathworks.com/matlabcentral/answers/91983-how-do-i-configure-an-options-file-with-multiple-licenses?s_cid=srchtitle
we have a mlm.opt file.
but the clients dont follow the rules, they catch the other license.
when we start the service licenses, the log looks like this:
10:17:56 (lmgrd) -----------------------------------------------
10:17:56 (lmgrd)
10:17:56 (lmgrd)
10:17:56 (lmgrd) pid 760
10:17:56 (lmgrd) Done rereading
10:17:56 (lmgrd) FlexNet Licensing (v11.11.1.2 build 134011 x64_n6) started on licencias (IBM PC) (4/29/2015)
10:17:56 (lmgrd) Copyright (c) 1988-2013 Flexera Software LLC. All Rights Reserved.
10:17:56 (lmgrd) World Wide Web: http://www.flexerasoftware.com
10:17:56 (lmgrd) License file(s): C:\Program Files\MATLAB\R2014b\etc\license.lic
10:17:56 (lmgrd) lmgrd tcp-port 27010
10:17:56 (lmgrd) Starting vendor daemons ...
10:17:56 (lmgrd) Started MLM (pid 2064)
10:17:56 (MLM) FlexNet Licensing version v11.11.1.2 build 134011 x64_n6
10:17:56 (MLM) Using options file: "C:\Program Files\MATLAB\R2014b\etc\win64\mlm.opt"
10:17:56 (MLM) Server started on licencias for: MATLAB
10:17:56 (MLM) MATLAB SIMULINK SIMULINK
10:17:56 (MLM) Curve_Fitting_Toolbox Curve_Fitting_Toolbox Fuzzy_Toolbox
10:17:56 (MLM) GADS_Toolbox Neural_Network_Toolbox Optimization_Toolbox
10:17:56 (MLM) Optimization_Toolbox Statistics_Toolbox Statistics_Toolbox
10:17:56 (MLM) Control_Toolbox SimMechanics Simscape
10:17:56 (MLM) Symbolic_Toolbox
10:17:56 (MLM) EXTERNAL FILTERS are OFF
10:17:56 (lmgrd) MLM using TCP-port 50233
10:17:56 (MLM) License verification completed successfully.
10:18:18 (MLM) TCP_NODELAY NOT enabled
thanks for your help. we wait your reply.

Sign in to comment.

Categories

Find more on Manage Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!