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 email@example.com, referencing the SDI order number for the products purchased.
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
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:
- 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.
- Verify that the FLEXlm daemons are running on the license server.
- 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.
- 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.
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.
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: