This information (augmented for machine-readibility) forms the basis of our FlexLM Nagios monitoring.įlexLM servers can be configured to allow monitoring through a combination of simple port checks and a customised Nagios plugin which uses the output of the usage monitor (for this reason, the usage monitor is required for useful nagios monitoring). The status page also provides implicit confirmation that the licensing server is running:Ī status page which lists no features or toolboxes is likely to be down for some reason. This provides detailed statistics on user-license allocation as well as an overview of checked-out licenses per feature or toolbox. They are provided at:įor example, our Matlab research server usage can be monitored at. These pages are generated by the flexlm component on a configurable schedule (usuallyĮvery minute) and are by default restricted to DICE users only. Hosted licences or features, our servers provide license usage information via the web. You can use them to see that the server has started upĬorrectly, connected to the other servers and that licences are being checked out.įurther to the core status tools provided by lmutil, and regardless of the number of The service-specific server logs are held in /var/tmp/flexlm.log.Īnd are rotated weekly.
FLEXLM LICENSE USAGE MANUAL
In the lcfg-flexlm manual page and its linked documents, such as the FlexNET Licensing End-User Guide. lastserver.įlexlm.option_mylic_excl RESERVE 10 "MATLAB KEY=1234567890" HOST_GROUP computeserversįull details on configuration, along with license administration strategies, are available Key 1234567890 to three servers, you could add the following:įlexlm.option_mylic_grp HOST_GROUP computeservers myserver. Options file this can be done using the flexlm.options resources.įor example, to reserve ten licences from the MATLAB feature with unique To restrict this, services need to define an Once the server can see a licence file, it will automatically begin serving any requested Rely on shipping a licence file to the server, usually in an RPM, and pointing theįlexlm.license_ towards the installed file. Practices for adding or removing licences are ultimately service-specific, but all Runs lmutil lmstat against every LCFG-configured flexlm licence file. # manually starts flexlm on that host, not recommendedįinally, the lcfg-flexlm package provides the shortcut command lmautostat, which # manually stops flexlm on that host, not recommended Lmutil lmstat -a -c /usr/lib/lcfg/conf/flexlm/ # shows status of licence manager and all licenses in use Lmutil lmstat -c /usr/lib/lcfg/conf/flexlm/ In addition there are some useful flexlm commands that can be usedĭirectly on any host with 'lmutil' (part of the flexlm installation):
To start and stop the licence servers just use the normal component This is done by setting:Īt the head of your licence server's profile (due to header ordering it's important that this is done before the first inclusion of flexlm-server.h. This allows you to stack multipleįlexLM instances on one machine. If your licence permits, youĬan use the FlexLM component's built-in spoofing to assign the appropriate MACĪddress virtually to each licence manager.
FLEXLM LICENSE USAGE MAC
Most licences are MAC locked, and their associated MAC address is defined in In the options header file, but of course a license and hosting details will be required For a generic FlexLMĪnd add resources (to profile or new, inheriting header) as appropriate.Īll the necessary configuration and packages for a running flexlm instance are included
ConfigurationĪdditional LCFG configuration is required to run a licence server. FlexLM Licence ManagerĪll our License servers which use FlexLM take advantage of the common lcfg-flexlmĬomponent to manage all aspects of its license service. This page covers information general to all of our flexlm services, which presently Flexlm.html,v 1.10 9 14:52:56 gdutton Exp Usage