License Server Manager “lmgrd”
The license server manager is one of the components that make up a license server (the other being the vendor daemon). It handles the initial contact with FlexEnabled applications, passing the connection on to the appropriate vendor daemon. The purposes of the license server manager are to:
• | Start and maintain all the vendor daemons listed in the VENDOR lines of the license file used to start lmgrd. |
• | Refer application checkout (or other) requests to the correct vendor daemon. |
lmgrd is an application-based version of the license server manager. On most platforms it is controlled from a command-line. On Windows, lmtools can be used to manage lmgrd.
A newer lmgrd can be used with an older vendor daemon or FlexEnabled application, but a newer vendor daemon or FlexEnabled application might not work properly with an older lmgrd. Always use the latest version of lmgrd. See Version Compatibility Between Components for detailed information.
Ensure that the local host name resolution (in /etc/hosts) is handled before the following scenarios:
• | To have regular heartbeat interval when you communicate between lmgrd and vendor daemon, and |
• | To successfully start the license server. |
Neither lmgrd nor the vendor daemon retain any state information on restart. That means, for example, the license server will have any recollection of any clients that had an outstanding checkout when they previously shut down.
The advantage of this design is that the server always starts in a known state. For example, there are no concerns about a potentially corrupt database of clients to worry about. Producers who which to introduce their own state can use the various callback routine hooks provided in lsvendor.c to implement there own persistence mechanism.