Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Machine activity for partitionable slots
- Date: Wed, 30 Jun 2021 13:57:07 -0500 (CDT)
- From: Todd L Miller <tlmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Machine activity for partitionable slots
Assuming the machines can turn themselves off, you could set
STARTD_NOCLAIM_SHUTDOWN = 3600
to have the startd shut itself off after an hour idle. You can then add
MASTER.DAEMON_SHUTDOWN_FAST = ( STARTD_StartTime == 0 ) && ((CurrentTime - DaemonStartTime) > 60)
to have the master shutdown if the startd shuts down, and
DEFAULT_MASTER_SHUTDOWN_SCRIPT = /path/to/shutdown-h-now.sh
to have the master shutting turn off the whole machine. (Or run a script
to alert your monitoring system, etc.)
- ToddM