[slurm-users] Is it safe to convert cons_res to cons_tres on a running system?

Nathan R Crawford nrcrawfo at uci.edu
Thu Feb 20 22:16:45 UTC 2020


Hi All,

  I have 19.05.4 and want to change SelectType from select/cons_res to
select/cons_tres without losing running or pending jobs. The documentation
is a bit conflicting.

>From the man page:
SelectType
  Identifies the type of resource selection algorithm to be used. Changing
this value can only be done by restarting the slurmctld daemon and will
result in the loss of all job information (running and pending) since the
job state save format used by each plugin is different.

>From slurm.schedmd.com/SLUG19/Slurm_19.05.pdf, slide 6:
● Can revert to cons_res without loosing the queue
  ○ Although jobs using new cons_tres options cannot run
  ○ Both share a common state format to make this possible
    ■ Unlike cons_tres ⇎ serial which will drop the queue

  I interpret this as, in general, changing SelectType will nuke existing
jobs, but that since cons_tres uses the same state format as cons_res, it
should work.

  Has anyone done this on a running system?

Thanks,
Nate


-- 

Dr. Nathan Crawford              nathan.crawford at uci.edu
Director of Scientific Computing
School of Physical Sciences
164 Rowland Hall                 Office: 2101 Natural Sciences II
University of California, Irvine  Phone: 949-824-4508
Irvine, CA 92697-2025, USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200220/f15032f7/attachment.htm>


More information about the slurm-users mailing list