Configuration NAS Mystique

From miki
Revision as of 20:48, 30 September 2018 by Mip (talk | contribs) (→‎Wolverine)
Jump to navigation Jump to search

References documentation

CloudStation vs Drive

Reference information

  • Device: Synology NAS DS418play (four bays).
  • Name: Mystique.
  • Web interface: http://mystique:5000, then log in with admin account admin.
  • SSH: ssh admin@mystique, then sudo -i to get root access.
Or use any other member of the administrator group.
  • LAN 1:
  • MAC address 00:11:32:82:F8:89
  • Static address 192.168.1.97.
  • LAN 2:
  • ???
  • Specification:
  • Synology DS418play
  • 4 x Seagate IronWolf 4 TB
Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk)

Installation

Issue: Must use chromium (requires java)
  • Enable QuickConnect.
Must visit http://QuickConnect.to/immie-mystique
  • Recommended packages: Moments, Video Station, Media Server, Audio Station, Hyper Backup, Drive, Download Station.
  • Don't share device location for find.synology.com.

From now on, we must use http://mystique:5000/ to connect to the NAS.

SSH
  • First time, must connect from account with no ssh configuration.
  • Copied authorized_keys, but had to chmod permissions (700 for home, 755 for .ssh, 644 for authorized_keys).
Network
  • Use static address 192.168.1.97.
File Service
  • SMB, change workgroup name from WORKGROUP to HELL.
  • Disable AFP.
  • Enable Fast-File Copy (on btrfs shared folder).
Notification
  • Recipient's email address: m.mystique@immie.org
  • prefix: [mystique]
  • SMTP: Using Scarlet (smtp.scarlet.be, 465).
Drive
  • Using Drive instead of CloudSync Server.
  • To configure, go to Package Center → Drive → Open. This opens the Drive admin console.
  • To enable sync'ing with CloudStation clients, visit Team Folder, and enable each shared folders that must be synced [1]
Task scheduler
  • Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
Replication
  • Install Snapshot Replication package.
  • Go to Storage manager → Volume → Action → Configure and set Record File Access Time Frequency to Never (was on Daily), to improve replication performance (suggested during install).

Backup strategy

Wolverine

The table below list the shared folder of Wolverine and how they are backed up to Mystique.

Shared folder Backup strategy
family CloudStation ShareSync
homes Shared Folder Sync, daily, 2.05am (encryption and block-based)
music CloudStation ShareSync
NetBackup NONE (empty)
photo CloudStation ShareSync
video CloudStation ShareSync

Notes:

  • Because we use rsync to sync the homes share from Wolverine to Mystique, the home service on Mystique must be disabled.

Mnemosyne

The table below list the shared folder of Mnemosyne and how they are backed up to Mystique.

Shared folder Backup strategy
homes NONE
movie Shared Folder Sync, manually
music NONE (empty)
NetBackup NONE (empty)
photo NONE (empty)
video NONE (empty)

Mystique

On the mid-term, Mystique will be entirely replicated to a remote NAS via internet. For now, we have the following shares and backup strategy.

Shared folder Backup strategy BTRFS Snapshot
family CloudStation ShareSync Daily (2.00am), retention 24/7/2/1/1
homes Sync'ed from Wolverine Daily (2.00am), retention 12/3/1/0/0
movie Sync'ed from Mnemosyne Daily (2.00am), retention 12/7/2/1/1
music CloudStation ShareSync Daily (2.00am), retention 24/7/2/1/1
NetBackup NONE (empty)
photo CloudStation ShareSync Daily (2.00am), retention 24/7/2/12/1
video CloudStation ShareSync Daily (2.00am), retention 24/7/2/12/1

Troubleshoot

Sync issues with CloudStation - Wolverine

Family
  • Some files missing, but in the exclude list (Thumbs.db, *.tmp, *.swp, *.lnk, desktop.ini).
  • Some file missing that should not (~500MB:
  • Files in Program Files folder.
There is no fix for that [2]. Only solution is to rename the folder or zip it.