Hi, Am 18.08.2014 um 09:57 schrieb Jacques Foucry:
> Since one year now I have a running grid. > > I would like add the user computer to the grid only when the users are > not using the computer (for example only between 8PM to 6AM). > > I must admit that I have no idea how to do that. > > Could you give me some help? It's easier than it looks like: - create a hostgroup containing all these user computers (`qconf -ahgrp @workstations`) - create a calender for the night-shift (`qconf -acal night-shift`)* - add the created hostgroup to the existing queue(s) under hostlist - add the created calendar in the form "calendar NONE,[@workstations=night-shift]" to the queues in the same step to limit it to machines (i.e. queue instances) this hostgroup While this works instantly, IIRC you also have to turn on resource reservation by providing a value to "max_reservation" in the scheduler configuration greater than zero to allow SGE to test whether the job will finish before the granted computing time ends, hence a suitable value for h_rt must be requested for the jobs than. * The details of the actual format of the calendar entries are in `man calendar_conf`. You can either suspended (= suspend the running jobs) or disable (= don't accept new jobs) the machines outside the night-shift. -- Reuti > Thanks in advance, > > Jacques Foucry > -- > Jacques Foucry > *NOVΛSPARKS * > IT Manager > Tel : +33 (0)1 42 68 12 61 > [email protected] > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
