[slurm-users] using sacctmgr to change the parent of an account

byron lbgpublic at gmail.com
Thu Sep 9 13:56:05 UTC 2021


Great, thanks for that.

On Wed, Sep 8, 2021 at 5:32 PM Brian Andrus <toomuchit at gmail.com> wrote:

> Yep. I do it all the time when I forget to add a parent. Also when a
> project/account changes who owns it.
>
> sacctmgr will also tell you what it is going to change and gives you 30
> seconds to say yes, else it doesn't make the change.
>
> Brian Andrus
>
> On 9/8/2021 3:41 AM, byron wrote:
> > Hi
> >
> > I've added a new account using sbank and have now discovered it should
> > have been added with the parent set. We've already accumulated a
> > couple of months of user data so I dont just want to delete it and
> > recreate it in the correct location.  I've had a read of the sacctmgr
> > command and think I may be able to modify the account to set a parent
> > but am a little unsure as I haven't seen any example of people doing
> > it online
> >
> > Is there any reason why the following wouldn't work?  I'm using
> > version 19.05.7 of slurm.
> >
> > sacctmgr modify account blah set parent=blahparent
> >
> > Also would it be ok to make this change while the system is running?
> >
> > Thanks
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210909/ddc468eb/attachment.htm>


More information about the slurm-users mailing list