Hi all,
We have queues with different lengths set up (e.g. one day, three day, 30
mins, etc.) When it comes to scheduling downtime these need to start
draining at different times (e.g. three day queues three days before
downtime starts etc.) We have been manually disabling the relevant queues
at the right times (qmgr -c "s q threeday enabled=false") which then
trickles through to the info sys just fine. However, this is fiddly as you
have to remember to set the downtimes for the various queues.
It seemed like it would be easy to handle this in maui by setting up a
reservation that corresponds to the downtime (e.g. setres -s
10:30:00_05/20 -e 15:00:00_05/20 ALL). Maui will then not execute jobs
that wouldn't finish before downtime starts (but it will queue them).
However, the queues stay open and are advertised as such in the info sys
so jobs keep coming in even on the "long" queues.
Perhaps it would be better after all to set up at/cron jobs to shut the
various queues at the appropriate times?
Just wondering if anyone else had some experience with this?
Stephen
--
Dr. Stephen Childs,
Research Fellow, EGEE Project, phone: +353-1-8961797
Computer Architecture Group, email: Stephen.Childs @ cs.tcd.ie
Trinity College Dublin, Ireland web: http://www.cs.tcd.ie/Stephen.Childs
|