Common features used in the flexlm licensing options file
Robert_Stephen 270005GQ3U Visits (11556)
It's always good to have options!
Let's discuss the options a license administrator has to use for a license. The options file is a plain text file that allows a floating license administrator to control user access to specific features or versions of licensed software. Users are identified by their username, hostname, IP address, or project.
For concurrent (floating) licenses, the license administrator can:
This looks good but your next question will likely be: "How can I create an options file?"
For example: VENDOR /etc/test [opt
Let’s create an options file assuming Peter, Matt, and Steve are all part of a team named 'Licensing' in an organization. We can create a group named 'Licensing' and have these users added into the group. The syntax would be: GROUP Licensing Peter Matt and Steve
Subsequently this group can be included to allow access to IBM Rational product license. Hence the final syntax in the Options file would appear as follows:
GROUP Licensing Peter Matt and Steve
INCLUDE RPE_PUBLISH GROUP Licensing ( considering the .opt file is for RPE )
If the system usernames in your organization have a space OR comma in them, then the names need to be enclosed within double quotes.
Example: Let's assume the usernames are <USER A>, <USER B> and <USER C>. Then the Options. opt file would have: INCLUDE RPE_PUBLISH USER "USER A" "USER B" "USER C" Alternatively, you can utilize the same concept of adding all the users into a GROUP and then specifying the name of the GROUP in the INCLUDE line of the options file.
Also, if you have only one USER_BASED license for IBM RPE in your license file, you would be able to specify only one user's name in the Options file. Once the Options. opt file has been updated as per the format of the system usernames, please save the same while making sure that the file is saved as "Options. opt" and doesn't have a .txt extension.
Open the License.dat and add the complete path of the newly created Options. opt file at the DAEMON line. The DAEMON line should be the next line (one soon after the) SERVER line in the license.dat file. If you don't have a word DAEMON instead have Vendor, please perform the following changes in the License.dat file.
SERVER LicenseServerName 12AcDe 19353
DAEMON telelogic "C:\Program File
After performing the above changes, save the License.dat file while making sure it's saved with only (.dat) extension.
Launch LMTOOLS and click on "Start/Stop/ReRead" tab. Stop the server, restart it, and wait until it says "Server Started successfully".
After the server has started successfully, please click on "ReRead License File" and wait until it displays: "ReRead license file completed". Once the message is displayed, click on "Server Status" and click on "Perform Status enquiry" and check if there is any error with the RPE_PUBLISH license. Ideally there shouldn't be any.
Any changes that are made to the Options file gets read either by doing a re-read or stopping and starting of the license server. The ability for vendor daemon to participate in rereading of its option file is introduced in the version 8.0 vendor daemon. If the License server is stopped and started the license file and option file are automatically read.
Now before proceeding we need to understand the most commonly used syntax of the options file:
Now we know how to create an options file lets use the options file to reserve or deny licenses. IBM Rational provides the least restrictive licensing environment possible. By default, the server does not restrict access to a client requesting a license key. This configuration works best for most customers. For a more controlled license environment, use the options file to reserve or deny licenses for certain users, hosts, displays, groups, or IP addresses. You can also limit the number of licenses each user or group can access.
The options file is a case-sensitive text file that sets the options for the license server. The options file can be used with the different types of floating licenses keys: temporary, evaluation, or permanent licenses keys. Your options file is located in the rational_dir\common directory and might have the name ibmratl.opt. If you do not have an options file, you can create one.
Options file that reserves licenses:
You have 10 floating licenses for IBM Rational ClearQuest®. You want to ensure that users Greg and Michelle always have a license of ClearQuest available for their use. Configure the options file as follows:
RESERVE 1 ClearQuest USER greg
RESERVE 1 ClearQuest USER michelle
Options file that excludes users from accessing a license:
You have 10 floating licenses for IBM Rational ClearQuest. You want to ensure that user Sally does not have access to a ClearQuest license. Configure the options file as follows:
EXCLUDE ClearQuest USER sally
How to configure USER_BASED license:
Common features used in the FLEXlm Licensing options file:
image credit: (cc) Some rights reserved YourRightMoveLLC
Author: Robert V Stephen