[Mauiusers] Backfill and node reservation

Rich rercola at acm.jhu.edu
Mon Nov 15 08:38:56 MST 2010


No, that's the purpose of the special file - if it doesn't exist, then
the cronjob doesn't go off whenever it periodically wakes up and says
"should i reboot now".

I'd prefer a less-polling approach, but oh well, it works.

- Rich

On Mon, Nov 15, 2010 at 10:33 AM, Arnau Bria <arnaubria at pic.es> wrote:
> On Mon, 15 Nov 2010 10:18:18 -0500
> Rich Rich wrote:
>
> Hi Rich,
>
>> You could have a periodic check in crontab or similar for "if node is
>> offline and list of jobs running on node is empty and [file exists in
>> some magic place], reboot", have the file be removed on startup, and
>> then send a job to create the file with the special high-priority
>> user, then offline the node.
>>
>> It'll eventually reboot after being offlined and being out of jobs, so
>> you drop human intervention without having to do much else.
>
> this is a nice approach and could fit our needs.
>
> But I should be adding/removing that cron cause, maybe, I set offline a
> node (intervention, test, whatever) for other purpose and get rebooted /
> online without control.
>
> But I like it.
>
>
> Anyway, I'd like to undestand why backfill is still working with my
> original scenario.
>
>
>> - Rich
> Thanks a lot Rich,
> Arnau
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers
>


More information about the mauiusers mailing list