NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
HenryV
Oct 24, 2016Aspirant
ReadyNAS Power Management
HI all I have my NAS connnected to a APC UPS with a USB cable. The NAS has detected the UPS. My question is in the NAS menu, under system, shutdown, status, UPS configuration under 'Select sh...
- Oct 31, 2016
HenryV wrote:
So do I understand that I need to use NUT software to accomplish this? How does it work? On PC's? What about my NAS? Of course its on the network. Does it recognize a signal from NUT??
You could use NUT, installing it on your PC.
There is another option. Some networked UPS equipment uses a protocol called SNMP to communicate power events. The ReadyNAS does support SNMP for selected models - there is a list here: http://kb.netgear.com/app/answers/detail/a_id/23121/~/how-do-i-add-a-ups-to-my-readynas-os-6-storage-system The UPS manufacturer should provide monitoring software for the PCs.
One way or another, you need to make sure the network stays up until the power events are communicated to everything that shuts itself down. One advantage of sotrack's strategy is that shutting down the servers immediately makes that fairly simple. The UPS would then keep the network up (router/switches/wifi) until the battery drains. In my case the network equipment uses quite a bit less power than the various ReadyNAS..
However, if you have a fair amount of equipment to protect (or if that equipment isn't all co-located) you will need more than one UPS anyway.
sotrack
Oct 25, 2016Luminary
You can test one self:
1. charge battery 100%.
2. Put 90% under 'Select shutdown on battery low threshold'
3. Disconnect UPS from power supply
4. Wait shutdown or watch UPS status (until 80%)
5. Turn on NAS and check UPS status. If it is ~10% then 90% under 'Select shutdown on battery low threshold' mean used else left
StephenB
Oct 25, 2016Guru - Experienced User
My recollection is that "auto" causes the NAS to shut down then the UPS sends a power-critical event. So the threshold would be up to the UPS.
The threshold is the amount of power left in the UPS. The manual probably should say this (its a bit surprising that no one has asked this before).
sotrack wrote:
You can test one self...
Note if you have another load (a couple old incandescent light bulbs perhaps) you can also test it with the UPS connected to the load, but the NAS connected to the main power. You do need to connect the USB to the NAS of course.
Then the NAS won't actually lose power, but should still respond to the power events.
- sotrackOct 27, 2016Luminary
StephenB wrote:
My recollection is that "auto" causes the NAS to shut down then the UPS sends a power-critical event. So the threshold would be up to the UPS.UPS does not send power-critical event. It send percentage of battery power. NAS check threshold parameter and get shutdown decision. "Auto" is predefined threshold parameter I think 50%.
- StephenBOct 28, 2016Guru - Experienced User
sotrack wrote:
UPS does not send power-critical event. It send percentage of battery power. NAS check threshold parameter and get shutdown decision. "Auto" is predefined threshold parameter I think 50%.
I've had power failures that used more than that, and my NAS didn't shut down.
It appears to be more complicated than simply sending a percentage of battery power (based on reading through the material here: http://networkupstools.org/docs/user-manual.chunked/ar01s06.html )
Here are the steps that occur when a critical power event happens:
- The UPS goes on battery
- The UPS reaches low battery (a "critical" UPS)...
The exact behavior depends on the specific device, and is related to:
- battery.charge and battery.charge.low
- battery.runtime and battery.runtime.low...
...
- sotrackOct 28, 2016Luminary
Hi StephenB.
I hope this is not opposition. Just discussion. :-)
Thanks for the link. It is interesting for me. I see the NUT is the part of OS6. Agree "Auto" value can be processed more complex way in NUT package. We discuss UPS for home usage (not for data center). NUT package is working on server (NAS) side. Home UPS just send percentage of battery power and is not aware of events generated by NUT. Main goal of NUT is to send events to slave servers in local net to shutdown them. Generate events for own shutdown does not make a sense. Lifecycle of UPS battery is reduced quickly with deep discharging of battery. Home NAS is not production system. For home usage I would prefer start shutdown as soon as possible if power out. And this is why I don't use "Auto" parameter. My second UPS is simple and haven't got USB interface. Instead of threshold and NUT functionality I use script in autostart (/etc/init.d)
It check eth0 every 20 sec. If router/commutator is out of power for 40 sec then start shutdown.
More cheaper - much better.
pseudo_ups.sh
#!/bin/bash ################################################### #### --add script from /etc/init.d to autostart # update-rc.d check_pseudo_UPS defaults # --or # insserv check_pseudo_UPS # --start service # /etc/init.d/check_pseudo_UPS start # /etc/init.d/check_pseudo_UPS restart # --stop service # /etc/init.d/check_pseudo_UPS stop # --check log file # ln --target-directory=/root -s /var/log/check_pseudo_UPS.log #check service status #systemctl status check_pseudo_UPS ################################################### CHECK_INTERVAL=20 #time interval in seconds between interface state check TRIGGER_INTERVALS_COUNT=2 #'not running'-s between 1st detect and shutdown IFNAME=eth0 echo "---------------------------------------"ifconfig echo -n "Power up: " date echo $? DOWN_COUNT=0 while true do ifconfig $IFNAME | grep -q RUNNING if [ $? -eq 0 ]; then if [ $DOWN_COUNT -ne 0 ]; then DOWN_COUNT=0 echo -n "Interface $IFNAME again running: " date fi else ((DOWN_COUNT++)) if [ $DOWN_COUNT -eq 1 ]; then echo -n "Interface $IFNAME not running: " date fi if [ $DOWN_COUNT -gt $TRIGGER_INTERVALS_COUNT ]; then echo -n "Shutting down: " date sync rn_shutdown # /frontview/bin/autopoweroff &> /dev/null # shutdown -h now exit 0 fi fi sleep $CHECK_INTERVAL done
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!