You are able to reserve specific licenses for selected users or groups of users so the license is always available to them. Any licenses reserved for a user or group are dedicated to them and not available to any other user even if the license is not in use.
This can be accomplished using an Options file that is read-in to the SNL license file. For information on creating an Options file, please refer to the tech tip “Changing 2010 SolidNetwork License Manager Default Timeout Period” that was posted on August 10, 2010.
Once you have the sw_d.opt Options file created, add the following lines to create groups and reserve licenses:
DEFINE THE GROUP:
Define the different groups of users to control. Write a new definition on a separate line for each group. The definition of a group includes:
GROUP <Group_Name> <user> <user> . . . (do not include <> or . . . )
- GROUP is the FlexLM syntax to define a group
- Group_Name is the name to use to reference the group
- User is username. The number of user entries depends on how many users are in the group.
RESERVE THE LICENSES:
Set the number of licenses desired to reserve. Again, create a new reserve line for each group. The definition of a reserve line includes:
RESERVE <Number_reserved> <feature> GROUP <Group_Name> (do not include <>)
- RESERVE is the FlexLM syntax to define a reservation
- Number_Reserved is the number of licenses to reserve for a group
- Feature is the type of license to reserve, e.g. SolidWorks Office Premium (a list of features can be found at the Aug 10 tech tip)
EXAMPLE:
Company X wants to reserve 1 license of SolidWorks Premium for group1 (consisting of user1, user2, and user3) and 1 license for group2 (consisting of user3 and user4). The Options file should look like this:
GROUP group1 user1 user2 user3
GROUP group2 user4 user5
RESERVE 1 swofficepremium GROUP group1
RESERVE 1 swofficepremium GROUP group2
—————————————————————————————————————————————————————————-
**If you want to reserve a license specifically for one user, use the format:
RESERVE <Number_reserved> <feature> USER <user> (do not include <>)
Further information about Options files using the Group and Reserve keywords can be found in the FLEXlm User’s Guide located in C:\Program Files\SolidWorks Corp\SolidNetWork License Manager\docs\flexuser. Browse to Chapter 13 on page 115.