Setting limits
Limiting the number of licenses available to users or groups
The number of licenses that can be used by particular users or groups of users can be limited, to help support the desired distribution of licenses. Limiting particular users' access is done by a first match rule, so if a user is listed in more than one rule, the first rule encountered will apply to that user.
Example:
LIMIT_USER_CLCGENOMICSWB_1 = joebloggs marysmith LIMIT_IPADDR_CLCGENOMICSWB_3 = 192.168.2.* 192.168.4.*
The first statement would limit the number of CLC Genomics Workbench licenses available to joebloggs and marysmith to one, meaning only one of them could be running a CLC Genomics Workbench at any given time. The second statement specifies that a maximum of 3 CLC Genomics Workbench licenses can be checked out at any given time by machines with IP addresses matching the pattern provided.
LIMIT_HOST_featurename_limitcount
is also available for limiting licenses by hostname.
Borrow limits
Two limits are available that can be used to prevent clients from borrowing all the available licenses for a given feature, or from borrowing a feature for an unreasonable long time.
- BORROW_LIMIT_COUNT
Imposes a limit on the number of licenses that can be borrowed to
prevent all licenses from being borrowed at the same time. Borrow
limits are configured separately for each feature.
The syntax is:
BORROW_LIMIT_COUNT_<feature name> = <limit count>
Where <limit count> is number from 1 to the number of available licenses for the given feature. If you wish to restrict the feature from being borrowed completely you should specify a restriction as described in the previous section.
Example:
BORROW_LIMIT_COUNT_CLCMAINWB = 1 BORROW_LIMIT_COUNT_CLCGENOMICSWB = 5
The configuration in the example above will allow one license for the CLC Main Workbench to be borrowed and five licenses for the CLC Genomics Workbench to be borrowed.
- BORROW_LIMIT_HOURS
Limit the number of hours that licenses can be borrowed to prevent
licenses from being borrowed too long. Borrow limits are configured
separately for each feature.
The syntax is:
BORROW_LIMIT_HOURS_<feature name> = <limit hours>
Where <limit hours> is a number between 1 and the maximum borrow period imposed by the license. The maximum borrow limit for CLC Workbenches is one week.
Example:
BORROW_LIMIT_HOURS_CLCMAINWB = 48 BORROW_LIMIT_HOURS_CLCGENOMICSWB = 12
The configuration in the example above will allow licenses for the CLC Main Workbench to be borrowed and for 48 hours and licenses for the CLC Genomics Workbench to be borrowed for 12 hours.