Gadget Notes – APC CS 650 UPS & Synology

Date:  May 17, 2017

Yesterday afternoon, there was this mysterious power outage.  And I am lucky to have only 1 single casualty.  The hard disk in my Synology NAS #2 which stores all my life time digital photos.  (Well, I did backup to Synology NAS #1 for safety, and I also have a Time Machine to backup my Photo library on my iMac).


You usually cannot find the root cause, as there are too many electrical appliance at home and it is really impossible to know where is the grounding leakage or faulty appliance.  Especially when there are so many China-made LED lights and parts lying here and there.  hahahaha


So, my new project of the day is…

  1. Get an smart UPS
  2. Connect the UPS to my Synology NAS and connect it with DATA link too.
  3. When there is a power outage, the UPS will supply battery power to my NAS
  4. At the same time, thru the data/USB port, UPS will notify my NAS that there are power outage.
  5. Wait for X number of minutes, the NAS will go into Safe Mode, where it unmount all the disk, and shutdown itself.
  6. When the power come back up again, the data port/USB port will some how magically wake up the Synology NAS, and then, start up the NAS again.
  7. And since I have two NAS, so, the NAS #1 must inform NAS #2 the same thing without having the data/USB port connected to the UPS (Since UPS usually have only 1 single data/USB port).

After some quick research, these are some of the UPS that is supported by Synology.


Since this is a critical project.  So, without any delay, I quickly bought the UPS.  It is a Smart UPS from APC CS-650.


Here are the specs.  The most important feature is “Network interface port – USB/serial connectivity”.  This is the data cable that has RJ45 at one end and the other end is a USB connecting port.


I bought it from Memory World @ Sim Lim Square.  That is where I bought all my Synology, hard disk, ColorSpace photo disk.  It cost about $219.


Not very useful info.  But you know it will provide battery power to my two Synology NAS for some time so that it has enough time to power down and unmount the disk in case of power outage.


Oh Cool!  I always thought UPS is black color.  hahaha


Well done.  It actually QC the UPS for me.


This is that magic cable.  One end RJ45, and the other end USB.


Very simple.  Plug the USB into Synology USB port #1.  Plug the RJ45 into the Network Data port as shown on the APC CS-650 UPS.

Connect the power cable to both Synology NAS.

And by right, you should plug the third one to the Network Router which networked both the Synology UPS.  And the UPS only gives you two such power cable.  so, you need to buy the third one.  I will get it some day later.


After hook up everything.  The UPS has power, it is online, green color.  The Synology are booting up.


Configuring is simple.

Go to Control Panel –> Hardware & Power –> UPS

Click “Enable UPS support

I select “5” minutes before DiskStation enters Safe Mode

Enable network UPS server.

Screen Shot 2017-05-17 at 10.42.33 PM.png

Key in the Synology NAS that is connected to the UPS, but not the DATA USB port.  So, you simply tell this Synology that there is another Synology out there.  So, it is this Synology NAS #1′ job to tell the other networked Synology NAS #2 that there is power outage in case of the real outage.

Screen Shot 2017-05-17 at 10.44.22 PM.png

So, since you have connected the Data USB cable on this Synology NAS #1, it will tell you what UPS you are using, and the status as well as the Batter charged status.  Cool!

If you can see this, means, it work!

Screen Shot 2017-05-17 at 10.45.33 PM.png

On the other Synology NAS #2, you configure the same thing.  But because it has not connected to the APC UPS directly, you will need to configure a Network UPS server IP, which is the Synology NAS #1 who is connecting to the APC UPS via the data USB port.

Once you have done that, the “Device Information” is shown.  That mean, your Network UPS worked.

Screen Shot 2017-05-17 at 10.52.47 PM.png

So now, this is how it works…

  1. The there is a power outage.
  2. UPS will tell Synology NAS #1 (the one that is connected to UPS via the data USB cable) that there is a power outage.
  3. Synology NAS #1 in turns relay this message to Synology NAS #2.  Telling him that there is a power outage.
  4. So, both NAS #1 and NAS #2 will now wait for 5 minutes, then, NAS #1 & NAS #2 initiate the Safe mode and unmount the disk and go to shutdown mode.
  5. NAS #2 inform NAS #1 it has shutdown.  NAS #1 inform UPS it has shutdown.
  6. Both NAS #1 and NAS #2 shutdown.
  7. UPS then, shutdown the battery.
  8. When power is restored, it then, will wake both NAS #1 and NAS #2 in that order.

So, now, I have a very safe UPS protecting my Synology NAS.  🙂  My precious.


Mean while, my Synology NAS #2 is slowly rebuilding and repairing the data.   🙂

Screen Shot 2017-05-17 at 10.55.47 PM.png


Leave a Reply