[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Condor to reboot a machine



Sorry submitted last message on mistake:

Hi,

Just wondering would it be possible to set condor to reboot machines into a different OS?

For example, imagine a pool where all machines are Linux by default. If someone submits a Windows job then condor would somehow seek for an idling machine on the pool and reboot it to Windows. If then the Windows machine go to an idle state it would reboot to Linux.

I guess on could do all of this using a cron jobs:
If job held reason = Windows
Find idling machine and reboot it
Reschedule Jobs
if Windows machine is idling then reboot to Linux

But maybe there is some cleaner way?

Cheers,
Tiago


On Wed, Jan 8, 2014 at 1:49 PM, Tiago Macarios <tiagomacarios@xxxxxxxxx> wrote:
Hi,

Just wondering would it be possible to set condor to reboot machines into a different OS?

For example, imagine a pool where all machines are Linux by default. If someone submit a Windows job then condor would somehow seek for an idling machine on the pool and reboot it to Windows. If then the Windows machine go to an idle state it would reboot to Linux.

I guess on could do all of this using a cron jobs:
If job held reason = Windows