[GE users] license Juggler?

olesen Mark.Olesen at emconTechnologies.com
Thu Jun 4 09:54:58 BST 2009


Hi Chris M.,

> Your best bet is to start with an LSF "elim" script which is the
> Platform "offical" way to report external data into the system. It
> should not be hard to write an elim scrip that queries your various
> license servers.

Regardless of LSF or SGE, you might need to take a step back and figure out what logic might actually work before trying the implementation.

To keep things somewhat simple, suppose you have 10 licenses on single license server that you wish to share between two clusters and the current status looks like this:

ClusterA (access to 10 licenses) -
  jobA1 (running - 6 licenses) 
  jobA2 (waiting - 6 licenses)

ClusterB (access to 0 licenses) -
  jobB1 (running - some other job type w/o licenses)
  jobB2 (waiting - 4 licenses)


Based on running/waiting, you might decide that ClusterB should be allowed access to 4 of the licenses and juggle things accordingly.
After this step, you might have something like this:

ClusterA (access to 6 licenses) -
  jobA1 (running - 6 licenses) 
  jobA2 (waiting - 6 licenses)

ClusterB (access to 4 licenses) -
  jobB1 (running - some other job type w/o licenses)
  jobB2 (waiting - 4 licenses)


It seemed like a good idea, except jobB2 still doesn't run for any number of reasons:
- its start time hasn't been reached
- no slots available
- some other requirement (disk, memory) isn't satisfied.
- ...


To make the correct decision about how to distribute the license access, you actually have to determine if the entire scheduling would be successful if the licenses had been available.

One solution would be to submit extra 'scout' jobs that have nearly identical job requirements, except the license resource. If they can run successfully, it gives you an idea about which job might possible run.

The other approach might be similar to the license juggler, but even more simplistic. In a round-robin fashion, each cluster would have a go at accessing all of the remaining licenses available.

/mark

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.

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=200827

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list