Xaver,

Your descriptions of cases is a bit difficult to understand. It seems you want to have exceptions for power_up. That could be done by filtering the list of nodes yourself with any script/method you like and then do power_up on the remaining list.

For excluding nodes from being suspended, there is an option in slurm.conf:

   SuspendExcNodes
   Specifies the nodes which are to not be placed in power save mode,
   even if the node remains idle for an extended period of time. Use
   Slurm's hostlist expression to identify nodes with an optional ":"
   separator and count of nodes to exclude from the preceding range.
   For example "nid[10-20]:4" will prevent 4 usable nodes (i.e IDLE and
   not DOWN, DRAINING or already powered down) in the set "nid[10-20]"
   from being powered down. Multiple sets of nodes can be specified
   with or without counts in a comma separated list (e.g
   "nid[10-20]:4,nid[80-90]:2"). By default no nodes are excluded. This
   value may be updated with scontrol. See
   ReconfigFlags=KeepPowerSaveSettings for setting persistence.

Brian Andrus

On 5/12/2023 2:35 AM, Xaver Stiensmeier wrote:
Dear slurm-users,

I am currently looking into options how I can deactivate suspending for
nodes. I am both interested in the general case:

Allowing all nodes to be powered up, but for all nodes without automatic
suspending except when triggering power down manually.

And the special case:

Allowing all nodes to be powered up, but without automatic suspending
for some nodes except when triggering power down manually.

---

I tried using negative times for SuspendTime, but that didn't seem to
work as no nodes are powered up then.

Best regards,
Xaver Stiensmeier

Reply via email to