The lslic utility can be used to add non-redundant license codes to the license file (lservrc) and redundant license codes to the redundant license configuration file (lservrlf), depending on which options are used.
lslic can be run on supported version of Windows and UNIX. It can be run from the operating system command prompt by an administrative user on a stand-alone, client, or License Manager computer. It works for both stand-alone and network computers.
Use lslic in the following format:
lslic [option]
Option | Description | |
---|---|---|
Adds license to the License Manager memory only - Change is temporary and valid until the License Manager is restarted. |
||
-a <license code> |
Temporarily adds a license code (the string of characters given to you by your vendor) to the contacted License Manager's memory without updating the license file. In the case of redundant License Managers, the license is added in the memory of all the License Managers. On the License Manager restart, the added license is no longer available. |
|
-f < filename> |
Adds all the license codes provided in the supplied file (file given to you by your vendor) to the contacted License Manager's memory, without updating the license file on the License Manager. In the case of redundant License Managers, the licenses are added in the memory of all the License Managers. On the License Manager restart, the added licenses are no longer available. |
|
Adds license to both the License Manager and non-redundant/redundant license file - Change is permanent |
||
-A <license code> |
Adds the license code (the string of characters given to you by your vendor) to the contacted License Manager. Also, adds it to the License Manager’s license file (lservrc or lservrlf). In the case of redundant License Managers, the updated license code is synchronized amongst all the License Managers. |
|
-F < filename> |
Adds all the license codes provided in the supplied file (file given to you by your vendor) to the contacted License Manager's memory as well as the license file (lservrc or lservrlf). In the case of redundant License Managers, the updated license code is synchronized amongst all the License Managers. |
|
Removes license from the License Manager only - Temporary change |
||
-df <feature name> < feature version >[capacity | NOLIMIT] |
License(s) with specified feature name and version are temporarily deleted from the License Manager memory. Note that all the licenses (redundant and non-redundant) for the given feature-version are removed, and not a single license. In the case of redundant License Managers, this change is synchronized in the memory of all the License Managers. On the License Manager restart, the memory is replenished with the deleted licenses. |
|
-removeall |
Temporarily removes all license codes (redundant and non-redundant), of all the features-versions, from the License Manager memory but does not delete them form the license file. On the License Manager restart, the memory is replenished with the deleted licenses. |
|
-removeallcap [feature version] |
Temporarily removes capacities associated with licenses of the given feature-version, but does not delete them from the license file. On the License Manager restart, the same capacities are restored. |
|
Removes license from both the License Manager and license file - Change is permanent |
||
-DL <feature name> |
License with specified feature, version, and license hash is deleted from both the License Manager memory and file.
|
|
Set the trial license precedence |
||
-p <feature name> |
Sets the precedence of a trial license. The license hash can be obtained from WlmAdmin or lsmon. |
|
Pauses the lslic utility |
||
-P |
Pauses the utility and then shows the output in another console. Only for Windows Vista, 7, 8 (Desktop mode), Server 2008, and 2012. |