[slurm-users] monitor draining/drain nodes
Rodrigo Santibáñez
rsantibanez.uchile at gmail.com
Tue Jun 15 23:07:41 UTC 2021
Thanks, Marcus. You're right.
Best regards.
On Mon, Jun 14, 2021 at 10:32 PM Marcus Boden <mboden at gwdg.de> wrote:
> I think your slurm-user has /sbin/nologin as the the shell in
> /etc/passwd. Try `su -s /bin/bash slurm`.
>
> Best,
> Marcus
>
> On 14.06.21 20:52, Rodrigo Santibáñez wrote:
> > Thank you Marcus, Ole and Samuel.
> >
> > Regarding Samuel's answer, I added ifne from moreutils before mail to not
> > have empty emails.
> >
> > Regarding strigger, I don't know how to become the slurm user. "su slurm"
> > complains "This account is currently not available.". The user "slurm"
> > exists and is the SlurmUser.
> >
> > Best,
> >
> > On Mon, Jun 14, 2021 at 5:09 AM Ole Holm Nielsen <
> Ole.H.Nielsen at fysik.dtu.dk>
> > wrote:
> >
> >> On 6/14/21 7:50 AM, Marcus Boden wrote:
> >>> Slurm provides the strigger[1] utility for that. You can set it up to
> >>> automatically send mails when nodes go into drain.
> >>
> >> I provide some Slurm triggers examples in
> >> https://github.com/OleHolmNielsen/Slurm_tools/tree/master/triggers
> >>
> >>> On 12.06.21 22:29, Rodrigo Santibáñez wrote:
> >>>> Hi SLURM users,
> >>>>
> >>>> Does anyone have a cronjob or similar to monitor and warn via e-mail
> >> when a
> >>>> node is in draining/drain status?
> >>
> >> /Ole
> >>
> >>
> >
>
> --
> Marcus Vincent Boden, M.Sc.
> Arbeitsgruppe eScience, HPC-Team
> Tel.: +49 (0)551 201-2191, E-Mail: mboden at gwdg.de
> -------------------------------------------------------------------------
> Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)
> Am Faßberg 11, 37077 Göttingen, URL: https://www.gwdg.de
>
> Support: Tel.: +49 551 201-1523, URL: https://www.gwdg.de/support
> Sekretariat: Tel.: +49 551 201-1510, Fax: -2150, E-Mail: gwdg at gwdg.de
>
> Geschäftsführer: Prof. Dr. Ramin Yahyapour
> Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau
> Sitz der Gesellschaft: Göttingen
> Registergericht: Göttingen, Handelsregister-Nr. B 598
>
> Zertifiziert nach ISO 9001
> -------------------------------------------------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210615/69683cde/attachment.htm>
More information about the slurm-users
mailing list