User guide

Chapter 6 - The License Manager Daemon
Starting the License Manager Daemon on UNIX Platforms
FLEXnet Licensing End User Guide 67
license file (as well as the lmgrd and the vendor daemons binaries) on each server node. If you
do not do this, you lose all the advantages of having redundant servers, since the file server
holding these files becomes a single point of failure.
Manually
Start lmgrd from the UNIX command line using the following syntax:
lmgrd -c license_file_list -L [+]debug_log_path
where
license_file_list is one or more of the following:
- the full path to a single license file
- a directory, where all files named
*.lic in that directory are used
debug_log_path is the full path to the debug log file
Prepending
debug_log_path with the + character appends logging entries.
Start
lmgrd by a user other than “root”, since processes started by root can introduce security
risks. If
lmgrd must be started by the root user, use the su command to run lmgrd as a non-
privileged user:
su username -c "lmgrd -c license_file_list -l debug_log_path"
where username is a non-privileged user. You must ensure that the vendor daemons listed in
the license file have execute permissions for
username. The paths to all the vendor daemons
in the license file are listed on each VENDOR line.
Automatically
On UNIX, edit the appropriate boot script, which may be /etc/rc.boot, /etc/rc.local,
/etc/rc2.d/Sxxx, /sbin/rc2.d/Sxxxx, etc. Include commands similar to the following.
See the notes following for a full explanation.
/bin/su daniel -c 'echo starting lmgrd > \
/home/flexlm/v5.12/hp700_u9/boot.log'
/bin/nohup /bin/su daniel -c 'umask 022; \
/home/flexlm/v5.12/hp700_u9/lmgrd -c \
/home/flexlm/v5.12/hp700_u9/license.dat >> \
/home/flexlm/v5.12/hp700_u9/boot.log'
/bin/su daniel -c 'echo sleep 5 >> \
/home/flexlm/v5.12/hp700_u9/boot.log'
/bin/sleep 5
/bin/su daniel -c 'echo lmdiag >>\
/home/flexlm/v5.12/hp700_u9/boot.log'