NotreDAM
NotreDAM
The open-source Digital Asset Management platform
Multi-node installation
Notre-DAM - Open Source Digital Asset Management - developed by CRS4 and Sardegna Ricerche (DistrICT Lab)
This page will show how to upgrade a single-machine installation of NotreDAM to a multi-node installation.
System requirements
You need:
•one computer with a single-machine installation of NotreDAM. Please, refer to the single-machine installation instructions if you have not installed it yet
•additional computers, as many as the number of nodes you want to add (at least one), running GNU/Linux Ubuntu 10.04 (lucid)
The following instructions describe some preliminary steps required to set up a shared file system.
Step 1: set up a shared directory
A multi-node installation of NotreDAM requires a shared directory for storing resources. Tipically, whoever intends to deploy a multi-node NotreDAM already has a shared file system (e.g. on a NAS), so he has just to update the configuration file.
In case you are adding new nodes to a single-machine installation, you may need to set up your shared directory using any distributed file system (NFS, Samba, etc.). Instructions for setting up NFS (server and client) are provided here.
By default, a single-machine installation of NotreDAM stores the resource files in /var/spool/notredam. If the shared directory in the computer hosting the NotreDAM server has a different path, you have to update the configuration file as specified in Step 2. Otherwise, you can skip step 2.
Step 2: update the NotreDAM configuration file
If the shared directory in the computer hosting the NotreDAM server is different from /var/spool/notredam, you have to:
•stop the NotreDAM server and the MediaDART node;
•update the configuration file 001-notredam.cfg with the new path of the shared folder;
•move any existing subtree from /var/spool/notredam to the shared folder;
•restart the NotreDAM server and the MediaDART node.
At this point, you have a single-node installation working with a shared file system. Now you can add as many nodes as you like.
Step 3: install and configure the new MediaDART nodes
You have to install one node on each new machine you intend to deploy. In order to install the new MediaDART nodes, please refer to the MediaDART Installation HowTo on Google Code.
Each node shall be configured, setting the path of the shared folder and the address of the broker. By default, the broker is on the machine hosting the NotreDAM server.
You are free to set different paths to the shared folder on each node (as long as they point to the same shared file folder!).