[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] counting licenses

On Tue, May 03, 2005 at 11:30:53AM -0700, Joshua Kolden wrote:
> So I sent this out before, but didn't get any takers.  It's really 
> important for us and seems like a solved problem so if you know and 
> answer or have an idea don't be afraid to speak up.
> I have 10 machines, each with 2 cpus that can run our licensed software 
> for which we currently have 2 licenses.  The two licenses are limited by 
> machine, not by process, so if one license is consumed by one machine it 
> can run the software also on the second cpu without consuming another 
> license.  In this way two machines can run 4 processes with two licenses.
> Any ideas on a classAd expression that would cover software licensing in 
> this way, so that we can run on any of the machines that are capable of 
> running the software.  Even a general way to count licenses per process 
> would be helpful.

I'd suggest looking at STARTD_JOB_EXPRS and STARTD_VM_EXPRS - you can
advertise on all VMs if one of the VMs currently has a license, and
use RANK to prefer to run on that machine.