Open the Table of Contents

# 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 Manager 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.

- To install the license code, at the operating system command prompt type:

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 Manager to which you want to add the license code.

- If your vendor has given you a license code file to install rather than a string of characters to type, at the operating system command prompt, type:

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 Managers are restarted. For details on lslic, see lslic - Install/Delete a License Code.