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

Re: [HTCondor-users] Custom Machine ClassAd



Did you also configure MYTHINGY as a startd attr?

 

STARTD_ATTRS = $(STARTD_ATTRS) MYTHINGY

 

That is needed if you want MYTHINGY to show up in condor_status.  The configuration that you show below is what is needed to allow MYTHINGY to be changed by condor_config_val -set.

 

-tj

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Jason Liu
Sent: Tuesday, October 24, 2017 4:11 AM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] Custom Machine ClassAd

 

Hi,

 

I would like to assign a custom ClassAd to a group of machines and request certain jobs to prefer using that group of machines. A quick Google turns up this web page:

 

 

Following the suggestions on that page, I have tried (note the quote in the custom ClassAd)



ALLOW_CONFIG = *

SETTABLE_ATTRS_CONFIG = *

SETTABLE_ATTRS_OWNER = MYTHINGY

MYTHINGY = "blah"



However

> condor_reconfig
> condor_status -long | grep MYTHINGY
turns up nothing.
 
 
My HTCondor version:
 
> condor_version
$CondorVersion: 8.4.7 Aug 04 2016
$CondorPlatform: X86_64-Ubuntu_14.04 $
 
 
Is using custom machine ClassAd a good way of achieving my goals? If so, how do I set custom machine ClassAds?
 
Any help is greatly appreciated.
 
Cheers
Jason
 

PRIVACY AND CONFIDENTIALITY NOTICE
The information contained in this message is intended for the named recipients only. It may contain confidential information and if you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this message in error please destroy it and reply to the sender immediately or contact us at the above telephone number.
VIRUS DISCLAIMER
While we take every precaution against presence of computer viruses on our system, we accept no responsibility for loss or damage arising from the transmission of viruses to e-mail recipients.