Dear Jesse, Thanks, the calender or quota using cron externally just looks into the time constraint. but the real essence i was trying to research this mailing list and online is for dynamic resource allocation. that is i have a number of resources under one queue, and these can shrink in size or scale up depending on work load and how busy or idle they are. if the serial workload is not much and batch jobs queue is huge than turn some of these into the batch queue to handle some of the work load. that is the basic thing, of course there will be other conditions for jobs to run such as having the right license to check in, and right resources and mount points in the node. but i just want to concentrate first of all on the ability to dynamically/automatically allocate resources to a queue as per current, or past workload.
regards Walid On 30 November 2011 17:21, Jesse Becker <becker...@mail.nih.gov> wrote: > On Wed, Nov 30, 2011 at 08:56:02AM -0500, Walid wrote: > >> Dear All, >> >> We might be considering moving to SGE/OGE solution away from Torque/Maui >> based solution, one feature we are looking for is that lets say i have a >> cluster of two types of nodes serial, and batch. if a large percentage of >> serial are idle during working hours i would like to the scheduler to run >> batch jobs on them , given that it does not use them all but allow for some >> of them to still be able to serve any coming serial jobs. is that doable? >> and if it is what is that feature called, or how it is done >> > > Depending on what your specific needs are, I can think of two ways > to do this off the top of my head. > > One is using the 'calendar' function. This allows queues to be > suspended at certain times. Thus, you could have queues for 'batch', > 'serial', but configure some or all queue instances in 'serial' to have > a calendar setting that (un)suspends them at a time of your choosing. > See > http://arc.liv.ac.uk/SGE/**htmlman/htmlman5/calendar_**conf.html<http://arc.liv.ac.uk/SGE/htmlman/htmlman5/calendar_conf.html>and > the > "calendar" section of > http://arc.liv.ac.uk/SGE/**htmlman/htmlman5/queue_conf.**html<http://arc.liv.ac.uk/SGE/htmlman/htmlman5/queue_conf.html> > > > Another way would be via resource quotas. This may not be as > "automatic" as using a calendar, but you could certainly automate > adding/removing (or changing) a resource quota that permits the 'serial' > queue to accept jobs a given time of day (i.e. use a cron job to change > the configs). > > You could probably also do something clever using subordinate queues, > queue instance sequence number sorting, and resource complexes as well. > > > >> thanks in advance >> >> regards >> >> Walid >> > > ______________________________**_________________ >> users mailing list >> users@gridengine.org >> https://gridengine.org/**mailman/listinfo/users<https://gridengine.org/mailman/listinfo/users> >> > > > -- > Jesse Becker > NHGRI Linux support (Digicon Contractor) >
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users