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 entire 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. Installing 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>]

Example: 

  • SERVER BOD1060 0024e83de91e
  • VENDOR asglmd

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

 

2.1 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. The following is the suggested command to use:

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

 

Note: Any time you make a change to the server licenses, you should use the above command. If the operation fails the first time you enter it, wait a few seconds and retry.

 

Tip: It can be convenient to set up the server so that it is started automatically upon system reboot. This would involve editing the system boot script.
For information about how to start lmgrd automatically under UNIX (Linux), please refer to FlexNet Publisher – License Administration Guide chapter – “License Server Manager “lmgrd”.

 

2.2 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 one to configure lmgrd to run as a service. This is the preferred method of configuring FlexNet and is outlined below.

 

Notes: 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 Run LMTOOLS

lmtools001
 

2.2.2 Click the "Configuration using Services" radio button to select it.

2.2.3 Click the "Config Services" tab.

 

lmtools002

 

2.2.4 In the "Service Name" field, type the name of the service that you want to define. It is recommended that you use the name Thermo Scientific Applications License Manager.

2.2.5 In the "Path to the lmgrd.exe file" field, enter or browse lmgrd.exe for this license server. In many cases the path will be:

<server_install_dir>\FlexNetLicenseServerTools\lmgrd.exe

2.2.6 In the "Path to the license file" field, enter or browse the license file for this license server. It is recommended that you copy the server license file to:

<server_install_dir>\FlexNetLicenseServerTools\passwordServer.dat

2.2.7  In the "Path to the debug log" file, enter or browse the debug log file that this license server writes. For example, 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, make sure you specify a fully  qualified path.) For most users, the following should be appropriate:

<server_install_dir>\FlexNetLicenseServerTools\flexnet.log

2.2.8  (Optional) Click the "View Log" button to display the log file. Check that no logging errors occur (i.e., log file can be opened and contains readable text). Click on the "Close Log" button to close the log file.

2.2.9 To ensure that the license service is always running and automatically started upon system reboot, it is necessary to set the two checkboxes, "Use Services" and "Start Server at  Power Up" at the bottom of the dialog.

2.2.10 To save the new Thermo Scientific Applications License Manager service, click the "Save Service" button.

 

Related links

To find out about the entire process, see the articles:

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