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

[HTCondor-users] Send offline classAD on execute node graceful shutdown


I'm building a small HTcondor cluster to test its interaction with our universities power management software. The final stumbling block is getting an execute node to send an offline ClassAD when shutdown gracefully.  This would allow the rooster to wake the nodes shutdown by students, or our power management software.  

Currently a graceful shutdown sends INVALIDATE_MASTER_ADS to the collector. Is it possible to configure the node to send its offline classAd at the same time?

I can do this manually by saving the machine classAd to disk and resending it to the collector after shutdown with condor_advertise (after editing the requisite fields). This would be easy to automate, but it seems that it shouldn't be necessary?

Absent classAds also work, but only if I kill the condor processes on the node, preventing INVALIDATE_MASTER_ADS getting sent.  This would obviously not be the usual case.

Any help with this would be greatly appreciated.
Andre Geldenhuis