| Summary: | Create systemd service file(s) for Slurm | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | David Gloe <david.gloe> |
| Component: | Other | Assignee: | David Bigagli <david> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 5 - Enhancement | ||
| Priority: | --- | CC: | brian, da |
| Version: | 15.08.x | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | CRAY | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | 14.11.0 | Target Release: | --- |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
|
Description
David Gloe
2014-10-20 03:50:23 MDT
I believe that Gennaro Oliva already has added systemd support and we should pick that up (perhaps for our v14.11 release). Here is more information from Genaro: ==================================== 'm happy to announce that together with two other guys, Rémi Palancher and Mehdi Dogguy, we succeeded to prepare the new slurm package for Debian with version 14.03.8. I hope to get the .9 in, before the upcoming release freeze. The new package is already in the testing and unstable branch of Debian but will also be contained in the next stable release "Jessie". The llnl acronym have been removed from all the binary packages. It's still in use in some packages directories but will be removed in the next releases. The old slurm-llnl package content have been split in three different packages: slurctld with the central management daemon, slurmd with the compute node daemon and slurm-client with client side commands. The old slurm-llnl package content can still be obtained by installing the new slurm-wlm metapackage. A list of the name changes follows: * slurm-llnl -> slurm-wlm (slurm-client, slurmd, slurmctld) * slurm-llnl-slurdbd -> slurmdbd * slurm-llnl-basic-plugins -> slurm-wlm-basic-plugins * slurm-llnl-basic-plugins-dev -> slurm-wlm-basic-plugins-dev * slurm-llnl-sview -> sview * slurm-llnl-doc -> slurm-wlm-doc The new slurm-wlm package supports systemd. For lack of time the source package is still named slurm-llnl, but this is something totally transparent to users: they can use the name slurm-wlm to install or get the slurm source with apt. To ensure a smooth upgrade, there is also a binary slurm-llnl transitional dummy package that can be safely removed (this is needed to handle transition between the old name and the new name). I hope you enjoy this new release, Ciao -- Gennaro Oliva I just added and integrated the files from the Debian team: https://github.com/SchedMD/slurm/commit/bcff51aa7ee87fa0f8734b68487a5173250fa44a https://github.com/SchedMD/slurm/commit/da7f19864a3c6d279c4f84ad8cbe1fc1c82b23c4 The service files might help in bug 1182, though that's for 14.03. I think there's a typo in the spec file, in a couple places systemdbd.service is used instead of slurmdbd.service. I fixed it thanks David. Also, I think the service files need to be installed to /usr/lib/systemd/system, not /lib/systemd/system/. Based on http://www.freedesktop.org/software/systemd/man/systemd.unit.html (In reply to David Gloe from comment #6) > Also, I think the service files need to be installed to > /usr/lib/systemd/system, not /lib/systemd/system/. Based on > http://www.freedesktop.org/software/systemd/man/systemd.unit.html That seems to be dependent upon the distribution. They are in /lib/systemd/system/ on Ubuntu. Ubuntu does not use the systemctl command and systemd. I am working on fixing the units file. David We use CentOS/Redhat as reference for the installation of the service units, so the spec file has changed and the service units are installed in /usr/lib/systemd/system. David |