Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Retiring Machines
- Date: Thu, 27 Sep 2018 15:35:46 +0200 (CEST)
- From: "Finnern, Thomas" <thomas.finnern@xxxxxxx>
- Subject: Re: [HTCondor-users] Retiring Machines
Now I've got it:
I made a full update and now I can use
condor_status -absent -l -constraint '(Machine == "$node")' |
condor_advertise -tcp INVALIDATE_STARTD_ADS
to remove a single machine incl. related jobs
Cheers, Thomas
>-----Original Message-----
>From: Finnern, Thomas [mailto:thomas.finnern@xxxxxxx]
>Sent: Thursday, September 27, 2018 3:06 PM
>To: HTCondor-Users Mail List
>Subject: RE: [HTCondor-users] Retiring Machines
>
>Hi Greg,
>
>it's me again. By using the recommended commands I
>created an empty lists instead of a modified list:
>
>condor_status -absent -l -constraint '(Machine != "bird349.desy.de")' >
>./ads.host
>condor_status -absent -l > ./ads.all
>diff ./ads.host ./ads.all
>condor_advertise -multiple -tcp INVALIDATE_STARTD_ADS < ./ads.host
>condor_status -absent -l > ./ads.new
>ls -l ./ads*
>-rw-r--r-- 1 root root 1023188 Sep 27 14:30 ./ads.all
>-rw-r--r-- 1 root root 1017821 Sep 27 14:30 ./ads.host
>-rw-r--r-- 1 root root 0 Sep 27 14:34 ./ads.new
>
> Cheers, Thomas
>
>>-----Original Message-----
>>From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On
>>Behalf Of Thomas Finnern
>>Sent: Wednesday, September 26, 2018 8:02 PM
>>To: HTCondor-Users Mail List
>>Subject: Re: [HTCondor-users] Retiring Machines
>>
>>Thanks Greg,
>>
>>This cleanup will help us to select the 2 crashed machines within
>>e.g. 40 retired machines. Finally we can enhance our worker
>>to pool mapping tool we implemented to operate our 800 worker nodes.
>>
>> Cheers, Thomas
>>
>>+----------------+-----------------------------------------+
>>| Thomas Finnern | Deutsches Elektronen Synchrotron DESY |
>>| .............. | Notkestrasse 85, 22607 Hamburg, DESY/IT |
>>+----------------+-----+-------------------------+---------+
>>| ____. ____ | <-> | +49(0)40 8998-2753 | phone |
>>| | | | | -> | +49(0)40 8994-2753 | fax |
>>| | +-. +-- | -> | Thomas.Finnern@xxxxxxx | email |
>>| | | | o | o | <- | www.desy.de/~finnern | web |
>>+----------------+-----+-------------------------+---------+
>>
>>
>>On Tue, 25 Sep 2018, Greg Thain wrote:
>>
>>> Date: Tue, 25 Sep 2018 11:37:46 -0500
>>> From: Greg Thain <gthain@xxxxxxxxxxx>
>>> Reply-To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
>>> To: htcondor-users@xxxxxxxxxxx
>>> Subject: Re: [HTCondor-users] Retiring Machines
>>>
>>> On 09/25/2018 11:35 AM, Greg Thain wrote:
>>>
>>>
>>> $ condor_status -l -absent > /tmp/ads
>>> $ condor_advertise -multiple -tcp INVALIDATE_STARTDS_ADS <
>/tmp/ads
>>>
>>>
>>> The above line is a typo, should be
>>>
>>> $ condor_advertise -multiple -tcp INVALIDATE_STARTD_ADS < /tmp/ads
>>>
>>> Sorry for the confusion,
>>>
>>> -greg
>>>
>>>