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

Re: [Condor-users] Machine classAd



On 01/03/2012 05:57 PM, Kunal Rao wrote:
Hi all,

   I have a condor pool consisting of 4 nodes. I have added custom
attributes to the machine classAd. To do this, I have added the job name
in the local configuration file : STARTD_CRON_JOBLIST
   ( output of which is added in the machine classAd)

   This job is run periodically on the machine every 1 min.
STARTD_CRON_<job_name>_PERIOD = 1m. (STARTD_CRON_<job_name>__MODE =
Periodic)
   The default interval (UPDATE_INTERVAL) when the machine sends its
classAd update to the condor_collector is 5m (300 s).

   In this scenario, where are the intermediate updates of the custom
cron job ? Does it overwrite every 1 min. on the local machine classAd
and then every 5 min. send the latest one to the condor_collector ?
   Does local machine have a copy of machine classAd anywhere ?

Thanks & Regards,
Kunal

I'd expect the local value to be updated every minute and latest published to the collector every 5. This would imply that you can set policy (SUSPEND/CONTINUE/KILL/etc) based on the value and possibly get the 1 minute sampled date, not just the 5 minute samples.

Compare condor_status with condor_status -direct <machine> to check for sure.

Best,


matt