melp
Explorer
- Joined
- Apr 4, 2014
- Messages
- 55
I have my UPS set to shut off my server 5 minutes after wall power is lost, but when power is restored, the server stays off. I want to figure out some way to switch the server back on after a delay, say 60 minutes after wall power is restored. I tried setting up a raspberry pi with a
Currently, as a holdover, I have the BIOS set to boot the machine as soon as the PSU sees power, but I want the delay so the battery has a chance to get juiced up again. Any ideas would be appreciated.
Edit: It's working now, using
sleep 3600; wakeonlan
sort of script, but my NIC doesn't support WOL (X10SRL-F onboard). I tried poking around the upsc settings to see if ups.timer.start or .reboot would do what I want, but the documentation isn't very clear.Currently, as a holdover, I have the BIOS set to boot the machine as soon as the PSU sees power, but I want the delay so the battery has a chance to get juiced up again. Any ideas would be appreciated.
Edit: It's working now, using
ipmiutil power -u
on an rpi. Had to update the IPMI firmware on my X10 board before it would connect.
Last edited: