Editing the License File for Floating Licenses

The floating license file, which Mentor provides, contains some placeholder information. Edit the placeholder data by replacing it with information correct for your site.

Tip

This task can be performed automatically during installation. For more information, see “Completing License Configuration”.

Refer to “Configuring a Machine as a License Server” for information on the automated license server installation.

Procedure

  1. On the license server computer, open a text editor (for example, Notepad) to edit the license file.
  2. Acquire the TCP/IP hostname of the server that will host the license server. To find the correct hostname, open a command window and execute the ipconfig /all command.
  3. Edit the SERVER line of the license file to reflect the correct hostname. You must change the field immediately after the keyword SERVER, put_server_name_here, to the TCP/IP hostname on which the server is to run. Be sure you replace that entire string with the actual hostname.
  4. Verify the port number. The fourth field of the SERVER line is the communication port number. The default value is 1717. This number can be set to any other port number which is currently not in use.

    Here is an example of a SERVER line after editing:

    SERVER cipher 00C04FA124CB 1717
  5. Edit the DAEMON line to include the path to the mgcld vendor daemon. On the DAEMON line, you must edit the third field, path_to_mgcld, to an absolute pathname which resolves to the mgcld.exe executable, which is located in the directory where the license server software was installed. By default, this is the C:\MentorGraphics\Licensing directory. Locate mgcld.exe and specify its path.

    Here is an example of a DAEMON line after editing:

    DAEMON mgcld C:\MentorGraphics\Licensing\mgcld.exe
    Tip

    The pathname you specify on the DAEMON line must not have spaces. You can use long filenames provided they do not use spaces. If the path specified contains a space, surround the entire path with double quotes, or convert it to a MS-DOS format filename. For example, Program Files becomes Progra~1. If you cannot locate mgcld.exe on your license server computer, you probably have not installed Mentor licensing. If you require assistance with this step, submit a Service Request on Support Center for help from Customer Support.

  6. In the license file, ensure that there are no blank spaces at the end of any line.