[GE users] flexlm integration

Olesen, Mark Mark.Olesen at emcontechnologies.com
Thu Sep 13 11:01:42 BST 2007

    [ The following text is in the "X-UNKNOWN" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some characters may be displayed incorrectly. ]

> Our engineering team uses one new tool called "atoptech" . They use their
own propritery license manager
> which  supports LSF but not SGE.

I just caught up with this discussion.
The qlicserver is actually designed to be extensible to different types of
license managers.
A few years ago, we also had another type of license manager integrated into

I presume that there is some means of querying the license availability
(feature, user, host, count) from your license server (otherwise you really
have no chance with the integration).

If you take a look at the qlicserver source code, search for a line
containing "package License".
You'll notice that the query() method loops across all available license
manager types and merges their hash result together.

Above this, search for the "package Flexlm". You will need to replicate this
functionality for your "foo" server. In your BEGIN block, you may need to
change or skip the sorting of the servers, which is used for the threaded
query. You *do* need to  "push @License::Manager, __PACKAGE__;" to register
your new license managed with the "License" package.

Your new query() method should return a hash reference with the form
# HASHREF => {
#    feature => {
#       total  => number,
#       "user at machine nlicense" => occurances,
#       "user at machine nlicense" => occurances,
#    },
# }

If any of the license manager types (FlexLM, your's, etc) use the same names
for a license feature, you'll have to figure out something (maybe adding a
prefix/suffix) to avoid problems.

With your newly modified qlicserver, the rest of the integration should work
as before.
If you aren't using FlexLM, just unset the LM_LICENSE_FILE environment
variable and it won't be queried.

Let us know about how you make out.

This e-mail message and any attachments may contain legally privileged, confidential or proprietary Information, or information otherwise protected by law of EMCON Technologies, its affiliates, or third parties. This notice serves as marking of its ?Confidential? status as defined in any confidentiality agreements concerning the sender and recipient. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer.

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list