NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

timous's avatar
timous
Aspirant
Aug 22, 2013

Looking for an UPS for ReadyNAS Duo v2

Hi guys,

Is there any (cheap) UPS that would tell to the NAS in case of power failure so the NAS is able to send an email before shutdown?
I understand that some UPS are delivered with USB cable but I'm wondering if the NAS will automatically understand what goes through the USB (any standard for UPS communications supported by Duo v2?).
I also want the NAS to boot up automatically after the power back on (thanks to a WoL packet via ethernet, e.g.).

In short:

  • Power failure -> UPS tells NAS through USB -> NAS sends email then NAS shutdown;

  • Power back on -> UPS send WoL packet to NAS -> NAS boots up then NAS sends email;


Thanks!

8 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    WoL packets are ethernet packets, the USB interface doesn't carry them (and even if it did, the NAS bios wouldn't be looking for them there).

    How long are your power failures? I can only remember one that was long enough to drain my UPS over the past 3 years or so.
  • StephenB wrote:
    WoL packets are ethernet packets, the USB interface doesn't carry them (and even if it did, the NAS bios wouldn't be looking for them there).

    You're right, I was talking about WoL over Ethernet, which requires the UPS to have a Ethernet port (not for RJ45 port protection but for sending WoL signals). Does it only exist on cheap UPS?

    StephenB wrote:
    How long are your power failures?

    It depends, usually it's a couple of hours. I like knowing that the power can be cut at any time and that critical file systems will shutdown gently.

    StephenB wrote:
    I can only remember one that was long enough to drain my UPS over the past 3 years or so.

    What do you mean by drain?
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    timous wrote:
    StephenB wrote:
    WoL packets are ethernet packets, the USB interface doesn't carry them (and even if it did, the NAS bios wouldn't be looking for them there).

    You're right, I was talking about WoL over Ethernet, which requires the UPS to have a Ethernet port (not for RJ45 port protection but for sending WoL signals). Does it only exist on cheap UPS?
    I have never seen a UPS with this feature at any price point. It is a cool idea, though I think it would need some configuration on the UPS side to have it work properly. BTW, don't confuse RJ45 with ethernet. Some UPS do use RJ45, but they are not using ethernet. RJ45 is just a connector.

    timous wrote:
    ...What do you mean by drain?
    Drain->run down the battery to the point where the NAS is told to shut down. Almost all of my power failures are very short (a few seconds to a few minutes). My UPS will power the NAS for a half hour anyway (the UPS status says about an hour at the moment).

    Yours are obviously much longer.

    The way this is normally handled is that the UPS is configured to hold back power until it is reasonably charged up. The protected devices (NAS in this case) are expected to have bios settings that allow them to automatically boot when power is restored. The ReadyNAS doesn't let you adjust the bios settings to do that.
  • StephenB wrote:
    timous wrote:
    StephenB wrote:
    WoL packets are ethernet packets, the USB interface doesn't carry them (and even if it did, the NAS bios wouldn't be looking for them there).

    You're right, I was talking about WoL over Ethernet, which requires the UPS to have a Ethernet port (not for RJ45 port protection but for sending WoL signals). Does it only exist on cheap UPS?
    I have never seen a UPS with this feature at any price point.

    That's a shame. I guess that there is no way to know that power went back if you're not at home. If I knew that power went back I would then WoL the machines through the Internet.
    Ok in my case it works actually because the scenario would be:

    • Power failure -> Nas sends an email before shutdown (so I know about the power failure);

    • I wait for a Ping response from my ADSL router -> when it answers the Ping request it means that power has been restored;

    • Then I know that I can WoL my machines through the Internet, via the router.


    StephenB wrote:
    BTW, don't confuse RJ45 with ethernet. Some UPS do use RJ45, but they are not using ethernet. RJ45 is just a connector.

    You're right, that's the reason why I speak about UPS with RJ45 connectors for line protection in one hand and an intelligent UPS that uses the Ethernet to send WoL packets (preferably through a RJ45 connector) in another hand.

    StephenB wrote:
    timous wrote:
    ...What do you mean by drain?
    Drain->run down the battery to the point where the NAS is told to shut down.

    Thanks (still need to improve my English) :)

    StephenB wrote:
    Almost all of my power failures are very short (a few seconds to a few minutes). My UPS will power the NAS for a half hour anyway (the UPS status says about an hour at the moment).

    Yours are obviously much longer.

    I like hearing that :lol:

    StephenB wrote:
    The way this is normally handled is that the UPS is configured to hold back power until it is reasonably charged up. The protected devices (NAS in this case) are expected to have bios settings that allow them to automatically boot when power is restored. The ReadyNAS doesn't let you adjust the bios settings to do that.

    Ahhhhh great, I didn't know that. Interesting feature... So such a hardware would know that shutdown is because of a power cut and will boot up when power is restored... never heard about it before.

    Thank you for your answers.
  • Ok I have additional information:

    • Actually it exist really expensive UPS with the ability to send information to network directly (we have to of them at my office - 15 KW each :shock: ). Unaffordable.

    • Since my Duo v2 is Debian-based, I can install Nut (Network UPS Tools) which comes with a compatibility list of UPS.
      (Maybe the ReadyNAS software uses Nut already)
      This allows to take decisions at OS level according to UPS' status (e.g. sending WoL packets to particular machines or all machines over the network, or any other stuff we can imagine to be done by Linux).
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    The ReadyNAS uses NUT already. Normally that is for allowing multiple devices to get the UPS status over the network, so they can all shut down when the UPS battery reaches critical. I use that now - my RN102 is connected with the NAS over USB, but my NV+ and Duo V1 are also protected using the NAS. All are connected to an ethernet switch (which also needs to be powered from that UPS btw), and all shut down.

    But WoL is something else again. Once the ReadyNAS all power down, they cannot send WoL packets... NUT does not change that.

    If you have another device on your home network that will power-on automatically, then you can potentially send WoL from it. That would essentially automate your existing manual process.

    There's an opportunity for a Netgear router app here.

    BTW, what UPS does your office have?
  • StephenB wrote:
    But WoL is something else again. Once the ReadyNAS all power down, they cannot send WoL packets... NUT does not change that.

    Yes, WoL messages was a stupid example :slap:

    StephenB wrote:
    BTW, what UPS does your office have?

    We use these ones from APC.
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    I am not seeing any references to WoL (or "wake") in their doc set. It could be part of their network management board, I am not sure if I am seeing complete doc for that. Though that seems to be focused on SNMP.

    As you say, they are way to expensive for home use, unless you are thinking about UPS for your whole house...

    Anyway, the most practical option for automating your current procedure is to use another device (e.g., a PC) that will reboot when power is restored.

    There have been some recent requests to allow users more control over the power-up settings of the NAS. This would require bios changes on Netgear's part, and they have made no commitment to it. However, you could request it via support.netgear.com, and/or through the features request area here. Though my guess is that they won't implement it on the older products.

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More