5 License server5.1 Local Licensing One or more license servers control - allow or deny and log - the usage of the software on one computer or throughout the local network. 5.1 Local LicensingUsually node-locked licensing is controlled by a local license server on the computer executing the licensed software. The licensed program automatically starts the license server. It is terminated when the program ends. There is no special configuration needed. 5.2 Central licensingFloating licensing is controlled network-wide by one or more license servers. However, node-locked licenses may be administered by central license servers, too. All license servers of a local network should have license directories with identical contents. Though, the license directories must not be mounted by for instance NFS. This may be done very easily through the web interface (5.4 Web interface). 5.2.1 Master and slaveMultiple license servers in a local network agree upon one master license server. Each of the other license servers, the slaves, may take over the role of the master as soon as this one fails. At any time at least more than half of the license servers referred to by a license key (3.6 System ID) must be running. 5.2.2 StartThe license server is manually started by the command $XLICENSE_HOME/bin/xlicense [license_directory] The default value for license_directory is $XLICENSE_ETC/licenses (the variables $XLICENSE_HOME and $XLICENSE_ETC are to be substituted by the corresponding installation directories (2.2 Installation directories). However, for safe operation the license server should be started automatically during the start-up of the computer. The simplest method is the modification of the system file /etc/inittab (you need the access rights of the superuser root). Add to the file /etc/inittab the following line: XLS:23:respawn:$XLICENSE_HOME/bin/xlicense init q to make the modification effective. 5.3 ConfigurationThe license server may be configured by command line arguments. The output of error messages, warning messages and other messages is specified by the arguments -logDestination -|stdout|stderr|syslog|file_name If file_name ends with .html or .htm, the messages are output in HTML format, else in plain text format. The default output is the file $XLICENSE_ETC/logbook.html.
-logTypes {[+|-]checkInCheckOuts|[+|-]denials
|[+|-]warnings|[+|-]hints}...
configure the types of messages:
Besides error messages, which are printed always, denials and warnings are printed by default. The remaining configuration arguments are useful with central licensing (5.2 Central licensing) only. -owner user:group specify the user for who the license server should be started and her group. This is only necessary if there is a special user for license administration. -slave increases the probability that the started license server becomes a slave (5.2.1 Master and slave). If there are other license servers started without this configuration argument, one of these will become master. This is needed in special cases only, because the license servers automatically determine a master. -sync IP_address... lets multiple license server synchronize themselves over (sub)net borders. One IP_address specifies the network address or the address of the license server in that network. -webPort port_number specifies a port number, under which the web interface (5.4 Web interface) of the license server may be contacted. The default port_number 0 disables the web interface. 5.4 Web interfaceThe web interface of the license server may be contacted using an arbitrary web browser under the URL address http://hostname:port_number Hostname determines a computer executing a license server - master or slave. The port_number can be configured (5.3 Configuration). You need the login name and password of the user executing the current master license server for authorized access. The web interface shows the current state of all license servers of the local network, refreshed every 60 seconds, condensed and sorted:
For each license key the display shows:
For each license directory the display shows:
For each license file there are three hyperlinks, which trigger one of the following actions:
|
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||
Copyright © 2006 X-Software GmbH info@x-software.com 2006-06-12 17:40:45+1:00 | |||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||