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

Re: [HTCondor-users] peaceful node drain and shutdown



I believe if you set IS_OWNER=False, then the startd will never enter Owner state (which is what will kill off all the jobs) but instead will just go to Unclaimed state. So if IS_OWNER=False, you can simply set START=False to get the startd to refuse any new jobs but not kill off existing ones. 

In fact, for anyone using dedicated servers I'd suggest setting IS_OWNER=False. We should add this into the meta-knob for 
  Use policy:always_run_jobs 

Regards
Todd

Sent from my iPhone

On Jul 13, 2016, at 9:24 PM, Michael V Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx> wrote:

Is there a good, pithy way to resolve to Undefined instead of False, or are we stuck with an ifThenElse($(X), True, Undefined) _expression_?

But perhaps by restricting START _expression_ machine-health-validation Boolean values to partitionable slots only that'll do the trick in most of my use cases.

        -Michael Pelletier?
_
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/