Configuring Licensing on a Client Workstation on Linux

After you start a license server, you can configure licensing on a client workstation.

Prerequisites

Procedure

  1. Set the licensing environment variables to find the licensing software, and set the environment variables for the application to find the license file.

    You must set either the MGLS_LICENSE_FILE variable or the LM_LICENSE_FILE variable to point to the license file location.

  2. Validate the server environment.

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

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

    The lmstat command reports the server and daemon status and the product usage.

    Note:

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

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