[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Master Shutdown From Startd Cron
- Date: Mon, 11 Sep 2017 10:40:40 -0500 (CDT)
- From: Todd L Miller <tlmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Master Shutdown From Startd Cron
What would the correct expression be or is this not possible?
As far as I know, there's no way to refer to another daemon's ad
while evaluating DAEMON_SHUTDOWN. Since the master can tell if a daemon
exited because of DAEMON_SHUTDOWN and won't restart it, you should be able
to set STARTD.DAEMON_SHUTDOWN to MULTICORE_SHUTDOWN and then set
MASTER.DAEMON_SHUTDOWN to something like
( STARTD_StartTime != 0 ) && ((CurrentTime - STARTD_StartTime) > 60)
where the 60-second delay is probably enough time for a startd that's
going to restart to manage it.