Install Tekla license server using manual installation

Tekla Structures
Not version-specific
Tekla Structures

Install Tekla license server using manual installation

Use manual installation if the default settings for automatic installation do not meet your needs. Use manual installation only if you are an advanced user of FlexNet or FlexIm licensing.

Before installing the Tekla on-premises license server:

  • Turn off the internal firewall and pause the antivirus protection.
  • Ensure that you have access to the internet. An internet connection is needed during the license activation process. An unreliable connection speed can cause errors.
  • If you are using other FlexNet licensing services, stop them before you install the Tekla license server. When you have completed the Tekla license server installation, you can start the other licensing services again.

Download and install the Tekla on-premises license server

Manual installation also installs these files:

  • installanchorservice.exe

  • uninstallanchorservice.exe

You need these files when you manually install or uninstall FlexNet Licensing Service.

  1. Download the latest Tekla on-premises license server installation package.
    1. Go to Tekla Downloads.
    2. Select the version of Tekla Structures that you use, then click All downloads.
    3. Scroll down to the On-premises license tool section.
    4. Download the Tekla License Administration Tool.
  2. Run the Tekla on-premises license server installer.
    1. Double-click the installation file to run the installation.
    2. Follow the steps in the installation wizard to complete the installation.

      Select Manual as the licensing server installation type

  3. Finish the installation at the Windows command prompt.
    1. On the Windows Start menu, run Command Prompt as administrator.
    2. To change to the installation director, enter the following command: cd /d %SYSTEMDRIVE%\Tekla\License\Server
    3. To run the command line installer, enter the following command: installanchorservice.exe

    The license server is installed.

Modify the license file manually

Modify the hostname or IP address, and the TCP/IP port of the server in the tekla.lic license file.

  1. On the server computer, open the ..\Tekla\License\Server folder.
  2. Open the tekla.lic license file in a text editor.
  3. To change the host name or IP address, on the line SERVER localhost ANY, replace localhost with the hostname (computer name) or the IP address of the license server.

    Do not delete the text SERVER and ANY when you enter the hostname or IP address of the license server.

    The following formats are valid:

    Host name:server_hostname

    Domain name: server_hostname.mycompany.com

    IP address: 10.0.0.12

  4. To change the port number, enter the TCP/IP port number after SERVER server_hostname ANY.

    The port number can be any free port in the range of 0 - 64000.

  5. Save the changes and close the text editor.

Configure the Tekla license server manually, then restart the Tekla Licensing Service for the changes to take effect.

Configure Tekla license server manually

  1. On the Windows Start menu, go to Tekla Licensing > LMTOOLS.
  2. Start LMTOOLS with administrators rights.
  3. On the Service/License File tab, click Configuration using Services.
  4. On the Config Services tab, configure the licensing service.
    1. In the Service Name box, enter the name of the service exactly as follows: Tekla Licensing Service.
    2. Click Browse and browse to the locations of the lmgrd.exe (license server manager), tekla.lic, and tekla_debug.log files.

      By default, lmgrd.exe, tekla.lic and tekla_debug.log are located in the C:\Tekla\License\Server folder.

      If you set Path to the debug log file outside the "C:\ProgramData\..." folder, you get an error message: "Windows preferred path <SystemDrive>\ProgramData to store service data is not set." This error message can be ignored.

    3. To run the licensing service as a Windows service, select Use Services.
    4. To start the licensing service automatically after Windows startup, select Start Server at Power Up.
    5. Click Save Service to save the settings.

  5. On the Utilities tab, configure the following settings:

    Vendor Name: Enter tekla (all letters lowercase).

    Path: Enter the name of the license server.
    • If you run the license server and Tekla Structures on the same computer, enter @localhost. You can also enter the TCP/IP port, for example, 27007@localhost.
    • If you run the license server and Tekla Structures on separate computers, enter the hostname of the license server, for example, @server_hostname.
    • You can also enter the TCP/IP port of the license server, for example, 27007@server_hostname. You must define the port if you use another port than the default port.
    • You can also enter several license servers. Separate the server names with a semicolon. For example, 27007@server_hostname;27007@localhost.
  6. Click Override Path to replace the existing license servers that are shown in the status list on the Server Status tab.
  7. On the Start/Stop/Reread tab, click Start Server to start the license server.

    The status bar shows a message that the server started successfully.
  8. On the Server Status tab, click Perform Status Enquiry.

    The status list shows the TCP/IP port and hostname of the license server. The list indicates that license server is up and vendor daemon tekla is up. The list also shows all the activated licenses on the server.

Next, activate the licenses and connect Tekla Structures to the license server. See Activate on-premises licenses and Connect Tekla Structures to the on-premises license server.

Was this helpful?
Previous
Next