× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation

konsum69
Aspirant

Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation

Hello!

I have a ReadyNAS Duo V2 (arm) with firmware 5.3.13. The NAS is connected via a AP9630 network management card 2 to a APC SmartUPS. In the AP9630 the ReadyNAS Duo V2 is configured as snmp trap receiver. The APC SmartUPS is configured correctly in the ReadyNAS Duo V2 and is visible there.

 

UPS 1.jpgUPS 2.jpgUPS 3.jpg

 

 

My question is: what rules will the ReadyNAS Duo V2 follow if there is power breakdown and the UPS support the ReadyNAS with power?

in detail:

- what information is used by the firmware of the ReadyNAS to decide to shutdown? Remaining runtime in minutes or remaining capacity in % of the batteries of the UPS? Or something else?

- when is the shutdown process initiated? At once or later after reaching a threshold value?

- what trap snmp information is sent from the AP9630 to the ReadyNAS Duo V2?

- how is the trap snmp information exploited?

- how should be the AP9630 configured to give the ReadyNAS Duo V2 enough time for a clean shutdown?

- can be something configured on the AP9630 network management card to support the ReadyNAS Duo V2? I ask this because batteries went more worse with time and the load at the UPS may change in a power breakdown situation because all devices connected to the UPS need more power to shutdown or react in other way on the power breakdown. And so the load can change to normal/default situation and this will have an impact on the load and so on the remaining runtime of the batteries.

 

I hope that someone can tell me some more information about the procedure of shutting down due to power breakdown and connected APC UPS. It should be clear how a shutdown is done because a NAS should protect data and for this a clean shutdown is very important too! Not only other backup strategies to other NASs because an unclean shutdown may lead to a huge effort to check the consistency of the data of the unclean shutdowned NAS.

 

Thanks!

Model: ReadyNAS RND2110v2|ReadyNAS Duo v2
Message 1 of 8
mdgm-ntgr
NETGEAR Employee Retired

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation

The NAS doesn't need long to shutdown (less than a minute).

You can easily do a test to verify things are working properly. Plug power of the NAS directly into the wall outlet, but connect the SNMP to the UPS. Unplug the power from the UPS and monitor to see when the NAS is shutdown.

 

Then reconnect the UPS to power and plug the power cable from the NAS into the UPS again.

Message 2 of 8
konsum69
Aspirant

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation

Hi!

I did the test before und now again with pictures

UPS 4.jpgUPS 5.jpg

 

As you can see the UPS and the NAS are running for 30 minutes without any reaction in a power breakdown situation because the batteries of the UPS are nearly full. For the note I sent alert messages 17.55 and 18.25 which can be seen on the pictures. Then I interrupted the test because I do not want to empty my UPS.

Because of no load at the UPS this test can take a long time until the remaining runtime is low enough or the battery capacity falls under a certain treshold or ... so that the NAS get a signal from the AP9630 in the UPS to shut down.

 

That is why I ask the above questions: on what information or signal and when will the NAS shutdown?

Message 3 of 8
StephenB
Guru

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation

Well, the information is clearly coming through the SNMP MiB defined by APC.  You'd have to look at that to see what is sent.

 

You could also perform your test safely by

  • connecting the NAS to the main power (instead of the APC)
  • Put a load on the APC
  • Disconnect the APC from main power.

 

 

 

Message 4 of 8
konsum69
Aspirant

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation

Yes of course , I can do more tests!

But my questions was if anyone knows???

To test it out by myself than I do not have to ask!

Then I would do it on my own and would report it here!

 

I ask for support not for more testing procedures. This I can build for my own!

Message 5 of 8
StephenB
Guru

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation


@konsum69 wrote:

 

I ask for support not for more testing procedures. 


You aren't talking to support at all.  This is a community forum - Netgear does moderate it and does participate, but community members help one another.  I don't work for Netgear.

 

Personally I use UPS that are connected with USB.  There are some battery threshold settings when managing over USB, but I have no experience with UPS that use SNMP. 

 

