Install / delete a license code with the lslic utility

The lslic utility installs or deletes a license. 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 server computer. It works for both stand-alone and network computers.

Use lslic in the following format:
lslic [option]
Where the option might be:
-a license-code

Adds a license code to the contacted license server without updating the license file. Note: Change is temporary until the license server is restarted.

-f filename

Adds all the license codes in the supplied file to the contacted license server without updating the license file (lservrc). Note: Change is temporary until the license server is restarted.

-A license-code

Adds a license code to the license server’s license file (lservrc) and communicates the change to the contacted license server. Note: Change is permanent

-F filename

Adds all the license codes in the supplied file to the license server’s license file (lservrc) and communicates the new information to the contacted license server. Note: Change is permanent

-df feature_name feature_version[capacity | NOLIMIT]

License(s) with specified feature name and version are deleted from the license server memory. Note: Change is temporary until the license server is restarted.

-removeall

Removes all license codes (redundant and non-redundant) from the license server but does not delete them form the license file. Note: Change is temporary until the license server is restarted.

-removeallcap [feature version]

Removes capacity for specific license from the license server but does not delete them from the license file. Note: Change is temporary until the license server is restarted.

-DL feature-name
feature version
license hash
[capacity | NOLIMIT]

License with specified feature_name, version and license hash is deleted from the license server memory and file. Note: Change is permanent Tip: The license hash can be obtained using the lsmon utility.

-p feature-name
feature version
license hash
precedence

Sets the precedence of a trial license. The license hash can be obtained from WlmAdmin or lsmon.

-p

Pauses the utility and then shows the output in another console. Only for Windows Vista, 7, and Server 2008.

Tips on Using lslic

* If you do not include necessary information on the command line, lslic will ask for the missing information.

* You can use the LSFORCEHOST environment variable to add/delete licenses to a particular license server.

* When you enter a license code, if you are entering an encrypted license code, type only the characters before the # symbol.

* lslic can add or delete licenses without stopping and restarting the license server, but the change is only temporary unless you use an option that makes the change to the license file.

* To use lslic to modify a license file or redundant license file for a license server on a remote computer, use the LSFORCEHOST environment variable to point your computer to the computer containing that license server.

* If you are using lslic to modify a license file on a remote computer, you must have write-access to that computer.

* License deletion is not supported for the following licenses:

* Checked out commuter license tokens residing on the local computers

* Grace licenses being used on the non-networked computers

* Licenses in the redundant license files (lservrlf)
For further information, please consult Sentinel RMS Kit System Administrator’s Help that can be found in \LicenseServer\server\SysAdminHelp\Default.htm.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s