Re: [slurm-users] is there a way to temporarily freeze an account?
Thanks for all the feedback, am going with Juergens MaxSubmitJobs approach. On Thu, Oct 7, 2021 at 2:55 AM Chris Samuel wrote: > On 6/10/21 6:21 am, byron wrote: > > > We have some accounts that we would like to suspend / freeze for the > > time being that have unused hours associated with them. Is there anyway > > of doing this without removing the users associated with the accounts or > > zeroing their hours? > > We have a QOS called "batchdisable" which has MaxJobs=0 and > MaxSubmitJobs=0 and then we just set the user's list of QOS's to that. > > sacctmgr update where where name=bar qos=batchdisable > > All the best, > Chris > -- > Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA > >
Re: [slurm-users] is there a way to temporarily freeze an account?
On 6/10/21 6:21 am, byron wrote: We have some accounts that we would like to suspend / freeze for the time being that have unused hours associated with them. Is there anyway of doing this without removing the users associated with the accounts or zeroing their hours? We have a QOS called "batchdisable" which has MaxJobs=0 and MaxSubmitJobs=0 and then we just set the user's list of QOS's to that. sacctmgr update where where name=bar qos=batchdisable All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA
Re: [slurm-users] is there a way to temporarily freeze an account?
Hi, I think setting MaxSubmitJobs=0 for the association should also do the trick if you don't want to code something special in the submit.lua script. E.g. for a single user: sacctmgr update user set maxsubmitjobs=0 Setting MaxSubmitJobs=-1 will then release this limit. Best regards Jürgen * Marcus Wagner [211006 15:39]: > e.g. by prohibiting submission in the submit.lua script? > > Best > Marcus > > Am 06.10.2021 um 15:21 schrieb byron: > > We have some accounts that we would like to suspend / freeze for the time > > being that have unused hours associated with them. Is there anyway of > > doing this without removing the users associated with the accounts or > > zeroing their hours? > > > > We are using slurm version 19.05.7 > > > > Thanks > > -- > Dipl.-Inf. Marcus Wagner > > IT Center > Gruppe: Server, Storage, HPC > Abteilung: Systeme und Betrieb > RWTH Aachen University > Seffenter Weg 23 > 52074 Aachen > Tel: +49 241 80-24383 > Fax: +49 241 80-624383 > wag...@itc.rwth-aachen.de > www.itc.rwth-aachen.de > > Social Media Kanäle des IT Centers: > https://blog.rwth-aachen.de/itc/ > https://www.facebook.com/itcenterrwth > https://www.linkedin.com/company/itcenterrwth > https://twitter.com/ITCenterRWTH > https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ > -- GPG A997BA7A | 87FC DA31 5F00 C885 0DC3 E28F BD0D 4B33 A997 BA7A
Re: [slurm-users] is there a way to temporarily freeze an account?
There are a lot of parameters controlling the resources which an account and/or user can use. I suspect your default setup only uses a few of them. To temporarily disable an account, you can apply a setting which is disjoint from your normal methods. E.g., if you normally set GrpTresMins to limit usage on an account to a certain level, you might be able to temporarily set GrpJobs or GrpSubmitJobs to 0 to disable the account from running/submitting additional jobs. This should not affect the TRES numbers, so can just remove the GrpJobs/GrpSubmitJobs restrictions when you wish to re-enable. On Wed, Oct 6, 2021 at 9:24 AM byron wrote: > We have some accounts that we would like to suspend / freeze for the time > being that have unused hours associated with them. Is there anyway of > doing this without removing the users associated with the accounts or > zeroing their hours? > > We are using slurm version 19.05.7 > > Thanks > -- Tom Payerle DIT-ACIGS/Mid-Atlantic Crossroadspaye...@umd.edu 5825 University Research Park (301) 405-6135 University of Maryland College Park, MD 20740-3831
Re: [slurm-users] is there a way to temporarily freeze an account?
e.g. by prohibiting submission in the submit.lua script? Best Marcus Am 06.10.2021 um 15:21 schrieb byron: We have some accounts that we would like to suspend / freeze for the time being that have unused hours associated with them. Is there anyway of doing this without removing the users associated with the accounts or zeroing their hours? We are using slurm version 19.05.7 Thanks -- Dipl.-Inf. Marcus Wagner IT Center Gruppe: Server, Storage, HPC Abteilung: Systeme und Betrieb RWTH Aachen University Seffenter Weg 23 52074 Aachen Tel: +49 241 80-24383 Fax: +49 241 80-624383 wag...@itc.rwth-aachen.de www.itc.rwth-aachen.de Social Media Kanäle des IT Centers: https://blog.rwth-aachen.de/itc/ https://www.facebook.com/itcenterrwth https://www.linkedin.com/company/itcenterrwth https://twitter.com/ITCenterRWTH https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ smime.p7s Description: S/MIME Cryptographic Signature
[slurm-users] is there a way to temporarily freeze an account?
We have some accounts that we would like to suspend / freeze for the time being that have unused hours associated with them. Is there anyway of doing this without removing the users associated with the accounts or zeroing their hours? We are using slurm version 19.05.7 Thanks