Installing a Non-Redundant License Code

Use the lslic utility to install the license code in the license file on the same computer and in the same directory in which the license server resides. By default, the license file is named lservrc, and it may contain multiple license codes.

Check the ways listed below and install the non-redundant license code using the one that suits you.

lslic -A license-code

where license-code is the string of characters given to you by your vendor. If you do not include the license code after the -A option, lslic asks you for it.

Tip:

If you need the licenses to be added to a remote host, set the LSFORCEHOST environment variable on the computer on which you are using lslic to the host name of the computer containing the license server to which you want to add the license code.

lslic -F filename

where filename is the name of the file given to you by your vendor.

Both of these commands install the license code permanently. lslic provides other ways to install a license code. For example, you can add the license code temporarily to be in effect only until the license servers are restarted. For details on lslic, see lslic - Install/Delete a License Code.