[slurm-dev] Re: RebootProgram - who uses it?
Yep, thanks Chris. I went with regular reboot and have now successfully used scontrol reboot ASAP Very handy! L. -- "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics is the insistence that we cannot ignore the truth, nor should we panic about it. It is a shared consciousness that our institutions have failed and our ecosystem is collapsing, yet we are still here — and we are creative agents who can shape our destinies. Apocalyptic civics is the conviction that the only way out is through, and the only way through is together. " *Greg Bloom* @greggish https://twitter.com/greggish/status/873177525903609857 On 9 August 2017 at 15:02, Christopher Samuel wrote: > > On 07/08/17 17:57, Aaron Knister wrote: > > > Good grief. "reboot" is a legacy tool?!?! I've about had enough of > systemd. > > FWIW reboot is provided by the init system implementation (for instance > on RHEL6 it's from upstart), and /sbin/reboot is only optional in the > FHS. Only /sbin/shutdown is required by the FHS. > > http://www.pathname.com/fhs/2.2/fhs-3.14.html > > On proprietary UNIX versions reboot (not guaranteed to be in /sbin, it > was /etc/reboot on Ultrix 4, /usr/sbin/reboot on Solaris) may not run > shutdown scripts either (eg Solaris), you'd want to use shutdown for that. > > cheers, > Chris > -- > Christopher SamuelSenior Systems Administrator > Melbourne Bioinformatics - The University of Melbourne > Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 >
[slurm-dev] Re: RebootProgram - who uses it?
On 07/08/17 17:57, Aaron Knister wrote: > Good grief. "reboot" is a legacy tool?!?! I've about had enough of systemd. FWIW reboot is provided by the init system implementation (for instance on RHEL6 it's from upstart), and /sbin/reboot is only optional in the FHS. Only /sbin/shutdown is required by the FHS. http://www.pathname.com/fhs/2.2/fhs-3.14.html On proprietary UNIX versions reboot (not guaranteed to be in /sbin, it was /etc/reboot on Ultrix 4, /usr/sbin/reboot on Solaris) may not run shutdown scripts either (eg Solaris), you'd want to use shutdown for that. cheers, Chris -- Christopher SamuelSenior Systems Administrator Melbourne Bioinformatics - The University of Melbourne Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
[slurm-dev] Re: RebootProgram - who uses it?
On 07/08/17 14:08, Lachlan Musicman wrote: > In slurm.conf, there is a RebootProgram - does this need to be a direct > link to a bin or can it be a command? We have: RebootProgram = /sbin/reboot Works for us. cheers, Chris -- Christopher SamuelSenior Systems Administrator Melbourne Bioinformatics - The University of Melbourne Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
[slurm-dev] Re: RebootProgram - who uses it?
John, thanks. Yes, I have implemented reboot guard, which was why I was asking if the config just wanted the link to a bin or could take a command to execute. Aaron, kind of. I noticed the anomaly yesterday for the first time and my manager pointed me to this https://amitksaha.wordpress.com/2013/11/21/poweroff-halt-reboot-and-systemctl/ Like Busybox, systemctl has reboot compiled in.. cheers L. -- "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics is the insistence that we cannot ignore the truth, nor should we panic about it. It is a shared consciousness that our institutions have failed and our ecosystem is collapsing, yet we are still here — and we are creative agents who can shape our destinies. Apocalyptic civics is the conviction that the only way out is through, and the only way through is together. " *Greg Bloom* @greggish https://twitter.com/greggish/status/873177525903609857 On 7 August 2017 at 17:56, Aaron Knister wrote: > Good grief. "reboot" is a legacy tool?!?! I've about had enough of systemd. > > Sent from my iPhone > > On Aug 7, 2017, at 03:27, John Hearns wrote: > > Lachlan, in the Name of the Wee Man, so 'reboot' is now a 'legacy tool' > https://access.redhat.com/solutions/1580343 > > Jeez... Look HPC compute node - I'm in charge, gottit? Yeah, fight back > all you like with systemd, but I can pull the power plug. > Let's see you deal with that one. > > On 7 August 2017 at 06:08, Lachlan Musicman wrote: > >> I've just been asked about implementing a "drain and reboot" for >> nodes/partitions. >> >> In slurm.conf, there is a RebootProgram - does this need to be a direct >> link to a bin or can it be a command? >> >> >> RebootProgram=/usr/sbin/reboot >> >> or >> >> RebootProgram='systemctl disable reboot-guard; reboot' >> >> Cheers >> L. >> >> -- >> "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic >> civics is the insistence that we cannot ignore the truth, nor should we >> panic about it. It is a shared consciousness that our institutions have >> failed and our ecosystem is collapsing, yet we are still here — and we are >> creative agents who can shape our destinies. Apocalyptic civics is the >> conviction that the only way out is through, and the only way through is >> together. " >> >> *Greg Bloom* @greggish https://twitter.com/greggish/s >> tatus/873177525903609857 >> > >
[slurm-dev] Re: RebootProgram - who uses it?
Good grief. "reboot" is a legacy tool?!?! I've about had enough of systemd. Sent from my iPhone > On Aug 7, 2017, at 03:27, John Hearns wrote: > > Lachlan, in the Name of the Wee Man, so 'reboot' is now a 'legacy tool' > https://access.redhat.com/solutions/1580343 > > Jeez... Look HPC compute node - I'm in charge, gottit? Yeah, fight back all > you like with systemd, but I can pull the power plug. > Let's see you deal with that one. > >> On 7 August 2017 at 06:08, Lachlan Musicman wrote: >> I've just been asked about implementing a "drain and reboot" for >> nodes/partitions. >> >> In slurm.conf, there is a RebootProgram - does this need to be a direct link >> to a bin or can it be a command? >> >> >> RebootProgram=/usr/sbin/reboot >> >> or >> >> RebootProgram='systemctl disable reboot-guard; reboot' >> >> Cheers >> L. >> >> -- >> "The antidote to apocalypticism is apocalyptic civics. Apocalyptic civics is >> the insistence that we cannot ignore the truth, nor should we panic about >> it. It is a shared consciousness that our institutions have failed and our >> ecosystem is collapsing, yet we are still here — and we are creative agents >> who can shape our destinies. Apocalyptic civics is the conviction that the >> only way out is through, and the only way through is together. " >> >> Greg Bloom @greggish https://twitter.com/greggish/status/873177525903609857 >
[slurm-dev] Re: RebootProgram - who uses it?
Lachlan, in the Name of the Wee Man, so 'reboot' is now a 'legacy tool' https://access.redhat.com/solutions/1580343 Jeez... Look HPC compute node - I'm in charge, gottit? Yeah, fight back all you like with systemd, but I can pull the power plug. Let's see you deal with that one. On 7 August 2017 at 06:08, Lachlan Musicman wrote: > I've just been asked about implementing a "drain and reboot" for > nodes/partitions. > > In slurm.conf, there is a RebootProgram - does this need to be a direct > link to a bin or can it be a command? > > > RebootProgram=/usr/sbin/reboot > > or > > RebootProgram='systemctl disable reboot-guard; reboot' > > Cheers > L. > > -- > "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic > civics is the insistence that we cannot ignore the truth, nor should we > panic about it. It is a shared consciousness that our institutions have > failed and our ecosystem is collapsing, yet we are still here — and we are > creative agents who can shape our destinies. Apocalyptic civics is the > conviction that the only way out is through, and the only way through is > together. " > > *Greg Bloom* @greggish https://twitter.com/greggish/ > status/873177525903609857 >