Setup guide
Configure nodes or workstations to get a license
Create a licence file on each computer so that it can get a license from the license server. Do this even if the
server and client are on the same machine.
1 As root, Log in as root, open for editing /usr/local/flexlm/licenses/DL_license.dat. If it doesn't
exist yet, create it.
2 Copy the SERVER, DAEMON, and USE_SERVER lines into the license file. The resulting file should look
similar to:
SERVER server DLHOST01=25231AEF83AD9D5E9B2FA270DF4F20B1
DAEMON discreet_l discreet_l
USE_SERVER
3 Repeat for each computer.
Change the default port used by the license server
To avoid conflicts with other applications or license servers in your facility, you may need to change the
default port setting used by the license server, or license servers in the case of a redundant configuration.
This requires a minor change to the DL_license.dat file on your license server(s), as well as on every
workstation or node.
To change the default port used by a license server:
1 Log in as root to the license server and open /usr/discreet/licserv/licenses/DL_license.dat for
editing.
2 Find the SERVER line. By default, no port number is specified at the end of the SERVER line for a single
license server and the license server uses default port number in the range of 27000-27009. By default,
redundant license servers are set to port 27005.
3 Enter a different port at the end of the SERVER line. The license server can use a default port number
in the range of 27000-27009. For example: SERVER server
DLHOST01=886C2B75E8E57E4B03D784C3A2100AC0 62222
4 Save and close the file, then verify that the new port settings are correct:
/etc/init.d/license_server stop
/etc/init.d/license_server start
cat /usr/discreet/licserv/log/license_server.log
For redundant license servers, reboot each server in close sequence to properly restart the license system.
5 Look for messages similar to the following examples in the output, and verify that the port numbers
are what you requested, e.g.:
15:08:49 (lmgrd) lmgrd tcp-port 62222
15:08:49 (lmgrd) Starting vendor daemons ...
15:08:49 (lmgrd) Using vendor daemon port 12344 specified in license file
15:08:49 (lmgrd) Started discreet_l (internet tcp_port 12344 pid 5013)
6 Repeat with /usr/local/flexlm/licenses/DL_license.dat for each workstation or node, using the
same port as the one you set for the license server.
124 | Chapter 3 Networked processing