The daemon_options file is installed in the /etc/opt/licenses directory. The daemon_options file allows you to:
Reserve licenses for specified users, hostnames, or display names
Allow or deny use of applications based on user, hostname, or display name.
Control the information logged about license use
When lmgrd.ste starts the vendor daemon, the vendor daemon receives the location of the daemon_options file. This location is identified in the product's license file on the DAEMON line. If no file is listed, the daemon will not use any options file. Only one options file per vendor daemon is allowed.
To modify the daemon_options file, use the options listed in Table 2-1. For feature names, see Appendix A in Sun WorkShop Quick Install.
Table 2-1 daemon_options Options
Command |
Description |
---|---|
EXCLUDE |
Denies a user access to a feature |
EXCLUDEALL |
Denies a user access to all features of this vendor daemon |
GROUP |
Defines a group of users for use with other options |
HOST_GROUP |
Defines a group of hosts for use with other options |
INCLUDE |
Allows a user access to a feature |
INCLUDEALL |
Allows a user to access all features served by this vendor daemon |
LINGER |
Causes licenses to be held by the vendor daemon for a period of time after the application checks them in or exits |
MAX |
Limits use for a particular feature/group and prioritizes use among users |
NOLOG |
Turns off logging of certain items |
RESERVE |
Saves licenses for a user |
# |
Specifies that the text that follows is a comment, not a command |
The following is an example of a daemon_options file:
#Don't log IN, OUT, and QUEUED NOLOG IN NOLOG OUT NOLOG QUEUED LINGER workshop.c.sparc 300 LINGER workshop.cc.sparc 300 #RESERVE number feature {USER | DISPLAY | GROUP} name #INCLUDE feature {USER | DISPLAY | GROUP} name #EXCLUDE feature {USER | DISPLAY |GROUP} name RESERVE 1 workshop.c.sparc USER pat RESERVE 3 workshop.tools.sparc USER lee EXCLUDE workshop.c.sparc USER joe
The sample daemon_options file was edited to specify:
The license log will not record licenses checked in, checked out, or queued.
The C and C++ compiler licenses will delay for 300 seconds before returning licenses to the license server for use by other developers.
One C compiler license is for use only by pat.
Three Sun WorkShop IPE licenses are for use only by lee.
No C compiler license is for use by joe.
For redundant server configurations, the daemon_options file must be the same on each server. For multiple independent server configurations, the daemon_options file can be different on each server.
To minimize server down time when changing the daemon_options file, follow these steps:
Make the needed changes to the daemon_options file.
Stop the license daemon.
Restart the license daemon.
See "Stopping and Restarting the License Daemons".
If you modify the daemon_options file, your changes do not take effect until the license daemon is started or restarted.
For more information about the options file, visit the GLOBEtrotter Software, Inc. site on the World Wide Web:
http://www.globetrotter.com/chap5.htm