Power loss behaviour - is there some basic action?
Colin Law
clanlaw at gmail.com
Sat Feb 15 16:17:08 UTC 2025
On Sat, 15 Feb 2025 at 15:35, Bo Berglund <bo.berglund at gmail.com> wrote:
>
> Should I move the new server off of the UPS but keep the other devices hooked up
> so that the server will experience a "power outage" and therefore start when
> power returns?
> Or is there some other way to handle this situation?
>
> I am thinking about having a task running on one of the RaspberryPi units which
> checks that it can ping the server say a minute or two after boot and if
> unsuccessful send a Wake-On-LAN command to the server's MAC address.
With the BIOS setting, my server laptop does auto start when the power
is re-applied, even if normally shutdown. However, just in case it
does not, I have my router configured to send it WOL every 5 minutes.
If you cannot set that up in the router then do it in the pi. No need
to check whether the server is running, just do it every 5 mins
anyway.
Colin L.
More information about the ubuntu-users
mailing list