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

Re: [HTCondor-users] how to drain offline nodes ?

On 05/10/2016 02:15 PM, Ben Cotton wrote:

If the nodes have static IP addresses/hostnames, you can add them to
the DENY_WRITE setting on your collector and that will prevent them
from joining the pool.

I'd prefer to use "NEGOTIATOR_SLOT_CONSTRAINT" on the negotiator.
The final effect is the same (the nodes won't get any job) but it looks a bit less hackish. Moreover you will still see the nodes in the collector, allowing you to monitor their status. Remember to issue a "condor_reconfig -negotiator" after editing the configuration file, in order for the modifications to take effect.


David Rebatto
I.N.F.N. - Sezione di Milano
Via Celoria, 16 - 20133 Milano ITALY
tel: +39 02503.17623 e-mail: David.Rebatto@xxxxxxxxxx
URL: http://www.mi.infn.it/~rebatto

"There are two ways to write error-free programs;
only the third one works." -- Alan Perlis