How to manage Storage server?

All Storage Servers is activated with pre-installed special OS template - "Filer (CentOS 6, Rsync, FTP, Samba) (64-bit)".

 

Take a note, that default folder for data storage in the Storage Server is /home/storage.

 

"Filer" OS template have pre-installed services and tools like:

 

• Rsync tool
• FTP (vsFTPd) service
• Samba (smbclient, smbd) service



1. Rsync usage



1.1. You can securely sync data between the target server and the Storage Server by using SSH keys. Instructions how to do that:

 

a. Generate SSH key on the target server (not the Storage Server!):

 

ssh-keygen -f ~/.ssh/id_rsa -q -P ""



b. Copy created SSH key to the Storage Server from the target server:



ssh-copy-id -i /root/.ssh/id_rsa.pub root@storage_server_IP



c. Test connection between the target server and the Storage Server. Execute this command from the target server:



rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /home storage_server_IP:/home/storage

 

2. FTP usage



2.1. "Filer" OS template have FTP service (vsFTPd) installed and ready to use. You can easily login by using any popular FTP client. 

Example login details:

FTP hostname: xxxx.hostimul.com
Username: root
Password: root_user_password
Port: 21
 


3. SAMBA usage



3.1. Login to the Storage Server SAMBA from another Linux systems:

smbclient //xxxx.hostimul.com/storage -U root

 

3.2. In order to connect (mount) Storage Server and Windows systems (to use it as attached storage) use this guide:

https://support.microsoft.com/en-gb/help/4026635/windows-map-a-network-drive
 

(In "Folder" put your server hostname. For example:: \\xxxx.hostimul.cloud\Storage)

 

3.3. In order to connect (mount) Storage Server and MAC OS systems (to use it as attached storage) use this guide:

https://support.apple.com/en-us/HT204445

(In "Server Address" enter your server hostname. For example: smb://xxxx.hostimul.cloud\Storage)

Note: Storage Server is designed for archiving non-critical data (e.g. backups), therefore additional backups are not being done. Customer is responsible for data recovery (e.g. from secondary storage) in the event of unlikely RAID6 failure (when 3 or more hard drives fail at the same time).