I have recently bought an APC BX1400UI UPS, and have successfully connected a Synology NAS and a Synology NVR to the UPS. Both will now power down in a controlled fashion 5 minutes after the UPS battery kicks in. The Synology NAS is connected to the UPS with a USB cable, and the NAS & NVR communicate with each other via the “Synology Server” option.
But how can I get a NUC (Intel NUC8i3BEH3), with the ROCK package installed to shut down nicely as well.
You can use an http request to power down ROCK
Thanks, @Jan_Koudijs - but how might I automate that, so that (for example) “Shut Down the ROCK 5 minutes after the UPS battery kicks in”?
In case it matters, I use macOS.
You don’t. ROCK is an “appliance” with zero customization. If you want this, install your own Linux OS on the NUC and then install the Linux Roon Core package on it. Then install NUT (Network UPS Tools, which is what Synology uses “under the hood” for UPS management). Then you can configure NUT on your Roon Core machine to monitor your NAS that has the UPS attached to it via USB.
Thanks @cwichura ; I therefore take it that I would need to
You need somehow a trigger to run a custom command. Can e.g. the Synology run a command before it shuts down?
There is no “factory reset”. You just install your favorite Linux distribution and tell it to overwrite the drive.
You can use any major distribution. Personally, my Roon Core is running on CentOS 7.
I thought the ROCK installation mounted all the drives as a ramFS? In which case it really doesn’t matter and won’t corrupt the filesystem by improperly shutting it down.
I has to hit the real file system from time to time to make things like the database and settings persistent, but i was under the impression that the bulk of the work was in ram.