• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Installation & Licensing

    Reply
    *Expert Elite*
    TravisNave
    Posts: 7,923
    Registered: ‎01-14-2005
    Accepted Solution

    Managing the adskflex.opt Options File

    6088 Views, 3 Replies
    07-01-2011 02:50 PM

    Issue:  You want to configure different licensing options for different user groups and networked licensed products using your Autodesk Network License Manager.

     

    Solution: There is a way to manually configure the Autodesk Network License Manager to use different configurations for each license type, user, group, etc.  You need to create an Options file as instructed in the License Administration Guide.  Your options file should be created in a plain text editor like Notepad and must be named adskflex.opt.  Please ensure that file extensions are enabled so that you do not have a hidden .txt file extension appended to your filename.  Furthermore, the adskflex.opt options file must be saved in the same location as your Autodesk .lic license file.  To activate the options file, you need to reread the license from the Start/Stop/Reread tab of LMTOOLS.  You can then use your debug.log file to verify that the options are working properly.

     

    Additional information about the adskflex.opt Options File can be found here:

     

    http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=7459915&linkID=9240617

     

     

    Creating and Implementing the adskflex.opt Options File

     

    1.  To create an options file, simply open a plain text editor like Notepad and type the options that you wish to implement.

     

    adskflex.JPG

     

    2.  Make sure you then save the file as adskflex.opt and in the same location as your Autodesk *.lic file.  You will want to pull down the save type box to all files so that it will not save with a .txt extension.  Make sure file extensions are enabled to determine if a .txt has been appended. If so, simply rename the file as appropriate. 

     

    saveas.JPG

     

    3.  Open LMTOOLS and go to the Start/Stop/Reread tab and choose ReRead License File.  This will enable the options file that you just saved. 

     

    reread.JPG

     

    4.  You can verify that the options file is active by viewing the debug.log file.  You can do this from the Config Services tab in LMTOOLS by clicking View Log... or by opening the debug.log file in Notepad from the path specified on the Config Services tab.  You should see log entries for each successful option that you created.  Entries should look similar to the following:

     

    16:52:45 (adskflex) Using options file: "C:\Program Files\Autodesk Network License Manager\License\adskflex.opt"
    16:52:45 (adskflex) ALL FEATURES: INACTIVITY TIMEOUT set to 900 seconds
    16:52:45 (adskflex) Max borrow interval for feature, 64300ACD_F , set to 48 hours
    16:52:45 (adskflex) RESERVING 1 64300ACD_F  license for USER_GROUP Admins
    16:52:45 (adskflex) MAX 1 USER_GROUP Users for 64300ACD_F
    16:52:45 (adskflex) INCLUDE USER_GROUP Admins 64300ACD_F
    16:52:45 (adskflex) Report log started (+C:\Program Files\Autodesk Network License Manager\report.rl).

     

    You can use the adskflex.opt options file to split licenses into different groups, reserve licenses for power users, or limit the amount and time licenses can be borrowed.  For details on each available option, please see the License Administration Guide in the documentation of your Autodesk Network License Manager or from the Autodesk KB link provided above. 

     

    Feature codes for each of your licensed products can be found within the PACKAGE and INCREMENT lines of the .lic license file provided by Autodesk.  A list of Autodesk 2012 feature codes can be found here:

     

    http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=17288427&linkID=9243099

     

    For your convenience I am attaching a ready-made adskflex.opt options file that includes all of the available compatible options for the Autodesk Network License Manager along with commented descriptions and examples. You can use this file as a starting point to create your own customizations.  Please unzip the file and edit with Notepad. 

     

    Good Luck!

     

    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.
    *Expert Elite*
    TravisNave
    Posts: 7,923
    Registered: ‎01-14-2005

    Re: Managing the adskflex.opt Options File

    07-01-2011 02:55 PM in reply to: TravisNave

    The License Administration Guide for the FlexLM can be found at the following link:

     

    http://www.globes.com/support/utilities/fnp_LicAdmin_11_9_1.pdf

     

    Please see chapter 13 regarding the Options File. 

    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.
    Contributor
    Posts: 21
    Registered: ‎09-01-2006

    Re: Managing the adskflex.opt Options File

    04-11-2013 04:57 AM in reply to: TravisNave

    hi

     

    having trouble with Building Design Suite 2013 and borrowing licences .... i have created an adskflex option file.

    and have confirmed the option file is being read by lmtool/flexlm.

     

    i am the only user id in the borrowcad group ; however other users are still able to borrow licences even tho they are not included in the group. Have i missed something ?

     

     

    options file :-

     

    #options file matt 02/04/2013

     

    GROUP BorrowCad camsr1

     
    TIMEOUTALL 900

     

    # Building Design Suite Standard
    BORROW_LOWWATER 85947BDSS_2013_0F 1
    INCLUDE_BORROW 85947BDSS_2013_0F GROUP BorrowCad

     

    #Building Design Suite Premium
    BORROW_LOWWATER 85946BDSPRM_2013_0F 1
    INCLUDE_BORROW 85946BDSPRM_2013_0F GROUP BorrowCad

     

    Do i need to individually add all features codes in the suite ? and assign the BorrowCAD group?

     

    any help appreciated

     

    regards

     

    Matt

    Please use plain text.
    *Expert Elite*
    TravisNave
    Posts: 7,923
    Registered: ‎01-14-2005

    Re: Managing the adskflex.opt Options File

    04-11-2013 05:12 AM in reply to: matthew.roberts
    You need to add the option GROUPCASEINSENSITIVE ON to your list. That
    should allow it to work.
    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.