<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Xaver, <br>
</p>
<p>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.</p>
<p>For excluding nodes from being suspended, there is an option in
slurm.conf:<br>
</p>
<blockquote>
<p>SuspendExcNodes<br>
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.</p>
</blockquote>
<p>Brian Andrus<br>
</p>
<div class="moz-cite-prefix">On 5/12/2023 2:35 AM, Xaver Stiensmeier
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4ca4c91e-2c79-7643-b214-d16545b81301@gmx.de">Dear
slurm-users,
<br>
<br>
I am currently looking into options how I can deactivate
suspending for
<br>
nodes. I am both interested in the general case:
<br>
<br>
Allowing all nodes to be powered up, but for all nodes without
automatic
<br>
suspending except when triggering power down manually.
<br>
<br>
And the special case:
<br>
<br>
Allowing all nodes to be powered up, but without automatic
suspending
<br>
for some nodes except when triggering power down manually.
<br>
<br>
---
<br>
<br>
I tried using negative times for SuspendTime, but that didn't seem
to
<br>
work as no nodes are powered up then.
<br>
<br>
Best regards,
<br>
Xaver Stiensmeier
<br>
<br>
<br>
</blockquote>
</body>
</html>