Temporary Licensing
Permanent Licensing
Remote Licensing

Setting Variables


Setting Ports


FLEXlm Licensing

FLEXlm utilities are included with the installation of any SDI Product and will usually reside in the following directories:
Windows: C:\flexlm\bin
UNIX: ~sdi_account/application/bin

Because SDI software relies on FLEXlm licensing to function fully, an ASCII license file is normally required when using the software.
There are very few fields in a license that can be altered and changing the wrong field will invalidate the license file.
Please do not edit the license unless you are certain of the changes being made.

Temporary Licensing

During software installation, evaluation licenses will be copied into the following locations:

Windows: C:\flexlm\sdi.lic
UNIX: ~sdi_account/sdi_license/sdi.lic

If different locations are desired, be sure to update the FLEXlm license environment variable, SDI_LICENSE_FILE accordingly.
The default value for this environment is as follows:

Windows: SDI_LICENSE_FILE=C:\flexlm\sdi.lic
UNIX: SDI_LICENSE_FILE=~sdi_account/sdi_license/sdi.lic

A temporary license can be located on the root of the SDI Installation CD or by emailing SDI Support at


Permanent Licensing


To obtain a permanent license file, certain system information is required.
This information can be obtained by using the FLEXlm licensing utility, lmtools:
Start >> Programs >> SDI >> SDI Licensing >> lmtools

From the System Settings tab, click the Save HOSTID Info to a File button:


The saved file should then be emailed to support@sdicgm.com, referencing the SDI order number for the products

When the newly generated license is received, copy the file to c:\flexlm\sdi.lic, replacing any evaluation license
being used. From the lmtools utility, select the Config Services tab and configure settings for your system.
Enter a new Service Name and browse to select c:\flexlm\bin\lmgrd.exe and c:\flexlm\sdi.lic.
For debug purposes, enter c:\flexlm\debug.log in the third field (which won’t exist until you start the licensing daemons).
Please see figure below:


Be sure to check the Use Services and Start Server at Power Up which will ensure license daemons are started automatically in the event of a system reboot. To start the daemons manually, select the Start/Stop/Reread tab and start the license server. Server status can be verified from the Server Diags tab. From this screen, clicking the Perform Diagnostics button will interrogate the license daemons and return all available features.


To obtain a permanent license file we will need some system information, please send us the hostname and hostid of the UNIX machine you wish to license. To obtain this information execute the following commands on the command line and send to support@sdicgm.com, referencing the SDI order number for the products purchased.

lmutil lmhostid
lmutil lmhostid -hostname

When the newly generated license is received, replace the existing evaluation license file as defined by the SDI_LICENSE_FILE environment variable. The value for which should be as follows:


With the new license in place, start the FLEXlm license manager with the following command:

lmgrd -c ~sdi_account/sdi_license/sdi.lic -l ~sdi_account/sdi_license/debug.log

Remote Licensing:

A dedicated license server on another machine can be used to host the licenses for SDI software. To use this method, please verify the following:

  1. That the machine hosting the software has a reliable network connection to the license server. This can be verified by using the ping command. Also verify that the hostname resolves to the correct IP address. If you are unsure about how to check these settings, please contact your Systems Administrator.
  2. Verify that the FLEXlm daemons are running on the license server.
  3. Ensure that the environment variable, SDI_LICENSE_FILE, is assigned the value @remote_server as a system variable. Please note that remote_server should be substituted with the hostname or ip address of the actual license server.
  4. As default, FLEXlm uses port 27000 to communicate across networks. If this port is in use, it will be necessary to specify a different port within the license file. If this is the case, the environment variable on remote machines should be set to port_number@remote_server where port_number is substituted for a number in the 27000 to 27020 range.

Setting Environment Variables


To set the environment variable on Windows XP, open Control Panel >> System, click the Advanced tab and then the Environment Variables button. A New System Variable should be added as follows:


To verify that the Windows client machine can check these licenses out and connectivity can be established, execute the Perform Status Enquiry from the Server Status tab in the lmtools utility


Depending on the platform and the shell being used, the command for setting environment variables may differ. What follows are two common examples:

csh: setenv SDI_LICENSE_FILE @remote_server
ksh: export SDI_LICENSE_FILE=@remote_server

With the environment variable set, execute 'lmutil lmstat' from the command line to verify that licensing is active.


Note about FLEXlm ports

By default, FLEXlm uses TCP port 27000. If this isn't already in use, nothing needs to change from the aformentioned notes. If any process is using port 27000, flexlm will attempt to use the next available port until it finds one available. The log file will show which port is being used and if it differs from 27000, the following steps should be taken to ensure consistent results:

1. Define the alternate port within the license on the server line. If 27002 is used, alter the server line as follows:

SERVER hostname hostid 27002

Restart flexlm to accept the changes.

2. Define the new port in the SDI_LICENSE_FILE environment variable: