EN: TECHNIA FlexNet license server quick start guide

EN: TECHNIA FlexNet license server quick start guide

Table of contents

 

1. Determining a FlexNet hostid

Determining a FlexNet hostid for a physical machine:
https://technia.jira.com/servicedesk/customer/portal/11/article/3728146689

 

Determining a FlexNet hostid (UUID) for a virtual machine:
https://technia.jira.com/servicedesk/customer/portal/11/article/3913613516

 

2. Requesting a TECHNIA FlexNet server license

https://www.technia.com/support/license-request/#3D

 

3. Installing a TECHNIA FlexNet License Server for the first time

3.1 On the server where you want to install the FlexNet license server:

3.1.1

When you have received the email with the license file from TECHNIA, place your license file into a common directory, we recommend placing the file in a sub directory of C:\ProgramData, e.g.:
C:\ProgramData\FlexNet_11.XX_TECHNIA\LIC

 

3.1.2

Open the license file in a text editor.
At the SERVER line replace “add_your_hostname_here” with the actual hostname of your license server.
Specify any free IP port number at the end of the SERVER line, e.g. 27009
Specify any free different IP port number at the end of the VENDOR line, e.g. PORT=28009
Finally save the changed file.
Don’t forget to open these 2 IP ports in your firewall so that client computers can connect to the FlexNet service.

You can find the name of your license server in the Windows Control Panel / System and Security / System, see Picture below:

If you are on Windows 11 then hit <Windows>+<i> to open Windows Settings and go to System \ About (scroll the list down to the last entry).

grafik-20250417-082711.png
grafik-20250417-093402.png

 

3.1.3

Download the needed files from https://www.technia.com/support/software-downloads/

At Choose Product select “FlexNet Publisher” and at Choose Version select the Version matching to your needs (e.g. Windows 64-bit).

 

grafik-20250402-110020.png

 

3.1.4

Extract the downloaded zip file and copy the files lmtools.exe, lmgrd.exe, lmutil.exe and TRANSCAT.exe into your FlexNet folder C:\ProgramData\FlexNet_11.XX_TECHNIA (refer to 3.1.1)

(If your license was issued for a virtual machine and you’re running an older FlexNet 11.14 or below, please also store the file GENID.lic in C:\ProgramData\FlexNet_11.XX_TECHNIA\LIC directory (refer to 3.1.1).

3.1.5

Start the FlexNet administration GUI lmtools.exesee in the folder C:\ProgramData\FlexNet_11.XX_TECHNIA (refer to 3.1.1).

On the Tab "Config Services" you should set following: (see Picture below).

1. Service Name: Enter a service name of your choice. We suggest the name FlexNet 11.XX TECHNIA
2. Path to the lmgrd.exe file: Full path to lmgrd.exe.
Example: C:\ProgramData\FlexNet_11.XX_TECHNIA\lmgrd.exe
3. Full path to the directory where the license files are located. The path must not exceed 255 characters. Example: C:\ProgramData\FlexNet_11.XX_TECHNIA\LIC
4. Path to the log file: Full path and name of the log file. The path must not exceed 255 characters.
The information in this file can help you resolve problems during server startup.
Example: C:\ProgramData\FlexNet_11.XX_TECHNIA\FlexNet_11.XX_TECHNIA.log
5. and 6. "Start Server at Power Up" and "Use Services" must be selected.
7. Finally, click on "Save Service".

image-20240725-063107.png

3.1.6

Switch to the tab "Service/License File" and choose your newly created service "FlexNet 11.XX. TECHNIA”

image-20240726-054051.png

Then switch to the tab "Start/Stop/Reread" and click on "Start Server":

image-20240726-054535.png

3.1.7

You can now quit LMTOOLS and check the status of your FlexNet service in Windows Service Manager. To open Windows Services, run services.msc. Here you will be able to start, stop or disable your FlexNet Service. Search for “Flexnet 11.XX TECHNIA” and check the status. The status must be “Running”.

image-20240726-055137.png

For further information in case of problems, please refer to chapter 4 "Troubleshooting" of the "TECHNIA_Administration_Guide_for_FlexNet":

https://technia.sharefile.com/public/share/web-s7ead1d452fb84562a49f1652e49c5cc1

If your specific problem is not described in chapter 4 “Troubleshooting”, please send your FlexNet server log file and your adapted license key file as well as screenshots of any error messages to TECHNIA Support for analysis.

3.2 On your client computer


The license search path can be defined in an environment variable or in the Windows registry.

If the license search path is defined both in the registry and in the environment variable, the environment variable has precedence:

3.2.1 Windows environment variable

In Windows, choose Start> Control panel> System> Advanced> Environment variables

If you are on Windows 11: hit <Windows>+<i> to open Windows Settings and go to System \ About (scroll the list down to the last entry).

Unbenannt-20250417-093653.png
Unbenannt-1-20250417-094003.png

 

Set the environment variable: TRANSCAT_LICENSE_FILE=port@servername

Example: 27009@myserver (refer to 3.1.2)

Please confirm with OK, and restart Windows.


3.2.2 Windows Registry

When starting the application without a valid license search path, the “FlexNet License Finder” window is shown, where you can specify the license search path. The license search path will be stored in the Windows registry of the user.

Please set your port (e.g. 27009) and license server name (refer to 3.1.2) as: port@servername

For example: 27009@myserver

Click Ok

The license search path is then stored in the registry path HKEY_CURRENT_USER\Software\FLEXlm License Manager as a variable TRANSCAT_LICENSE_FILE

 



4. TECHNIA FlexNet server license renewal or enrolling an additional server license

On your License Server Hardware:

To replace an expired license or add a purchased license, you have to open the path to your existing license file in Windows Explorer. You can find the path to the license file in the administration console of your FlexNet server.

Start FlexNet administration GUI

To do this, please start lmtools.exe from the appropriate directory where you initially installed FlexNet, e.g. C:\ProgramData\FlexNet_11.XX_TECHNIA\lmtools.exe

If several FlexNet servers are installed, the desired server can be selected in the 1st tab "Service / License File".

image-20240726-054642.png

Find expired or existing license

In the tab "Config Services", the path to the existing license folder can be found or specified,
if previously a single license file was referenced, e.g. C:\FlexNet_11.XX_TECHNIA\LIC

image-20240726-054801.png

In the license file, adjust the SERVER and VENDOR lines

Open your old / older license file from this folder with an editor, copy the server and vendor line to the clipboard (see picture) and replace these two lines in the newly received license file.

Make sure that all current licenses are in the LIC folder and include the correct SERVER and VENDOR line.
Please remove expired licenses from the folder.

Read newly registered licenses during operation.

In the FlexNet administration GUI (if not yet started, refer to 3.1.5), click [ReRead License File] via the "Start / Stop / Reread" tab.
Finally, check if the Reread was successful (see picture below)



Check the log file

Click on the "Config Services" tab [View Log] and the .log file will be displayed. Scroll here to the end to see if the licenses have been successfully imported (... Finished Rereading). Close the log file display with [Close Log].

 



TECHNIA CONFIDENTIAL