What is an options file (STKD.opt)

Information

 
QuestionWhat is an options file?
Answer
An options file is a simple text file maintained on the STK license server used to control who can/cannot checkout licenses. Generally, this file, named STKD.opt, is saved alongside the STK server license file. In the case of a server triad, the options file would need to be saved into that folder on all three servers. 

In an options file, you can “Exclude”, “Include”, and/or “Reserve” specific features/licenses for certain people or groups. The feature names need to match those used in the STK license file. Once this file is in place, and anytime it is edited, the license service needs to be restarted, or an 'lmreread' action needs to be performed. Here's an example:
#
# Turn this on (by default, it's off)...
#
GROUPCASEINSENSITIVE ON

#
# Another useful option to set. This sets the time after which an inactive license is released (900 seconds is the minimum)
#
TIMEOUTALL 900

#
# define a group of users by user names
# GROUP group_name user_list
#
GROUP TEAM1 Michael Scott Chris 
GROUP TEAM2 Tom Bob

#
# with INCLUDE, only the user or group can check-out the license
# INCLUDE feature[:keyword=value] type {name | group_name}
#
INCLUDE AnalysisWB GROUP TEAM1 
INCLUDE SatPro GROUP TEAM1 
INCLUDE STKProfessional GROUP TEAM1 
INCLUDE Comm GROUP TEAM1

#
# with EXCLUDE, the user or group cannot check-out the license. EXCLUDE takes precedence over INCLUDE
# EXCLUDE feature[:keyword=value] type {name | group_name}EXCLUDE ASTG USER Bob

#
# RESERVE allows a license to be set aside just for the user or group
# RESERVE num_lic feature[:keyword=value] type {name | group_name}RESERVE 1 AnalysisWB GROUP TEAM2 
RESERVE 1 STKProfessional GROUP TEAM2 
RESERVE 1 SCHED USER Nancy
Feature identification can use 'modifiers'. The most common one is to specify a version. In the below example, two groups are defined, and each group may only access the defined version (one group can use the v10 license, the 2nd groups can access the v11.6 license)
#
# define the groups ...
#
GROUP v10users Ann Hannah 
GROUP v11users Moria Jenna

#
# define who can use the STKProfessional v10.0 license(s)
#
INCLUDE STKProfessional:VERSION=10.0 GROUP v10users

#
# define who can use the STKProfessional v11.6 license(s)
#
INCLUDE STKProfessional:VERSION=11.6 GROUP v11users
Note: Do not restrict usage of STK (the free/basic license). As this is a parent license, it may cause STK not to start. Additional seats of STK can be provided on request.

More information can be found in the FLEX End Users Guide.
Resource File 1
Resource File 2