Community discussions

MikroTik App
 
benoitc
newbie
Topic Author
Posts: 27
Joined: Wed Jul 08, 2020 12:33 am

share UPS info with other machines on the network

Sat Nov 21, 2020 12:10 pm

Can the UPS package be used to share the UPS informationn with other machines on the network. Is this possible for example to connect a synology server to it? For the context I've setup nut on a spare machine but while I can connect synology to it, it doesn't seem possible to do the same with the router.

How people do when they share an UPS between different machines?
 
mkx
Forum Guru
Forum Guru
Posts: 5015
Joined: Thu Mar 03, 2016 10:23 pm

Re: share UPS info with other machines on the network

Sat Nov 21, 2020 2:43 pm

In reality MT routers (running ROSv6 at least, don't know if that's going to change with ROSv7) can't really benefit from UPS status information. The problem being that shutdown command doesn't really switch them off (to save some power), instead they sit function-less doing some endeless loop. In order to boot them from this state they need a power-cycle by some external device (e.g. operator's hand).
OTOH MT personnel said a few times that simple power-off of a fully running router does not cause any harm.

So in short: forget about UPS+mikrotik, handle UPS (and notifications) using NAS and nut ... or watever else fits you.
BR,
Metod
 
User avatar
inteq
Member Candidate
Member Candidate
Posts: 260
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: share UPS info with other machines on the network

Sun Nov 22, 2020 9:45 pm

Most APC UPS will cut power once they send the critical battery status and after a predefined delay.
So in theory, the fact the RouterOS is dumb in this regard does not matter.
 
mkx
Forum Guru
Forum Guru
Posts: 5015
Joined: Thu Mar 03, 2016 10:23 pm

Re: share UPS info with other machines on the network

Sun Nov 22, 2020 11:33 pm

Most APC UPS will cut power once they send the critical battery status and after a predefined delay.

Most UPSes (not only APC) will cut the power in similar case (or they'll simply die, not much of a difference). But consider this scenario: upon receiving battery critical (or even earlier if shutdown takes considerable time to finish) machine performs shutdown. But before UPS cuts the power, utility power returns. UPS will not cut the power towards machine and machine will not get started again. So it would actually be better if machine didn't perform shutdown. If machine has advanced control over UPS, then it can order UPS shutdown as the very last step of emergency shutdown and if that fails (because utility power returned) it just performs reboot.
But I highly doubt ROS supports that kind of interaction with UPS. If it doesn't, then battery critical event sent from UPS is useless (not only because ROS shutdown is a joke anyway). And if MT is not the only device connected to UPS, then it doesn't make any sense to connect control connection to it ... as most devices will make much better use of events triggered by UPS and are usually more sensitive to power loss. ROS device will likely survive sudden power loss just fine (much better than some NAS or similar). It will still benefit from other functions a typical UPS performs (brownout protection, delayed start protecting from current inrush, etc).
BR,
Metod

Who is online

Users browsing this forum: Baidu [Spider], keanheng, rioven and 103 guests