NEWS & ARTICLES

Creating and Editing a SolidNetwork License Manager Options File

A SolidNetwork License Manager Options file allows for much greater control over your license server and how your licenses are used. An options file allows you to:

  • Control what licenses users can access
  • Reserve licenses for certain users
  • Control which users can borrow licenses
  • Set license timeout for inactive users
  • Restrict maximum borrow time

 

EXAMPLE

To demonstrate the creation of an options file, let’s assume that we have the following licenses being hosted on a SNL Server:

  • 3 SOLIDWORKS Standard Licenses
  • 3 SOLIDWORKS Premium Licenses
  • 1 SOLIDWORKS Composer License
  • 1 SOLIDWORKS Simulation Premium License
  • 1 SOLIDWORKS Flow Simulation License.

Let’s also assume that we have the following individuals that need access to specific licenses:

  • Michael, John, and Dave are engineers that need access to SOLIDWORKS Standard, but are not allowed to access any other licenses
  • Daniel and Chris are senior engineers that need access to SOLIDWORKS Premium
  • A dedicated machine is used by Jordan, an analyst, to solve simulations, and this machine needs access to SOLIDWORKS Premium, SOLIDWORKS Simulation Premium, and SOLIDWORKS Flow Simulation at any time
  • Donna, Nick, and Kyle work with the marketing department and need access to SOLIDWORKS Composer, but are not allowed to access any other licenses.

Additionally, it is desired to have a timeout period of 30 minutes (the minimum timeout period is 15 minutes) for all licenses. The timeout period is defined in seconds in the options file, so the value that is used is 1800 seconds. The following license file was created to address this situation:

When this options file is used on the License Server, the engineering group will only have access to SOLIDWORKS Standard, the senior engineers and Jordan will have access to SOLIDWORKS Premium, only Jordan will be able to access the simulation products, and marketing will have access to only their SOLIDWORKS Composer license. For example, if Michael was to attempt to access SOLIDWORKS Simulation Premium, he would be unable to access the license, and this message would appear in the License Server log:

EXECUTION

To create an options file, first open the SolidNetwork License Manager on the license server and select the “Modify” button on the “Server Administration” tab.


Then, select the “Activate/Reactivate” option and click “Next.”

Then, check the “Options File” checkbox and click “Edit.”

Here is where can write the options file.

When creating your options file, you may wish to create groups of users to collectively control their permissions. This can be accomplished using the following syntax, where each <user> must be a Windows username and <group_name> is the name of the group that contains no spaces. If the windows username contains spaces, enclose it in quotes:

GROUP <group_name> <user_1> <user_2> <user_x>

After the groups you wish to define have been created, you can control the permissions of these groups or individual users via the syntax provided below:

<OPERATION> <num_licenses> < product> <TYPE> <group_or_user>

In this syntax, <OPERATION> is replaced with one of the following:

  • INCLUDE – Allows a certain group or user to use a product or feature
  • EXCLUDE – Denies a certain group or user the use of a product or feature
    • If both INCLUDE and EXCLUDE are used for the same license type, EXCLUDE will take precedence over INCLUDE
  • EXCLUDE_BORROW - This option is used to deny a certain group or user license borrowing privileges
  • RESERVE – Reserves licenses for a user or group. Note that this option is the only option that uses the <num_licenses> field, which is replaced by the number of licenses you wish to reserve.
  • MAX – Limits the number of licenses a group or user can use

As stated above, the <num_licenses> field is only used by the RESERVE operation, and is used to designate the number of licenses you wish to reserve for a specific group, user, IP address, or computer.

The <product> field is filled with the feature name for the SOLIDWORKS product license you wish to control:

Feature Name

SOLIDWORKS Product

Simulation

 

cae_cosmosfloworkspe

SOLIDWORKS Flow Simulation

cae_cosmosfloworks_hvac

SOLIDWORKS Flow Simulation HVAC Module

cae_cosmosfloworks_elec

SOLIDWORKS Flow Simulation Electronic Cooling Module

swsustainability

SOLIDWORKS Sustainability

plastics_professional

SOLIDWORKS Plastics Standard

plastics_premium

