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

Re: [HTCondor-users] Python bindings: how to querying configuration values



Hi Brian,

thanks for the warning.
I can confirm, that querying the pools masters' parameters is quite slow
and probably not the way to go ;)

I will see to go for the ClassAds instead.

Cheers and thanks,
  Thomas

On 2016-07-26 16:59, Brian Bockelman wrote:
> 
> Actually, I donât know!  This should have the same semantics as using "condor_config_val -setâ: Iâve actually forgotten whether an explicit reconfig is necessary.
> 
> *Note* - I donât consider querying remote params to be a particularly scalable thing to do for your entire cluster.  If you want to know something like the kernel version of all your worker nodes, Iâd suggest you add it to the respective daemonâs ClassAd.  The CHTC pool uses the ClassAd attributes to advertise the git hash of the current config files, for example.
> 
> RemoteParam is good for one-offs (maintenance scripts, working with a handful of nodes) while the daemon ad is good for things you have to do pool-wide.
> 
> Brian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature