Re: [slurm-users] Reset Fair-share tree account values

2020-07-17 Thread Gestió Servidors
Hi, I think this answer solves my problem `sacctmgr` can be used to reset the accrued RawUsage value. Example usage: # sacctmgr modify user where Account= set RawUsage=0 Review the `sacctmgr` documentation for more details: https://slurm.schedmd.com/sacctmgr.html Best, Sebastian Thanks!!

Re: [slurm-users] Reset Fair-share tree account values

2020-07-16 Thread Sebastian T Smith
http://rc.unr.edu<http://rc.unr.edu/> From: slurm-users on behalf of Paul Edmon Sent: Thursday, July 16, 2020 10:15 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] Reset Fair-share tree account values Wow, nice find. I wasn't even a

Re: [slurm-users] Reset Fair-share tree account values

2020-07-16 Thread Paul Edmon
<http://rc.unr.edu/> *From:* slurm-users on behalf of Paul Edmon *Sent:* Thursday, July 16, 2020 5:49 AM *To:* slurm-users@lists.schedmd.com *Subject:* Re: [slurm-users] Reset Fair-share tree account values Also as a side, is there an official name for the other fai

Re: [slurm-users] Reset Fair-share tree account values

2020-07-16 Thread Sebastian T Smith
From: slurm-users on behalf of Paul Edmon Sent: Thursday, July 16, 2020 5:49 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] Reset Fair-share tree account values Also as a side, is there an official name for the other fairshare system? I guess the official documentation calls it

Re: [slurm-users] Reset Fair-share tree account values

2020-07-16 Thread Paul Edmon
Also as a side, is there an official name for the other fairshare system?  I guess the official documentation calls it Classic Fairshare, like Classic Coke :). I hate to call it old as we use it here and will continue to use it. We have no intention to moving to FairTree because we've only

Re: [slurm-users] Reset Fair-share tree account values

2020-07-16 Thread Paul Edmon
A trick you can use to reset certain users (which I have used before) is to simply delete them from the slurmdb and then readd them.  At least under the other fairshare system, which is what our site uses, that would remove their usage and they would have 0 usage when they returned.  I'm

[slurm-users] Reset Fair-share tree account values

2020-07-16 Thread Gestió Servidors
Hello, I will try to explain an scenario that occurs in my SLURM cluster. An important number of users (accounts) belongs to students of a certain subject. That subject is 6 month duration. When subject end, I "reset" user folders, clean all data, reset passwords and, in next academic year, I