NUT server and UPS general question
-
Yes if you have an APC brand UPS and it works with apcupsd then I feel that is the better way to go. The implementation in pfSense is better, more is configurable through the GUI and the widget has more detail. NUT is however more widespread it seems and so if you are needing to integrate with other devices etc then sometimes NUT may be preferable.
-
@occamsrazor Initially I thought a USB Hub can be connected to netgate 2100 and then attach 3 UPS's to them. I have since been "corrected" by the package author.
Hence, my next solution is to use the APC (covers modem, router and my servers) to netgate USB as standalone.
Additionally, configure NUT in raspberry pi and use it's USB to connect to other UPS's. That is the idea and I am working on it.... -
Thanks but I'm already using APCUSPD. If you can monitor more than one UPS that's the question.
-
@jimbob-indiana said in NUT server and UPS general question:
Thanks but I'm already using APCUSPD. If you can monitor more than one UPS that's the question.
I don't think you can. I asked a similar question here:
https://forum.netgate.com/topic/175536/multiple-ups-with-apcupsd-and-or-nut?_=1667928318795 -
@occamsrazor
I have a question to everyone....I have 1 UPS in a different location but would like to connect the same to my future NUT server on raspberry PI. I do have a extra ethernet jack in the same location. Was wondering can I use "USB over ethernet adapter" to connect the UPS USB to adapter and then connect to the wall ethernet jack. Same at the receiving end ....connect an adapter to the ethernet and connect the USB end to the PI - Has anybody done something like this?
-
@netboy usb to ethernet adapter.
Drivers are the issue.
-
That's just a USB NIC it won't help you there.
You'd need an actual USB over Ethernet device. If you have separate cable between those locations you might be able to use something passive that doesn't need drivers (USB over Cat5 extender).
Steve
-
@stephenw10 Got it! How about this?
-
Yup, like that. Note that only works over a dedicated cable. It's not using Ethernet, can't pass a switch etc.
-
@stephenw10 said in NUT server and UPS general question:
Note that only works over a dedicated cable. It's not using Ethernet, can't pass a switch etc.
Not sure I follow you? Can you kindly elaborate?
I do have a dedicated cable (ethernet) near my UPS to a switch in the PI location
-
@netboy said in NUT server and UPS general question:
I do have a dedicated cable (ethernet) near my UPS to a switch in the PI location
That's fine then.
If you had an Ethernet jack there connected to a central switch and the RasPi was at a different location also connected to that switch it would not work since that only uses the Cat5 cable to pass USB signals no Ethernet. An Ethernet switch has no idea what to do with USB signals.
Steve
-
@stephenw10
Just to be clear this is my setup:-
Connect one adapter to the USB of UPS and connect the ethernet to the existing ethernet wall jack near the UPS
-
In the switch at my server rack connect from switch to my adapter using patch cable and then connect the USB to my raspberry PI.
Can I give it a try? What is your opinion? I am not asking you to vouch for it? If it fails that is ok
-
-
No that won't work. It can't go through the switch.
You have to connect directly to incoming cable that's connected to that wall jack.
-
I forget which model APC UPS you have (did you say?). If it is a Smart-UPS with a slot, and remote monitoring is important to you, then you'd be better off getting an APC network management card, they can be found secondhand for not too much.
-
@stephenw10 Oh Ok Got it ! Does it matter if this is a dump switch or managed switch?
-
@occamsrazor said in NUT server and UPS general question:
I forget which model APC UPS you have (did you say?). If it is a Smart-UPS with a slot, and remote monitoring is important to you, then you'd be better off getting an APC network management card, they can be found secondhand for not too much.
I am looking for cheapo consumer variety.....thx anyway
-
@netboy No, neither will pass USB signals.
-
@stephenw10
Got it!
Alternative is to use my UPS near NAS as standalone. The NAS has configuration for the NAS to run for xx minutes before shutting down (NAS can communicate to the UPS).
Thanks all. -
So, one question comes to mind: Is your intent to manage the UPSs and attached devices, or just display their status?
If the UPSs have computer systems attached to them, you want each system to manage the UPS that controls its power. This is important to allow the computer system to execute its shutdown at the appropriate time. Your NAS is a good example of this. On the other hand, if all the devices attached to the UPS lack the ability to shutdown, say like a cable modem or printer, then no active UPS management is needed (or appropriate).
Either way you can use NUT on your Pi to display the status of the multiple UPSs. Remote NUT connection for systems that run NUT and manage their own UPS (such as your NAS), and (perhaps) direct USB or other approaches for systems that do not have attached computer systems.
Regardless, you're going to need to read up a bit on NUT. You need to configure NUT to simply report status rather than take action for the UPSs that do not control the power to the Pi.
-
@dennypage Excellent point.
First iteration (I am learning).... I need a visibility of all the UPS's. Right now I don't. I want to know how healthy the UPS's are and so on.....On second iteration (After I have learned a little).... I would like NUT to control shut down UPS 3
UPS 1
-
Modem
-
Router
-
POE switches
UPS 2
-
Dump Switches
-
HDHomerun
-
Raspberry PI which has NUT installed
UPS 3
- 3 servers
UPS 4
- Attached to NAS which can communicate to UPS
I want UPS 3 to control shut down my servers. Is this possible using NUT (I know you are the package owner and are very knowledgeable). My servers are debian UBUNTU. UPS 1: I really do not care about control shut down because there is nothing to fail (like hard disk getting corrupted and so on ) and also they have the max run time. Regarding UPS 3 I really do not care because they are just switches. Worst case things attached to the switches will not work.
What do you think? Can I make UBUNTU servers talk to NUT and control shut down?
-