Starting the License Server for Floating and Node-locked Counted Only Licenses

If you are using floating or node-locked counted licenses, use the following procedure to start the license server.

Note:

This task can be performed automatically during the install process. For more information, see “Configuring a Machine as a License Server”.

Prerequisites

  • The license server should be installed. Refer to “Configuring a Machine as a License Server” for instructions on how to use the automated license server installation provided in the Mentor Install program.

Procedure

  1. Define the license server service. You need to configure this application to run the server to your specifications. An application, lmtools.exe, controls the license server.
    Note:

    Typically, this program is found at Start menu > Mentor Graphics Licensing. If you do not see it there, search the license server hard drive for the file name lmtools.exe. Some tools store this executable inside the tree.

    1. Invoke LMTOOLS from the Start menu or by double-clicking on the executable. The executable is typically located in the Start menu in either Mentor Graphics Licensing or PADS VX.2.6 (32-bit).
    2. On the Service/License File tab, select Configuration Using Services.
    3. Select the Config Services tab.
    4. Fill in the Path to the lmgrd.exe file box. The lmgrd.exe file is found in the directory where you installed the license server software. By default, the location is C:\Mentor Graphics\Licensing.
    5. Fill in the remaining fields with the information appropriate to your system. Browsing for the license file only looks for files of type *.lic by default. Change the search criteria if the license file name ends in .dat or .txt.Make sure to select the “Use Services” and “Start Server at Power Up” check boxes.
    6. Click the Save Service button and click Yes.
  2. You must start the license server before it can serve licenses.
    1. Invoke LMTOOLS from the Start menu or by double-clicking on the executable.
    2. Select Configuration using Services.
    3. Select the Start/Stop/Reread tab.
    4. Verify that the desired license server service is highlighted, then click the Start Server button.
  3. Verify the server is running.
    1. Invoke LMTOOLS.
    2. Select the Server Status tab.
    3. Click the Perform Status Enquiry button.
    4. Ensure that the license server reports a status of UP and that there are no errors.
  4. On each client computer, define an environment variable to point to the license server. The clients must know how to contact the server in order to check out a license.
    1. Navigate to System Properties. Right-click on the Windows Start menu button and click the Search menu item.
    2. Type “Environment Variables” and then choose the “Edit the system environment variables” search result.
    3. In the System Properties dialog box, on the Advanced tab, click Environment Variables.
    4. Environment Variables dialog box, in the System variables list, create or edit the variable MGLS_LICENSE_FILE. Define the variable using the port number and host name of the license server. For example: 1717@cipher.
    Tip

    You can execute the Install License File VX.2.6 menu item from Start menu > PADS VX.2.6 (32-bit). Select the Network/Floating Licensing client.

    Tip

    MGLS_LICENSE_FILE can be created as a System variable, available to all users that log in to this system, or it can be created as a User variable, available only to the current user. A user with Administrator privileges may create a System variable. Be sure that only one variable points to your license server. Duplicate pointers can slow down performance and may cause other technical problems.