PACC project report 1

My and Asset's task for the first few weeks of the PACC research was to assemble, configure and run the Synology Diskstation DS413j. (). Initially we had 5 of them, each having 4 hard drives 4GB each.

One of the main challenges at first was to find them in the network, since the opening the link we got nothing at all. Then with the help of professor Norbisrath we managed to find them, here is the steps that were required:

1. In terminal write
for i in {2..254}; do ping -c1 -t1 192.168.19.$i &/dev/null&& echo &i & done
2. Then we needed to check those IPs which gave some response.
Afterwards, we installed the DSM following []( .

DSM has quite a fancy user-interface, where you can easily monitor and change everything you want. In order to be always aware of the NAS statuses, I enabled email notification system. Firstly, I investigated whether our university had or made it possible to run an SMTP server, but as it soon was found - this cloudn't be accomplished. Thus, I found a solution, how to use a gmail SMTP server for this purposes. SMTP server: STMP Port: 587

Fos testing purposes we tried creating volumes under different RAID levels, until it was decided to implement iSCSI and mount all the NASes to our server. iSCSI setup for NASes will be described in Asset's blog post later.

We also experienced some problems with NAS2, whose internal fan was often failing, thus it was decided that it should be replaced. Currently, we are waiting to get it back, so that to finish the auto-mount

ownCLoud, which we have configured during the summer PACC project allows to have only one data directory and a possibility to add local as an external storage. However, it was decided that such design is not quite convenient, and there was a suggestion to use logical volumes. NAS1 and NAS2 are planned to be used for ownCLoud storage, NAS3 and NAS4 for ownCloud backup, and NAS5 for sstcloud backup. After the arrival of the NAS2 I am going to configure logical volumes for data directory .

Besides I have also updated ownCloud to 6.0.2. I was performed in the admin tab, and afterwards you needed to change the data directory out of the web root directory, following this steps:

1) sudo cp -R /var/www/owncloud/data /home/owncloud
2) sudo chown -R www-data.www-data /home/owncloud/
3) Change (datadirectory => /var/www/owncloud/data) to (datadirectory => /home/owncloud) location by editing:
sudo nano/var/www/owncloud/data/config/config.php

I also enabled encryption of the user data, which is also protected by recovery key (allow to recover users files in case of password loss).

Currently I am searching for power saving options for windows/linux and Wake On LAN