Professional Documents
Culture Documents
© 2015 Cadence Design Systems, Inc. All rights reserved worldwide. Cadence and the
Cadence logo are registered trademarks of Cadence Design Systems, Inc. All others are the
property of their respective holders.
Contents
Purpose ....................................................................................................................... 4
Audience ..................................................................................................................... 4
Pre-requisites .............................................................................................................. 4
Frequently Asked Questions ....................................................................................... 5
What is a license options file?...................................................................................5
How do I use options file with Cadence licensing? ...................................................5
Where can I find information on options File? ...........................................................6
Will Cadence License Manager accept options file without editing license file? .......6
How to check if the License Manager has parsed the options file? ..........................7
Is the GROUP keyword is equivalent to operating system GROUPS? .....................8
Why is FLEXnet ERROR (-194, 0, 0) thrown, when trying to invoke a tool? .............9
Why does the RESERVE keyword fail for same license features? .........................10
Can I use lmreread command after making changes in the options file? ................11
Cadence tool fails to invoke with “FLEXnet ERROR (-38, 0, 0): User/host on
EXCLUDE list for feature” message. ......................................................................11
Cadence tool fails to invoke with “FLEXnet ERROR (-39, 0, 0): User/host not
on INCLUDE list for feature” message. ...................................................................11
Flexera Software has a functionality for project association, does it work in
Cadence licensing environment? ............................................................................12
Why network disruption causes Cadence applications to check out an
additional license? ..................................................................................................14
Support ...................................................................................................................... 15
Feedback................................................................................................................... 15
Purpose
This document endeavors to answer Frequently Asked Questions (FAQs) about the usage of the
Options file with Cadence License Manager.
Audience
The application note is targeted to license administrators and IT personnel who monitor the use of
licenses features’ in their users’ community. The option file is used to optimize licenses as per the
needs of various design teams.
Pre-requisites
Knowledge of starting License Manager on supported operating systems. Basic understanding of
Cadence license file. Usage of license manager related commands, such as, lmstat, and lmhostid,
would be beneficial. It is also essential to know the location of debug.log or the location of the
License Manager log file.
• Limit the number of license feature seats to be consumed by a certain user or a group of users
• Generate report log for more granular level usage of license features that can be read by third
party applications
Start the path with the options= keyword, followed by the absolute path to the options file, as
shown in the following example, in red.
Will Cadence License Manager accept options file without editing license file?
To specify the options file, without editing license file, perform the following tasks.
• Create a text file named cdslmd.opt using Notepad on Windows. Use vi, vim, or any other
text editor on Linux or Solaris
• Check debug.log, to verify if the keywords used in cdslmd.opt file have been registered.
Note: The options file must be named cdslmd.opt. The License Manager is coded to read
this name of the file by default.
How to check if the License Manager has parsed the options file?
The debug.log file gives the information that the options file has been parsed by the License
Manager.
For Windows operating system, following steps can be used to check debug.log
• Open Lmtools.exe
The vendor daemon (cdslmd.exe is Cadence daemon) gives out the information as shown in the
following example.
The GROUP keyword defined in the options file has nothing to do with groups created in Windows or
Linux operating system. In options file, the GROUP keyword assembles predefined operating system-
level user-names in a logical grouping. This grouping is then used to deny, grant, or restrict usage of
license features.
GROUP keyword supports operating system user names, IP addresses, and hostnames to control
access to license features.
In some environments, common user names may not be used across heterogeneous operating
systems. In such cases, use the HOST_GROUP keyword to identify hostnames of various system on
the network.
FLEXnet ERROR (-194, 0, 0): Checkout request denied as it exceeds the MAX
limit specified in the options file.
As the information indicates, this error is related to the MAX keyword in the options file. MAX is used
to limit usage of license for an individual user, a system, or a group of systems, users, and IP
addresses.
In this case, Cadence application at the user-end, tried to check out more licenses than the user is
entitled to. This is possible in multiple situations:
• User tried to open multiple sessions of an application, and each session needs a separate
license.
• User is running a Cadence multi-threaded application that uses a separate license for
operations on different threads.
If the license request for a specific user crosses the limit specified by the MAX keyword, this error is
displayed. As a solution, either the user should be advised not to request for more licenses or license
administrator needs to increase the MAX value for the user or the group.
The following example shows the syntax of the MAX statement, when group ABC can check-out only
one license of Allegro_PCB_Design_Planner.
To increase the license limit to 2, update the MAX statement as shown in the following example.
Note: For the changed settings to take effect, restart the License Manager.
Why does the RESERVE keyword fail for same license features?
When there are multiple versions of the same feature, included in the license file, there is no way for
Cadence License Manager to decide which versions to hold for the RESERVE keyword and it
behaves unpredictably.
Consider an options file that reserves 7 licenses of 'Allegro_studio' for the 'allegro' group, as shown in
the following example.
If this options file was to be used with a license file shown in the following example, with two
instances of the 'Allegro_studio' feature, one for 16.6 release and another for 16.5, there is a
possibility that the RESERVE keyword fails to reserve the licenses as per your expectation.
To resolve this problem, use the encryption code for a specific version (bold text in the license file
example), in the KEY field of the RESERVE keyword.
For this, the RESERVE line in the options file should be modified as shown in the following example.
Note: For the changed settings to take effect, restart License Manager.
Can I use lmreread command after making changes in the options file?
Cadence does not recommend usage of lmreread during license file updates.
lmreread is known to cause more instability when options file is used. Hence, lmreread should not be
used after making change in the options file. Restarting the license server after making changes in
the options file is recommended.
Cadence tool fails to invoke with “FLEXnet ERROR (-38, 0, 0): User/host on
EXCLUDE list for feature” message.
This error message indicates that the user name is listed in the EXCLUDE list to deny user from
using a particular feature. License administrator needs to be contacted to remove the user name from
the EXCLUDE list.
For all such scenarios, the options file has a line with EXCLUDE keyword, as shown in the following
example text.
To remove a specific user from the list of EXCLUDE statements, add "#" at the starting of the line.
Note: For the changed settings to take effect, restart License Manager.
Cadence tool fails to invoke with “FLEXnet ERROR (-39, 0, 0): User/host not on
INCLUDE list for feature” message.
INCLUDE keyword is used to allow the usage of a license feature to specific user or groups. This
error message indicates that the user name is not included in the INCLUDE list. To resolve this,
license administrator needs to add the user name in the INCLUDE list.
Syntax for using the INCLUDE keyword in the options file is:
To add new users to the list, add a new line with the name of the user or group
Note: For the changed settings to take effect, restart License Manager.
Setting LM_PROJECT
Certain client machines connected to Cadence License Server can be assigned to a specific
project using LM_PROJECT environment variable. The environment variable can be set using
steps shown below:
a) Invoke the System Properties dialog box, by typing sysdm.cpl in the Run window
d) In the User variable group box, enter the variable name as LM_PROJECT, and the
project name as Variable value.
Note: If all Users on the specific machine are required to be part of project, the variable
should be added in System variable section
The license seats for the project specified using LM_PROJECT environment variable, can be
reserved in the file using PROJECT keyword along with the RESERVE keyword. The syntax
is:
For instance, the options file may have the following entry, this entry reserves 5 seats of
Allegro_Studio for the Project AllegroDesignProject :
The advantage of using LM_PROJECT is that the variable may be defined in specific client
systems for resource allocation to a project. And this project nomination is used to control
access to the options file.
In turn, it reduces number of License Server down time because the options file is not required
to be changed for resource relocation to a specific project. All that needs to be done is ask the
users to create the LM_PROJECT environment variable and assign the project name as the
value for this variable on their systems.
Cadence applications send a heartbeat signal to the license server every 5 minutes to check the
availability of the license. If either the network is disrupted or if the license server is down, the
following sequence of events is triggered.
This causes loss of valuable resource. Use the TIMEOUTALL keyword in the options file to retrieve
such orphan licenses, and return them to the license pool.
Support
Cadence Online Support provides access to support resources, including an extensive knowledge
base, access to software updates for Cadence products, and the ability to interact with Cadence
Customer Support. Visit https://support.cadence.com.
Feedback
Email comments, questions, and suggestions to content_feedback@cadence.com.