Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:disk_reservation [2016/11/29 22:16] – [Admission rules] neyronwiki:disk_reservation [2016/11/29 23:05] – [Admission rules] neyron
Line 64: Line 64:
 FROM resources r FROM resources r
   LEFT JOIN assigned_resources a ON a.resource_id = r.resource_id   LEFT JOIN assigned_resources a ON a.resource_id = r.resource_id
-  LEFT JOIN jobs j ON j.assigned_moldable_job = a.moldable_job_id AND j.state 'Running' $EPILOGUE_EXCEPT_JOB+  LEFT JOIN jobs j ON j.assigned_moldable_job = a.moldable_job_id AND j.state in ('Launching','Running'$EPILOGUE_EXCEPT_JOB
 WHERE WHERE
       r.type = 'disk' AND       r.type = 'disk' AND
Line 77: Line 77:
       )       )
 GROUP BY r.host, j.job_user GROUP BY r.host, j.job_user
-ORDER BY r.host ASC+ORDER BY r.host ASC, j.job_user DESC
 EOF EOF
 } }
Line 156: Line 156:
 Mind setting a relevant priority for the new admission rule. Mind setting a relevant priority for the new admission rule.
  
-Finally, just like for deploy jobs, we allow only whole nodes for //compute with disk// jobs. For that, we edit the corresponding rule: ''oaradmissionrules -m 9 -e''+Finally, just like for deploy jobs, we might want to allow only whole nodes for //compute with disk// jobs. For that, we edit the corresponding rule: ''oaradmissionrules -m 9 -e''
 <code perl> <code perl>
 -# Restrict allowed properties for deploy jobs to force requesting entire nodes -# Restrict allowed properties for deploy jobs to force requesting entire nodes
wiki/disk_reservation.txt · Last modified: 2016/12/02 18:33 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki