If you have a systemd capable OS:
-----------------------------------------------
/usr/lib/systemd/system/slurmd.service      --> Start slurmd client, so
exec it in compute nodes
/usr/lib/systemd/system/slurmdbd.service --> Slurm db script, if you use
accounting through a database (most cases), on accounting node (maybe same
than head node)
/usr/lib/systemd/system/slurmctld.service --> Slurm controller, exec it in
head nodes

Maybe you will have to tune systemd scripts accordingly to slurm.conf file
depending on your OS.


If you still use an OS with rc scripts:
------------------------------------------------
/etc/rc.d/init.d/slurmdbd -->Slurm db script, if you use accounting through
a database (most cases), on accounting node (maybe same than head node)
/etc/rc.d/init.d/slurm --> Detects if you are compute or head node and
starts slurmd or both slurmd and slurmctld daemons.



Regards,
Felip M



*--Felip Moll Marquès*
Computer Science Engineer
E-Mail - [email protected]
WebPage - http://lipix.ciutadella.es

2016-02-03 20:25 GMT+01:00 Cooper, Trevor <[email protected]>:

>
> Jeff,
>
> You might want to start with the Slurm overview page[1] and quick start
> admin guide[2].
>
> We use CentOS 6.7 so we use init files. The slurm service script starts
> the appropriate daemon (slurmctld or slurmd) depending on the contents of
> slurm.conf.
>
> slurmdbd is optional (but useful) and runs on your head node or 'other'
> service node (may be outside your cluster and used for multiple clusters).
>
> Hope that helps...
>
> Trevor
>
> [1] - http://slurm.schedmd.com/overview.html
> [2] - http://slurm.schedmd.com/quickstart_admin.html
>
> > On Feb 3, 2016, at 10:33 AM, Jeff White <[email protected]> wrote:
> >
> >
> > I installed SLURM by compiling RPMs from slurm-15.08.7.tar.bz2.  I then
> installed every package that it created.  I noticed the following systemd
> unit files are included:
> >
> > /usr/lib/systemd/system/slurmd.service
> > /usr/lib/systemd/system/slurmdbd.service
> > /usr/lib/systemd/system/slurmctld.service
> >
> > ... but also comes with:
> >
> > /etc/rc.d/init.d/slurmdbd
> > /etc/rc.d/init.d/slurm
> >
> > I'm confused by this.  Why are there both init and systemd files?
> >
> > Also: slurm, slurmd, slurmctld, slurmdbd...  Who does what?  Who needs
> to run on what machines (head, login, and compute)?
> >
> > --
> > Jeff White
> > HPC Systems Engineer
> > Information Technology Services - WSU
>

Reply via email to