Am 19.03.2012 um 17:02 schrieb William Hay:

> On 19 March 2012 15:48, Lars van der bijl <[email protected]> wrote:
>> hey everyone,
>> 
>> I've got the following request.
>> 
>> I currently have 1 queue. all.q
>> all our hosts are in this queue.
>> 
>> we now want to have a addition queue where Monday to Friday 9am to 8pm
>> people can submit to, and get quick turnaround job send through.
>> some of the machines that are in all.q should be suspended for that
>> time from all.q and placed in the quick turnaround queue. when 8pm
>> hits the queue should become disabled and the hosts should return back
>> to all.q
>> 
>> I know I can setup the Calender to disable and enable the new queue
>> but I'm not sure how i can disable the host from all.q for the time

You mean how to define a "suspend" in the calendar definition? It can be 
specified besides "on" and "off" (man calendar_conf). I.e. you need two 
calendars, one for each queue. Advantage of the calendar setup could be, that 
it will check the requested h_rt if the job will end before the calendar 
suspend the job in all.q.

Another way could be to use suspend_thresholds for all.q, as this would allow 
the jobs to continue in case the is no job in turnaround.q.

NB: No memory or disk space will be freed by the suspension, so both jobs must 
fit on the machine. Otherwise it would be necessary to reschedule the job in 
all.q on the relevant hosts.

-- Reuti


>> being.
> You can setup another calendar on the relevant hosts with the opposite
> availability:
> A line something like:
> calendar NONE,[@Quickturnaround=notbusinesshours]
> 
> 
>> 
>> Lars
>> _______________________________________________
>> users mailing list
>> [email protected]
>> https://gridengine.org/mailman/listinfo/users
>> 
>> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to