Is a OS Reboot the same as a Reboot from Linode Manager?
I wondered if the Linode Manager reboot is some sort of higher level reboot that reboots something else linked to the node, or if it just reboots the OS.
Reason is if I need to reboot a Linode, e.g. assign a new IP, then I can schedule a reboot in the middle of the night on the Linux command link, rather than manually having to do it in the Linode dashboard (because I cant see how to schedule this in the Linode manager).
Thanks
9 Replies
You could set something up using the API, but at that point you could just use reboot instead. However, you should be around when it occurs anyway, in case something doesn't come up properly.
-Doug
I have an alert system sent to me via SMS so can configure it to SMS me after a set period of time, so if a reboot fails and Lassie fails, I can then configure SMS notifications to alert me.
reboot
from the OS is actually a shutdown as far as our platform is concerned. Lassie then kicks in and boots your Linode back up, making it look like a reboot (though there can be a delay of up to a minute to a minute and a half before the boot job completes). The only negative side effect of this is halt
doesn't result in a halt, but a reboot.
-Doug
ssh $linodeManagerUsername@lish-$datacenter.linode.com $linodeLabel shutdown
-Doug
So one last question which is if I wanted to schedule a reboot, I use "shutdown -r" on the command line (no need for -r), I can use "at" to schedule it. So would this still be a suitable way to issue a reboot, i.e. relying on Lassie to reboot it? Because you cant schedule it from within the Linode Manager.
NAME
shutdown - bring the system down
SYNOPSIS
shutdown [OPTION]... TIME [MESSAGE]
DESCRIPTION
shutdown arranges for the system to be brought down in a safe way. All logged-in users are notified that the system is going
down and, within the last five minutes of TIME, new logins are prevented.
TIME may have different formats, the most common is simply the word 'now' which will bring the system down immediately. Other
valid formats are +m, where m is the number of minutes to wait until shutting down and hh:mm which specifies the time on the
24hr clock.
-Doug