Community Forums
Results 1 to 2 of 2

Thread: use FlexLM on a Linux system to manage both Matlab and Comsol licences

  1. #1
    Join Date
    Jan 2015
    Posts
    3

    use FlexLM on a Linux system to manage both Matlab and Comsol licences

    Hi

    We use FlexLM on a Linux system to manage both Matlab and Comsol licences but the lmgrd processes from the 2 vendors conflict so we get aberrant responses.

    As an example here's an output from the "lmstat -a" command for the Comsol license :


    service@eloi:~$ /usr/local/comsol52/multiphysics/license/glnxa64/lmstat -a
    lmstat - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.
    Flexible License Manager status on Thu 3/10/2016 08:14

    License server status: 27000@eloi
    License file(s) on eloi: /var/tmp/lm_TMW.dat:

    eloi: license server UP (MASTER) v11.13.0

    Vendor daemon status (on eloi):

    MLM: UP v11.13.0
    Feature usage info:

    Users of MATLAB_Distrib_Comp_Engine: (Total of 32 licenses issued; Total of 32 licenses in use)

    "MATLAB_Distrib_Comp_Engine" v34, vendor: MLM
    floating license

    root eloi /dev/tty (v34) (eloi/27000 2902), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2802), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 402), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1002), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 102), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1402), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 502), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2302), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 3002), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1902), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2702), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2202), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 3102), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1602), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1502), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2502), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2602), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 902), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 602), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2102), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 3202), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1702), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2402), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 302), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1802), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1302), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 802), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1102), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 702), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 1202), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 202), start Wed 3/9 15:20
    root eloi /dev/tty (v34) (eloi/27000 2002), start Wed 3/9 15:20

    Is it possible to make the 2 lmgrd processes use diffrent IP port or how can we manage to get both licenses use the same licence file ?

    More, the 2 lmgrd processes are of different version, if we can use the same process for managing both licenses, is it better to choose theb recent one or the older for this ?



    service@eloi:~$ /usr/local/comsol52/multiphysics/license/glnxa64/lmgrd -v
    lmgrd v11.12.0.0 build 136775 x64_lsb - Copyright (c) 1988-2013 Flexera Software LLC. All Rights Reserved.

    service@eloi:~$ /usr/local/MATLAB/R2015b/etc/glnxa64/lmgrd -v
    lmgrd v11.13.0.2 build 162702 x64_lsb - Copyright (c) 1988-2014 Flexera Software LLC. All Rights Reserved.
    service@eloi:~$

    Thanck for your responses.

  2. #2
    Join Date
    Jul 2006
    Location
    Boston
    Posts
    28
    You can set up the license server to do all that. You can put both vendor's licenses into one file (which I wouldn't recommend), or you can have one lmgrd run both vendor daemons (which I also wouldn't recommend). The safest thing to do is to run separate lmgrd processes for each vendor (so that you can take down one without taking down all of them). To do this you just need to specify different port numbers on the SERVER line for each vendor's license file. Also, it is a good idea to uses the newest lmgrd for all your vendor daemons.
    When you run lmstat you need to use the -c option to specify a particular license file, otherwise it just scans the default ports (27000 to 27009) and finds whatever is running there.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •