Use QNAP NAS as content server
From SpinetiX Support Wiki
Introduction
The tutorial below explains how to configure a QNAP NAS device as content server for HMP devices, how to publish content from Elementi (M or X) on the NAS, and how to configure the HMP devices to retrieve and display that content.
Notes:
- The HMP is able to automatically retrieve content from a web server, which is useful for large setups involving a centralized content server or whenever is not possible to push content directly on the player (for instance, due to firewall / NAT usage).
- To facilitate the content deployment for such setups, Elementi M and Elementi X offer the possibility to publish the content directly on a server through the Publish Location feature. This feature is not available for Elementi S.
Tutorial
- Difficulty: Easy.
- Total duration: 20-30 minutes.
- Requirements:
- A QNAP NAS device.
- Elementi M or Elementi X, version 3.0.0 or later. (The latest version is recommended.)
- One or more HMP devices using firmware 3.0.0 or later. (The latest version is recommended.)
- A project to be used as content.
Set up the QNAP NAS device
- Install the QNAP NAS device according to the quick installation guide.
- For this tutorial, the QNAP TS-120 NAS model has been used.
- Once connected to the network, access http://start.qnap.com.
- Set up the NAS device using the automatic cloud installation.
- At this point, the device name was set to "QNAP-nas" and the device firmware was updated to 4.1.2 (the latest version at the time of writing).
- Once done, open the QTS web interface and sign in with your user.
Configure the QNAP NAS device
- Click on "Control Panel" icon to open Control Panel window.
- Click on "Users" menu / button under "Privilege Settings" section.
- Click on "Create" button and select "Create a User".
- Enter the details of the user (e.g., "hmp") that will be used by the HMP devices to connect to the NAS.
- There's no need to change anything else, so click on "Create" button.
- Click on "Shared Folder" menu under "Privilege Settings" section.
- Click on "Create" button and select "Shared Folder".
- Enter the details of a new shared folder (e.g., "projects") where you will save the projects for the HMP devices.
- Click on the "Edit" button next to "Configure access privileges for users". (The button turns into "Close".)
- Set read / write permissions for your hmp user.
- Click on "Create" button to create the shared folder. (The "projects" folder appears on the list.)
- Click on the "Web Server" menu under "Applications" section.
- Enable Web Server (if not already enabled)
- Enable WebDAV and select "Shared folder permission".
- Click on the "Apply All" button.
- Click on "File Station" icon to open the "File Station" window.
- Select "projects".
- Click on "Create folder" button and select "Folder".
- Enter the folder name (e.g., "MyProject").
- Click on "OK" button.
- If needed, you can create in the same manner other folders (e.g., "MyProject2", "MyProject3" etc.) to host other projects.
Publish content on NAS
- Open Elementi and prepare the content to be published on the NAS.
- For instance, you can use one of the sample projects included within Elementi or create a new project (this tutorial might also come in handy).
- Open Elementi Devices view and create a new Publish Location with the following details:
- Protocol - select "HTTP".
- Hostname - enter the name of your QNAP NAS device (e.g., "QNAP-nas").
- Path: - enter the path to the your project (e.g., "/projects/MyProject").
- Security - enable it and enter the user (e.g., "hmp") and its password.
- Publish the content onto the newly created Publish Location (e.g., "MyProject@QNAP-nas").
Display content on HMP350 or HMP300
The HMP can retrieve the content from QNAP NAS device and display it on the screen, using Scheduled Download or Client/Server mode (only if "live" playing is required).
- Scheduled Download is strongly recommended because it is resilient to network and bandwidth problems.
- See more about the differences between these two content pull methods.
Adding credentials
In order for the HMP to be able to retrieve the content from the NAS device, you need to add the credentials on the HMP.
For that, follow these steps:
- Open HMP Control Center > System > Saved Passwords.
-
http://QNAP-nas/projects/
as Server URI, the user (e.g., "hmp") and its password.
Scheduled Download
To add a Scheduled Download to the HMP, follow these steps:
- Open HMP Control Center > Content > Scheduled Download.
- Under "Server URI", enter
http://QNAP-nas/projects/MyProject/
. - Select the type of update to be performed (Manual, Hourly, Daily)
- In case of Daily update, select the time at which you would like the publish action to take place.
- In case of Manual update, you need to press the reload icon to trig the update of the content manually.
- Click on "Apply" button. Once the download is completed, the HMP will display the content retrieved from QNAP NAS device.
Live content display
Serious testing & validation of the bandwidth and quality of the network should be done before using this option in a production environment. This is for advanced users only.
To configure the HMP for Client/Server mode (Live Sources), follow these steps:
- Open HMP Control Center > Content > Live Sources.
- In the Server URI enter
http://QNAP-nas/projects/MyProject/
. - Give the server an name (e.g. QNAP)
- Click on "Apply" button.
To use the Live source:
- Go to the Schedule page
- Select "Live Sources"
- Drag and drop any the live source with the name "QNAP" either in the schedule, or as default content the same way that you would schedule Playouts.
Display content on HMP200 or HMP130
The HMP can retrieve the content from QNAP NAS device and display it on the screen, using Pull_Mode or Client/Server mode (only if "live" playing is required).
- Pull_Mode is strongly recommended because it is resilient to network and bandwidth problems.
- See more about the differences between these two content pull methods.
Adding credentials
In order for the HMP to be able to retrieve the content from the NAS device, you need to add the credentials on the HMP.
For that, follow these steps:
- Open HMP Control Center > Network Settings page.
- Click on the Credentials tab.
- Add
http://QNAP-nas/projects/
as Server URI, the user (e.g., "hmp") and its password. - Click on the "Apply" button.
Pull Mode configuration
To configure the HMP for Pull Mode, follow these steps:
- Open HMP Control Center > Content Settings page.
- Click on the Pull Mode tab.
- Select "Manual settings" option and enable "Automatically upload project to the HMP[...]" option.
- Under "Project source", enter
http://QNAP-nas/projects/MyProject/
. - Select the time when the HMP should start pulling the content (you check the status within uploader.log).
- Click on "Apply" button. Once the pull action is completed, the HMP will display the content retrieved from QNAP NAS device.
Client/Server Mode configuration
Serious testing & validation of the bandwidth and quality of the network should be done before using this option in a production environment. This is for advanced users only.
To configure the HMP for Client/Server mode, follow these steps:
- Open HMP Control Center > Content Settings page.
- Click on the Content Source tab.
- Set "Primary source" option to "Network Project".
- In the field next to it enter
http://QNAP-nas/projects/MyProject/
. - Click on "Apply" button. The HMP will start displaying the content from QNAP NAS device right away.