SOLIDWORKS Plastics Professional

plastics_advanced

SOLIDWORKS Plastics Premium

cae_cwadvpro

SOLIDWORKS Simulation Premium

cae_cwstd

SOLIDWORKS Simulation Standard

cae_cwpro

SOLIDWORKS Simulation Professional

3D CAD

 

solidworks

SOLIDWORKS Standard

swofficepro

SOLIDWORKS Professional

swofficepremium

SOLIDWORKS Premium

swofficepremium_cwadvpro

SOLIDWORKS Premium with Simulation Premium

swofficepremium_cwpro

SOLIDWORKS Premium with Simulation Professional

edrw

SOLIDWORKS eDrawings Professional

PDM

 

swepdm_cadeditor

SOLIDWORKS PDM Professional CAD Editor

swepdm_cadeditorandweb

SOLIDWORKS PDM Professional CAD Editor and Web

swepdm_contributor

SOLIDWORKS PDM Professional Contributor

swepdm_contributorandweb

SOLIDWORKS PDM Professional Contributor and Web

swepdm_processor

SOLIDWORKS PDM Professional Processor License

swepdm_viewer

SOLIDWORKS PDM Professional Viewer

swepdm_web

SOLIDWORKS PDM Professional Web

swpdmstd_cadeditor

SOLIDWORKS PDM Standard CAD Editor

swpdmstd_contributor

SOLIDWORKS PDM Standard Contributor

swpdmstd_viewer

SOLIDWORKS PDM Standard Viewer

Electrical

 

circuitworks

CircuitWorks

elec2d

SOLDIWORKS Electrical Schematic Professional

elec3d

SOLDIWORKS Electrical 3D

elecpro

SOLDIWORKS Electrical Professional

Technical Communication

 

swcomposer

SOLIDWORKS Composer

swcomposer_check

SOLIDWORKS Composer Check

swcomposer_pathplanning

SOLIDWORKS Composer Path Planning

swcomposer_playerpro

SOLIDWORKS Composer Player Pro

swcomposer_sync

SOLIDWORKS Composer Sync

swcomposer_syncenterprise

SOLIDWORKS Composer Enterprise Sync

swinspection_pro

SOLIDWORKS Inspection Professional

swinspection_std

SOLIDWORKS Inspection Standard

swmbd_std

SOLIDWORKS MBD

2D CAD

 

draftsightapi

DraftSight Enterprise

draftsightpremium

DraftSight Enterprise

 

 

For further information regarding new, legacy and other products, please contact support.

The <TYPE> field is filled with one of four different options:

  • USER – Windows username
  • HOST – Client computer name
  • Internet – IP address of client computer
  • GROUP

The <group_or_user> field is replaced with the group name, username, Client computer IP address, or Client computer name you wish to control with the operation. Remember, if the username has spaces in it, enclose it with double quotes.

Additionally, you can control many other aspects and behaviors of the license server with several other commands. Some of the common commands are defined below:

  • TIMEOUT <solidworks_product> <seconds> – Specify the period of inactivity in seconds that results in a particular product license being returned to the server. The default timeout period is 2 hours, and this timeout period can be shortened from anywhere to 15 minutes to 2 hours.
  • TIMEOUTALL <seconds> - Specify the period of inactivity in seconds that results in any product license being returned to the server
  • # - denotes the rest of the line as a comment
  • GROUPCASEINSENSITIVE ON - makes the capitalization of GROUP, USER, and HOST names irrelevant

The full list of commands can be found in Chapter 13 of the FlexLM End User Guide, which can be downloaded from SOLIDWORKS.

Once you have finished writing your options file, save the text document and click “Next,” or click “Browse” and browse to the options file you wish to use. Then, on the next page, select all products and choose the ”Automatically over the Internet” Option and click “Next” and then “Finish.”

To verify that the License Server is using the options file, click the ”View Log” button on the “Server Administration” Tab in the SolidNetwork License Manager. Look for a line that says “(SW_D) (@SW_D-SLOG@) Options file used: <path to options file>”

If you have any further questions, please contact support.

Brandon B.
Application Engineer
support@qintegration.com
800-370-3750