[slurm-users] Install & Configuration of slurmdbd

3,539 views
Skip to first unread message

Jim Klo

unread,
Jan 30, 2023, 2:43:56 PM1/30/23
to slurm...@lists.schedmd.com

Greetings,

 

I’ve been working on updating our small slurm cluster over the last few days.  I’ve successfully updated the cluster. However our cluster is missing the slurmdbd configuration, and while I know it’s not required, I would like to add that as it would be helpful to access job history details and potentially manage and prioritize resources with Fair Share as we scale up.

 

Anyways I’ve gone through https://slurm.schedmd.com/accounting.html and as opposed to other docs in the project, details on configuring accounting is rather vague. I’m a bit confused as to the exact steps, and what prerequisites and dependencies are needed.  Are there better instructions on setting up configuring slurmdbd on an existing cluster?

 

Initial questions I have:

  • When building slurm, did I need to have libmariadbd-dev (or other MariaDB client or libs) present? Is this only needed by the slurmdbd node or does slurmd / slurmctrld also need this?
  • Are there any limitations on how MariaDB is run? I typically run containerized MariaDB so it can be easily backed up, moved, etc.  I see the configure script has a `--with-mysql_conf`, however if running containerized on a different system, is this path need to be accessible post configure?

 

Any assistance is greatly appreciated.

 

Thanks,

 

Jim

 

Ole Holm Nielsen

unread,
Jan 31, 2023, 1:53:43 AM1/31/23
to slurm...@lists.schedmd.com
Hi Jim,

Maybe you'll find these Wiki pages relevant for setting up your Slurm
database:

https://wiki.fysik.dtu.dk/Niflheim_system/
https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_database/

/Ole

On 1/30/23 20:43, Jim Klo wrote:
> I’ve been working on updating our small slurm cluster over the last few
> days.  I’ve successfully updated the cluster. However our cluster is
> missing the slurmdbd configuration, and while I know it’s not required, I
> would like to add that as it would be helpful to access job history
> details and potentially manage and prioritize resources with Fair Share as
> we scale up.
>
> Anyways I’ve gone through https://slurm.schedmd.com/accounting.html
> <https://slurm.schedmd.com/accounting.html> and as opposed to other docs
> in the project, details on configuring accounting is rather vague. I’m a
> bit confused as to the exact steps, and what prerequisites and
> dependencies are needed.  Are there better instructions on setting up
> configuring slurmdbd on an existing cluster?
>
> Initial questions I have:
>
> * When building slurm, did I need to have libmariadbd-dev (or other
> MariaDB client or libs) present? Is this only needed by the slurmdbd
> node or does slurmd / slurmctrld also need this?
> * Are there any limitations on how MariaDB is run? I typically run
Reply all
Reply to author
Forward
0 new messages