Tutorials
Tutorials
Posted By Azker

Auto shutdown QNAP storage device with the help of an APC power supply


If you’re using a NAS (known as Network attached storage), the question you’ll always have is; how am I suppose to protect the DATA’s on it?? connecting the NAS to a UPS would reduce risks of losing DATA’s?? Well, I would say yes assuming your NAS and the UPS has a mutual understanding (or I call it supported/compatible). And how great will it be if there’s a medium that can send a shutdown signal to the NAS whenever a power failure occurs? will be perfect isn’t it?? This is pretty simple yet an amazing experience that I had with a QNAP storage device. So, I thought of just composing a note to myself for a later use and I hope this may help another in any event.

A network attached storage acts as a computer data storage server connected through a network to the end user who requests DATA’s on all times. Thus, its the common definition for a NAS; we can utilize its features to support our needs. Because, certain NAS not only acts as a data server, it has the ability to run FTP, Web server, SQL, connecting it via Active directory… etc. The best part of a NAS is that it is capable of RAID (redundant array of inexpensive/independent disks). Read the linked RAID which directs you to a Wikipedia article if you would like to learn more.

Okay! Now lets discuss about the topic. Well, very recently one of our QNAP storage device had an issue with its RAID levels while also leaving the UPS faulty. To an extent I could not find a pretty good UPS but ended up buying an APC BK-650VA which pretty much serves happily with one NAS connected onto it.

bk650va-apc1-geeklk

After sometime I though; what if this UPS fails and what if the electricity goes out. Keeping that on mind, I stared fixing the RAID issue and managed to buy a decent UPS which can trigger shutdown signal in an event of a power failure. At last, I managed to fix the RAID issue and also the UPS power failure trigger. This is how;

Do some research to make sure your NAS & the UPS you buy or may be using is capable of this operation. Also, make sure you’re familiar with your NAS software as well (in case if you need to know what’s happening). In each UPS, you’ll receive a DATA cable where one end will be an RJ50 male connector & the other is a USB male connector (click on the image to view in full).

ups-cable-geeklk

 Simply connect the given connector from your UPS to the NAS & alter the setting in the NAS. Once done and when the UPS is live on NAS, it will appear as below;

ups-status-nas-geeklk


An IT professional living far away from the pearl of Indian ocean. A Telecom nomad moved towards networking & hospitality IT building elegant resort in the romantic island of Maldives. An open-source fanatic, a geek and yes! a minion fan. I prefer football & popcorn ^_^

View Comments
View Comments
There are currently no comments.

This site uses Akismet to reduce spam. Learn how your comment data is processed.