Altair EEvision™

FlexNet™ License Server Installation Guide

These Installation Notes provide information about installing a FlexNet License Server for the Nlview® Widget Family and other Altair Engineering tools.
Some knowledge about Flexera Software's FlexNet Publisher is needed to understand details.

For information on how-to setup a license client please check out the FlexNet Installation Guide

Index

Installing FlexNet license server software

This chapter describes setting up a license server as required for floating FlexNet licenses. If you already have lmgrd running go to Installing dconcept daemon if FlexNet is already running.

To use the FlexNet license server mechanism, you must install the FlexNet software first:

Choose a license server (e.g. your local computer or a machine reachable in your existing TCP/IP-based network). The license server could be running either on UNIX or Windows operating system.
If you choose a Windows PC as your server, make sure that the TCP/IP protocol stack is correctly installed and configured. You also must have a Windows version supported by FlexNet: The FlexNet server and utilities require Windows 7 or later to run. For unix, the installation of the LSB support libraries is required.

If you choose a license server different from your local computer, then copy the flexnet-11.16 directory tree shipped with our separate FlexNet package to that license server.

Go to the directory containing the files that correspond to your server's platform. Copy the license.dat file that you have received from Altair Engineering to this directory. Make sure the server's hostname and its FlexNet hostid match the corresponding data in your license.dat file. Modify the hostname in the file, if needed.

Modify the VENDOR line in the license.dat by entering the correct path to our dconcept vendor daemon for this platform. This argument is optional. However, if specified, make sure it includes the name of the vendor daemon's image (not just the directory).
If the server is a Linux/x64 machine and if the FlexNet daemon is installed in /path/to/flexnet-11.16/linux64, the VENDOR line should look like this:

VENDOR dconcept /path/to/flexnet-11.16/linux64/dconcept

...on Windows, it could look like this:

VENDOR dconcept C:\path\to\flexnet-11.16\win64\dconcept.exe

If the default IP port number 1700 is already in use, then you must change the IP port number both in the SERVER line of the file license.dat and in the LM_LICENSE_FILE environment variable.

Manual start up (daemon mode):
Start the lmgrd License Manager daemon manually by typing:
UNIX    ./lmgrd -c license.dat > license.log &
Windows   lmgrd -c license.dat > license.log

Note: If lmgrd fails to start, please read the troubleshooting section.

Manual start up (foreground mode):
For testing purposes you can start the lmgrd License Manager daemon in foreground mode. The -l option redirects the output into a logfile for easier analysis:
UNIX    ./lmgrd -l license.log -z -c license.dat
Windows   lmgrd -l license.log -z -c license.dat
Automatic service start up on boot:
If you want lmgrd to be automatically started as a service at boot time:
  • On UNIX systems:

    add the line above into a boot-rc file, systemd unit, etc

  • On Windows systems:

    You can use the FlexNet GUI program lmtools.exe, see below for details

Configuring license server with lmtools.exe on Windows

Start lmtools.exe (requires Windows 7 or later). This will start the "LMTOOLS" dialog window.

Open Config Services tab and fill in the fields:
  Path to lmgrd.exe file  C:\path\to\flexnet-11.16\win64\lmgrd.exe
  Path to license file    C:\path\to\license.dat
  Path to debug log file  C:\path\to\license.log

If you want lmgrd to be automatically started at boot time:

Open Config Services tab and check:
  [X] Use Services
  [X] Start Server at Power Up

Open tab Start/Stop/Reread and start the License Server.
Open tab Server Status and press "Perform Status Inquiry" to display the server status in the lower window. If anything went wrong make sure to check the logfile license.log you specified before as "Path to debug log file".

Installing the dconcept daemon if FlexNet is already running

If you already have a lmgrd running you do not need to start another one. Instead, log in to your license server (the host where lmgrd is running) and copy dconcept (or dconcept.exe on Windows) to the directory of your FlexNet vendor daemons (e.g., to /usr/local/flexnet):

Edit the license file on your license server. The license file is normally called license.dat. If you are not sure where to find it, try this:

UNIX:    The license file name is specified as -c command-line argument to lmgrd
Windows: Open the lmtools.exe program to find the name of the license file.
    

Add the new VENDOR and the new FEATURE line into your existing license file. The VENDOR line might look like this:

VENDOR dconcept /usr/local/flexnet/dconcept

The FEATURE line must be exactly as received from Altair Engineering.

Make sure the IP port number in the SERVER line is matching the port number for this server in LM_LICENSE_FILE environment variable.


FlexNet is a registered trademark of Flexera Software.
Windows is a registered trademark of Microsoft Corporation.