You can also set all the partitions to down. All pending jobs will pend, new jobs can be submitted and existing jobs will finish. However no new jobs will be scheduled.

-Paul Edmon-

On 01/20/2016 03:41 PM, Trey Dockendorf wrote:
Re: [slurm-dev] Pause all new submissions
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] <mailto:[email protected]>
Jabber: [email protected] <mailto:[email protected]>

On Wed, Jan 20, 2016 at 2:06 PM, Jordan Willis <[email protected] <mailto:[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