What is an 'options' File (.opt)?

« Go Back

Information

 
QuestionWhat is an 'options' file?
Answer
An options file is a simple text file maintained on the license server, most commonly used to control who can and cannot check out licenses. This is not an STK or an Ansys capability but a capability of FlexNet itself.

This file is normally co-located with the license file and is named [VENDOR].opt. For example:

 
STKD.opt (legacy STK)
ansyslmd.opt (Ansys STK)

In the case of a server triad, you need to save the options file on all three servers. 

Alternately, you can specify the location of the file by manually editing the server license file's VENDOR or DAEMON line. For example:

 
VENDOR ansyslmd options="C:\Users\shepherd\Desktop\MyOptionsFile.txt"
DAEMON STKD options="C:\Users\shepherd\Desktop\MyOptionsFile.txt"

You can use an options file to “EXCLUDE,” “INCLUDE,” or “RESERVE” specific features for users or groups. The feature names need to match those used in the license file. You need to restart or reread the license service in order for the file to be considered.

NOTE: You will see entries in the debug log file when an options file is in use. For example:

 
8:44:52 (ansyslmd) Using options file: "C:\Users\shepherd\Desktop\MyOptionsFile.txt"
...
8:44:52 (ansyslmd) EXCLUDE USER shepherd from stk_mission_air

Here's an example of initiating/setting up this file:
# common settings that I always enable/set ...
GROUPCASEINSENSITIVE ON
TIMEOUTALL 900

# Define a group of users by user names.
# GROUP group_name user_list
GROUP SatTeam Jenna Craig Bob 
GROUP AirTeam Shannon Andrew Mike
Here's an example using features from STK 12.2 (legacy STK):
INCLUDE ASTG GROUP SatTeam 
INCLUDE AMM GROUP AirTeam
	
EXCLUDEALL USER shepherd
Here's an example using features from Ansys STK:
INCLUDE stk_mission_space GROUP SatTeam 
INCLUDE stk_mission_air GROUP AirTeam
	
EXCLUDEALL USER shepherd
NOTE: For legacy STK, do not restrict usage of STK (the free, basic license). This is a parent license, and it may cause STK not to start. There are few legacy STK license dependencies. However, with Ansys STK, licenses are hierarchical and there is not a one-to-one match with STK Capabilities:

Here is the list of Ansys STK capabilities and the associated licenses (Desktop / Engine Only):

 
Capability
licensed feature
Description
 Ansys STK Pro
 stk_mission_level1
 stk_engine_runtime  
 STK Pro core and RF capabilities 
 STK Engine runtime
 Ansys STK Premium Air
 stk_mission_level1
 stk_mission_level2
 stk_mission_air
 stk_engine_runtime
 STK Pro core and RF capabilities
 STK Premium core capabilities
 Advanced air capabilities
 STK Engine runtime
 Ansys STK Premium Space 
 stk_mission_level1
 stk_mission_level2
 stk_mission_space
 stk_engine_runtime
 STK Pro core and RF capabilities
 STK Premium core capabilities
 Advanced space capabilities
 STK Engine runtime
 Ansys STK Enterprise
 stk_mission_level1
 stk_mission_level2
 stk_mission_level3
 stk_mission_air
 stk_mission_space
 stk_engine_runtime
 STK Pro core and RF capabilities
 STK Premium core capabilities
 BEE, GCS, SDF, and TETK
 Advanced air capabilities
 Advanced space capabilities
 STK Engine runtime

For more information, and to explore all the capabilities of an options file, refer to the FLEX License Administration Guide.
TitleWhat is an 'options' File (.opt)?
URL NameWhat-is-an-options-file

Related Files

STKD.opt
ansyslmd.opt