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

Re: [HTCondor-users] Master Shutdown From Startd Cron



Hi Todd,

Your suggestion works, thanks.

Laurence


On 11/09/17 17:40, Todd L Miller wrote:
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.

- ToddM
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/