[slurm-users] Enable SLURM Accounting
Ronan.Buckley at Dell.com
Mon May 28 09:19:12 MDT 2018
I forgot to add. I have the following already in place:
# Database info
From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Wiegand, Paul
Sent: Monday, May 28, 2018 3:45 PM
To: Slurm User Community List
Subject: Re: [slurm-users] Enable SLURM Accounting
No, there's more. In terms of the slurm.conf ... you will need to set the storage host so slurm knows where to go look for slurmdbd. If you are enforcing any limits, you will need to set those. I also set the job gather type.
You will have also have to make sure mysql is installed, slurmdbd is setup, and you have slurmdbd.conf file, as well. You will have to create the accounts and users using sacctmgr, and possibly QOSs, depending on what you'd like to do. It's not difficult, but there are a number of small steps.
There's a document online that walks you through the process.
> On May 28, 2018, at 10:31, Buckley, Ronan <Ronan.Buckley at Dell.com> wrote:
> Hi All,
> I need to enable SLURM accounting so that I can use commands like sacct, sstat,sreport etc. It looks like SLURM accounting was not enabled by default. From reading the online documentation, all I have to do is to un-commented the following lines in /etc/slurm/slurm.conf:
> # AccountingStorageLoc=slurm_acct_db
> # AccountingStoragePass=SLURMDBD_USERPASS
> Then run the command 'scontrol reconfigure' the SLURM configuration.
> Is that all I have to do?
More information about the slurm-users