Can likely use a reservation: http://slurm.schedmd.com/reservations.html.

I use something like this to put entire cluster into maintenance:

scontrol create reservation starttime=now duration=infinite accounts=mgmt
flags=maint,ignore_jobs nodes=ALL

The above will ignore running jobs and prevent new jobs from starting.  It
also allows people in mgmt account to run jobs by using
--reservation=<reservation name> with sbatch.

- Trey

=============================

Trey Dockendorf
Systems Analyst I
Texas A&M University
Academy for Advanced Telecommunications and Learning Technologies
Phone: (979)458-2396
Email: [email protected]
Jabber: [email protected]

On Wed, Jan 20, 2016 at 2:06 PM, Jordan Willis <[email protected]>
wrote:

>
> Hi,
>
> How can I suspend new submissions to slurm without killing or suspending
> everything currently scheduled? Also, can I do this on the cluster level or
> does it have to be by partition?
>
> Jordan
>

Reply via email to