As I tried say above, one of the challenges here is that the information from the UPS varies by manufacturer, and in your case it is defined in the MiB that APC provides.  The NAS derives a low battery indication from the specific MiB parameters that APC sends and it also knows when the APC is supplying battery power.  

 

FWIW, when you do use ethernet for UPS monitoring, it is important to protect the switches and routers - either with the same UPS or one that will run longer than the one protecting the NAS.  Otherwise the shutdown signal won't reach the NAS, and you will end up with an unclean shutdown when the battery runs out.

Message 6 of 8
konsum69
Aspirant

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation

"You aren't talking to support at all.  This is a community forum - Netgear does moderate it and does participate, but community members help one another.  I don't work for Netgear."

I know that and I meant that the community could support me! As I support other people in this community with my experiences and posts. In my oppinion "support" is not only "manufacturer support"! So there is a misunderstanding of "support"

 

What I really meant is that I can create test procedures by myself and need no help there. I need help by my questions!

 

"As I tried say above, one of the challenges here is that the information from the UPS varies by manufacturer, and in your case it is defined in the MiB that APC provides."

Yes , that is correct. And where is this Mib??? Integrated in the firmware 5.3.13. You can select it in the menu.

 

UPS 6.jpg

And back again: that is why I ask here if someone knows what information is used. May be that a linux professional or someone else logged in via console or ... and read out this information or whatever else. I will not do this because my knowlegde is too bad for this.

 

"FWIW, when you do use ethernet for UPS monitoring, it is important to protect the switches and routers - either with the same UPS or one that will run longer than the one protecting the NAS.  Otherwise the shutdown signal won't reach the NAS, and you will end up with an unclean shutdown when the battery runs out."

 

Sure and the switches are supported too! Everything else would be nonsens! I am not a beginner und that is why am asking here these questions. A beginner would not think so far!

 

 

Message 7 of 8
StephenB
Guru

Re: Shutdown rules on ReadyNas Duo V2 (arm) with connected APC SmartUPS in power breakdown situation


@konsum69 wrote:

 

Yes , that is correct. And where is this Mib??? Integrated in the firmware 5.3.13. 

 


You can also download it from APC's website here: http://www.apc.com/us/en/tools/download/index.cfm  Select Firmware - MIB in the top filter.  

 

Looking at the MiB, it looks to me like the APC just sends a "BatteryLow" status parameter, and also sends a trap when the UPS is about to shut down.  It looks you would configure the power reserve level threshold for "BatteryLow" on the APC (not the NAS).

upsBasicBatteryStatus OBJECT-TYPE
   SYNTAX INTEGER  {
      unknown(1),
      batteryNormal(2),
      batteryLow(3),
      batteryInFaultCondition(4)
   }
   ACCESS read-only
   STATUS mandatory
   DESCRIPTION
      "The status of the UPS batteries. A batteryLow(3) value
       indicates the UPS will be unable to sustain the current
       load, and its services will be lost if power is not restored.
       The amount of run time in reserve at the time of low battery
       can be configured by the upsAdvConfigLowBatteryRunTime.
       A batteryInFaultCondition(4)value indicates that a battery
       installed has an internal error condition."
   ::= { upsBasicBattery 1 }


lowBattery TRAP-TYPE
   ENTERPRISE apc
   VARIABLES { mtrapargsString }
   DESCRIPTION
      "SEVERE: The UPS batteries are low and will soon be exhausted.
       If utility power is not restored the UPS will put itself
       to 'sleep' and immediately cut power to the load."
   --#TYPE "APC UPS: Low battery"
   --#SUMMARY "The UPS system's batteries are low and will soon be exhausted."
   --#SEVERITY SEVERE
   --#TIMEINDEX 1
   --#HELP ""
   --#HELPTAG 0
   --#STATE DEGRADED
   ::= 7

Though you'd need Netgear to confirm this. 

Message 8 of 8
Top Contributors
Discussion stats
  • 7 replies
  • 1658 views
  • 0 kudos
  • 3 in conversation
Announcements