Hey guys. Can anyone suggest me a good UPS for my OMV NAS build? I don't need it to work for hours, I just need it to shutdown my NAS when the power is out. I don't know anything about UPS devices, so a helping hand would be appreciated. Thanks.
Suggestion for a UPS
-
- gelöst
- Nabukodonosor
-
-
APC is a good brand and have several models
-
Make sure it is compatible with the openmediavault-nut plugin. Some are "more" compatible than others. Here is the compatibility list.
-
APC is a good brand and have several models
Well, according to the list from chente, APC is not that compatible with OMV.
-
Well, according to the list from chente, APC is not that compatible with OMV.
The compatibility issue is not with OMV. Don't forget that behind OMV is debian and linux. If the UPS manufacturer does not provide the drivers to the community, your product will not be able to be supported by Linux.
There are techniques for cracking these drivers, reverse engineering, etc. but this is not perfect. That is why some are "more" compatible than others.
The ones that appear in green on the list are the perfect ones. The others will work in a limited way, you will not have all the functions available.
-
Unfortunately, I don't have access to all those in the green. Mostly, I can acquire APCs.
-
If you want an APC model, choose at least one of those listed. With the recommended driver, you should at least be able to use NUT and the auto shutdown feature in the event of a power outage.
-
That's all I need. Just out of curiosity, what are the other features that a UPS has?
-
I couldn't really tell, that's the only thing I use too. I assume it reports on battery charge status or more advanced features like connecting two servers to the same UPS. There will be a world about this.
-
(writing from phone)
Not wanting to hijack the thread but I have a APC Backup PRO 900 and it's giving issues with OMV.
After digging a bit, the problem is with Debian.
OMV assumes the path to upsdrvctl and upsc to live on /usr/bin or /usr/sbin but Debian not always installs on there.
There are workarounds already available, for those who search for them.
-
I have APC UPS on a couple of systems and they work fine. If you are having an issue with paths, you haven't installed usrmerge. This isn't really a workaround. It is the proper thing to do when migrating Debian/OMV to a newer version.
-
https://www.amazon.com/gp/aw/d…=ppx_pop_mob_b_asin_title
I have two of these. They work perfectly with the NUT plugin.
-
I have an APC SMT750IC that I am using on my OMV server with NUT and not an issue so far
-
[EDIT]
Running OMV5 on RaspiOS aarch64.
For what it's worth, never had a UPS before,
Still trying to learn how to make it work.
When I purchase this particular model, I saw that it worked well on Linux (although APC still only makes the Powerchute app for Windows )
So, after installing the nut plugin, when trying to enable it, an error kept showing about the path:
Code
Alles anzeigen---------- ID: test_monit_config Function: cmd.run Name: monit -t Result: False Comment: Command "monit -t" run Started: 11:27:34.250080 Duration: 32.821 ms Changes: ---------- pid: 21623 retcode: 1 stderr: /etc/monit/conf.d/openmediavault-nut.conf:12: Program does not exist: '/usr/bin/upsc' /etc/monit/conf.d/openmediavault-nut.conf:12: Program does not exist: 'ups_sala' /etc/monit/conf.d/openmediavault-nut.conf:14: Program does not exist: '/usr/sbin/upsdrvctl' AssertException: File '/usr/bin/upsc' does not exist raised in Command_new at src/system/Command.c:359 stdout: ----------
If you are having an issue with paths, you haven't installed usrmerge. This isn't really a workaround. It is the proper thing to do when migrating Debian/OMV to a newer version.
I read a bit on the diagonal, so mea culpa.
So, I'm asking now, for a "piggyback ride":
How to solve this in the correct way?
Thank you
-
-
sudo apt-get install usrmerge
Done.
Another error was thrown:
CodeFATAL ERROR: Both /bin/upssched-cmd and /usr/bin/upssched-cmd exist. You can try correcting the errors reported and running again /usr/lib/convert-usrmerge until it will complete without errors. Do not install or update other Debian packages until the program has been run successfully.
I assume, I need to remove one of them and run convert-usrmerge again, correct?
-
Another error was thrown:
This was probably caused by something you did? I would uninstall the nut packages and redo the merge. Then reinstall nut.
-
I have an opportunity to buy this one: UPS APC Smart SC620I. Do you guys think it will work with OMV?
-
This was probably caused by something you did? I would uninstall the nut packages and redo the merge. Then reinstall nut.
Done, and running UPS monit:
Thanks.
I believe the error was due to having installed the NUT package prior to install the usrmerge.
All good now.
-
I have an opportunity to buy this one: UPS APC Smart SC620I. Do you guys think it will work with OMV?
If it has a USB cable, it will (probably) use the usbhid-ups comunication with Debian.
Just don't make the same mistake I did:
When you plug the UPS, first install usrmerge and after, the nut package.
sudo apt install usrmerge
Accept the warning (click YES)
And then:
sudo apt install nut
Install the openmediavault-nut plugin, and the UPS Service will be available.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!