Adding a New License on Linux

You may need to add new licenses to your existing license server if, after you install your software and licenses, you decide to purchase additional Mentor licenses for your existing software.

Prerequisites

Procedure

  1. Set the license environment variables.

    You must set either MGLS_LICENSE_FILE or LM_LICENSE_FILE so that the licensing software can find the location of the license file or server. For more information, refer to “Environment Variables for Licensing”.

  2. Edit the license file with the new licenses.

    Use a text editor to add the new INCREMENT lines to the existing license file.

  3. Use lmreread to reread the license file if the server is running.
    $ lmutil lmreread [-c {license_file | port@host}]
    Note:

    If you do not set LM_LICENSE_FILE, you must use the -c switch with all lm* commands.

  4. Validate the server environment.

    Use lmstat to check that the server is up and that a feature is available.

    $ lmutil lmstat -a [-c {license_file | port@host)]

    This command reports the server and daemon status and product usage.

  5. Use mgls_ok to verify that a client can check out a specific license feature.
    $ mgls_ok license_name