web
You’re offline. This is a read only version of the page.
close
Thermo Fisher Scientific > Electron Microscopy > Electron Microscopes > 3D Visualization, Analysis and EM Software > Customer Portal > Support Center

VISUALIZATION AND DATA SOLUTIONS

CUSTOMER SUPPORT CENTER

Views:

Context

 

The complete process for "FlexNet Server: Use lmgrd as an Alternative to lmadmin" is described in three articles.

This second article (2/3) explains how to install the FlexNet server.

 

Process

 

2. Install the FlexNet Server

  • Create the server license file in: 

<server_install_dir>/FlexNetLicenseServerTools/passwordServer.dat

  • Enter your information: 
    • SERVER <hostName> <hostId> [<portNumber>]
    • VENDOR <vendor name> [port=<vendor portNumber>]

For example: 

  • SERVER BOD1060 0024e83de91e
  • VENDOR asglmd

Note: If you have multiple Ethernet addresses, use the first one.

 

2.1 On Linux

 At this point, we assume that the FlexNet files are installed in the default location: 

cd <server_install_dir>/FlexNetLicenseServerTools/

The Vendor Daemon (asglmd or mcslmd) must be in the same directory as lmgrd. The command to start the server looks like this:

./lmgrd -c <server_license_file> -l [+]<debug_log_path>

Where:

  • <server_license_file> is the full path to the server license file.
  • <debug_log_path> is the path to the debug log file

Prepending the "+" character to the log file name causes log entries to be appended. Here is the suggested command to use:

./lmgrd -c passwordServer.dat -l +flexnet.log

 

Note: Whenever you make changes to the server licenses, use the above command. If the operation fails the first time, wait a few seconds and retry.

Tip: It can be convenient to set up the server to start automatically upon system reboot. This involves editing the system boot script.
For information on how to start lmgrd automatically under UNIX (Linux), refer to FlexNet Publisher – License Administration Guide chapter – “License Server Manager “lmgrd”.

 

2.2 On Windows

At this point, we assume that the FlexNet files are installed in the default location:

<server_install_dir>/FlexNetLicenseServerTools/

FlexNet uses a program called lmgrd to manage licenses. On Windows, FlexNet provides an advanced tool called LMTOOLS that allows you to configure lmgrd to run as a service. This is the preferred method of configuring FlexNet and is outlined below.

Note: To configure a license server as a service, you must have administrator privileges. The Vendor Daemon (asglmd.exe or mcslmd.exe) must be in the same directory as lmgrd.exe.

 

2.2.1 Launch LMTOOLS and navigate to the Service/License File tab. Select the Configuration using Services option.

Content/Resources/Images/tlm/lmtools001.png
 

2.2.2 Next, open the Config Services tab and proceed as follows:

Content/Resources/Images/tlm/troubleshoot/lmtools002.png

  • Service Name field: Enter the name of the service that you wish to define. It is recommended that you use the name "Thermo Scientific Applications License Manager".

  • Path to the lmgrd.exe file field: Enter or browse to the lmgrd.exe for this license server. Typically, the path will be: 

<server_install_dir>\FlexNetLicenseServerTools\lmgrd.exe

  • Path to the license file field: Enter or browse to the license file for this license server. It is recommended to copy the server license file to: 

<server_install_dir>\FlexNetLicenseServerTools\passwordServer.dat

  • Path to the debug log file field: Enter or browse to the debug log file that this license server writes to, such as FlexNet.log. (Prepending the debug log file name with the "+" character appends logging entries. The default location for the debug log file is the C:\WINDOWS\System32 folder. To specify a different location, ensure you provide a fully  qualified path.) For most users, the following path should be appropriate: 

<server_install_dir>\FlexNetLicenseServerTools\flexnet.log

  • (Optional) Click on View Log to display the log file. Verify that no logging errors occur (that is, the log file can be opened and contains readable text). Click on Close Log to close the log file.

  • To ensure that the license service is always running and automatically starts upon system reboot, select the two checkboxes, Use Services and Start Server at Power Up, at the bottom of the dialog.

  • To save the new Thermo Scientific Applications License Manager service, click on Save Service.

 

Related links

To learn about the entire process, refer to these articles:

  • KA-01288 "FlexNet server: Using lmgrd as an alternative to lmadmin (1/3)" (Information needed to create the license server file)
  • KA-01290 "FlexNet server: Using lmgrd as an alternative to lmadmin (3/3)" (Start the server & manage your licenses)