Hi all,I am using STARTD_NOCLAIM_SHUTDOWN to stop machines when not used for 200 sec.Now I have use case where I want this value to be max(uptime -1hr, 200sec) for vanilla universe.Basically I want to keep machine up for alteast 1hr and then want to terminate if not used for 200 sec. Is there any way of doing this?
Thanks and regardsRaman
# Tell the startd to shutdown when the partitionable slot # says that NumDynamicSlots has been zero (i.e. no jobs) for more than 200 # seconds, and the startd itself has been running for more than 1hr. # Note: NumDynamicSlotsTime is published because by default # the knob SYSTEM_STARTD_LATCH_EXPRS = NumDynamicSlots STARTD.DAEMON_SHUTDOWN = PartitionableSlot && \ ((CurrentTime - DaemonStartTime) > (60*60)) && \ (NumDynamicSlots == 0) && \ ((CurrentTime - NumDynamicSlotsTime) > 200) # # Shutdown the master if the startd exits. Note that if # STARTD_StartTime is zero, that the startd is not currently running. # MASTER.DAEMON_SHUTDOWN = (STARTD_StartTime =?= 0)