trans
knowledge base
trans
contact
impressum
legal notice
BioSolveIT
The Premier Scientific Solution Provider
Knowledgebase Home | Glossary | Favorites | Support Knowledgebase Home | Glossary | Favorites | Support
Search the Knowledgebase Browse by Category
HowTo: Running a FlexLM License Server
User Opinions
81% thumbs up 18% thumbs down (11 votes)

How would you rate this answer?
Helpful
Not helpful

The regularly licensed versions of most of our tools allow that license requests for all installations in a network are managed by a single, so-called  'license server'. This is not a machine but a piece of software running on a computer. Such a server may manage the license requests for hundreds or thousands of compute clients. This server can also limit the number of processes running in parallel, or jobs at a given number. This number is encoded in the license file that also includes other information such as the date of the license expiry and licensed modules of FlexX/-SIS/FTrees/ReCore etc. Only if you run a BioSolveIT program with a license that counts the number of processes (a 'counted' license) it is necessary to install a FlexLM license server.

Usually purchased/leased licenses are 'counted' licenses and therefore require a license server.

Demo licenses usually(!) do not require a 'counted' license plus server.

You can determine of what type your license is by looking at its contents;
if you find 'USE_SERVER', then you must install a license server as described below, please.

Determine the Server's BioSolveIT Host ID

To create a server license key, we ask you to determine the "BioSolveIT Host ID" of the computer that will host your license server. This server will manage all your license requests in the future. It is very important to determine the ID of the machine that will be used as the license server. The license server will only start on this very machine!


Please use the tiny tool flexidgen that you will find in the download page after having selected your tool in the flexidgen column.


Please, send this Host ID (it is preceeded with BIOSOLVEIT=0BS) to license@biosolveit.de. Next, you will receive an email that includes the server license file.

A side note:
The ID may change upon operating re-install and/or network card changes.


License Server Installation

Download the "BioSolveIT FlexLM" tool from the BioSolveIT homepage. There are versions for several platforms available. The package includes all files necessary to install and run a FlexLM license server.


MS-Windows

(You can watch the demonstration movie on a German Windows.)

Unzip the zip package

Start LMTOOLS.EXE

Select the "Config Services" tab and enter the service name, e.g. "FlexX License Server".

Use the Browse buttons to select

  • lmgrd.exe
  • the licence file that you obtained from BioSolveIT
  • and a log file name

Check the "Use Services" checkbox.

Check the "Start Server at Power Up" checkbox to restart the server automatically after a reboot

Click "Save Service"

Select the Start/Stop/Reread tab

Select "Start Server"

Select the "Service/License File" tab and make sure that "Configuration using Services" is selected.


Linux/Unix

Unzip the downloaded package and run the command

./lmgrd -c /path/to/your/licensefiles/license.lic

To start the license server in the directory where you unpacked zips. If this doesn't work, make sure the lmgrd and BIOSOLVE files have executable rights set. If not, run the commands:

chmod 775 lmgrd
chmod 775 BIOSOLVE

In the directory where you unpacked lmgrd and BIOSOLVE from the zip.

(In case you already have a running Macrovision FlexLM infrastructure, you only have to add the file BIOSOLVE to the directory where your system administrator stores other FlexLM vendor daemons. Also, consult your system administrator to automatically start the license server everytime your server machine is booted)

Configuring

Option 1: using an environment variable (recommended!)


Set the environment variable BIOSOLVE_LICENSE_FILE to @<hostname> where <hostname> is the machine name of your license server, (e.g. using "setenv BIOSOLVE_LICENSE_FILE @<hostname>" or "set BIOSOLVE_LICENSE_FILE=@<hostname>").

If you happen to have to define a port, enter the port name before the "@", like this:

BIOSOLVE_LICENSE_FILE=<port_number>@<hostname>



Option 2: Use config*dat

We recommend option 1, but if you choose this option,
then this applied to these tools only:


FlexX prior to Release3
FlexSIS prior to Release3
FTrees
FlexS
2Ddraw
CoLibri
FlexNovo

Alternatively, you can edit the tool's file config*dat and add the license server entry

@LICENSE_FILE
:@<hostname> # use a semicolon (;) instead of a colon (:) on Windows

config.dat is no longer available from FlexX/-SIS Releases 3.x onwards. In Releases 3 and above, please use the GUI to set the license server information via File | Global Preferences.

Visitor Comments
  1. Comment #1 (Posted by Anonymous)
    BIOSOLVEIT_LICENSE_FILE or BIOSOLVE_LICENSE_FILE Answer from Support: BIOSOLVE_LICENSE_FILE is correct.
Related Questions
No related questions were found.
Attachments
No attachments were found.
Last modified Saturday, 31. Jul 2010 12:45 CEST by WebMaster