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

Re: [Condor-users] Temporary disable a virtual machine

On Thu, May 29, 2008 at 03:20:16PM -0400, Fr?d?ric Bastien wrote:
> Hi,
> I have found on receip (http://nmi.cs.wisc.edu/node/1467) that do more
> then what you want. It will also suspend currently running jobs.
> On Mon, May 19, 2008 at 10:51 PM, Tung-Han Hsieh
> <tunghan.hsieh@xxxxxxxxx> wrote:
> > Hello,
> >
> >
> > Now if I have to temporary disable the idling virtual machine, vm4@w29,
> > such that the newly submitted job will not go into it, and without affecting
> > the running jobs in the other virtual machines of the node w29. How can
> > I do that ?

Define a START expression, and condor_reconfig the whole box:

START = (SlotID != 4)
(this has to be written into a machine-specific config file)

This won't affect running jobs; and will not allow jobs to be scheduled to
slot 4.
You can also set START to False completely...