Difference between revisions of "How to add multiple clients"

From Archivematica
Jump to navigation Jump to search
Line 3: Line 3:
*[[Set a static IP]] on your server machine
*[[Set a static IP]] on your server machine
*[[NFS is running]] on your server machine
*[https://help.ubuntu.com/community/SettingUpNFSHowTo#NFSv4%20server NFS is installed/running] on your server machine

Revision as of 14:05, 23 June 2011

Main Page > Software > Install-0.7.1-alpha > How to add multiple clients



Install the client package

sudo aptitude install archivematica-mcp-client

Configure fstab to automatically mount the remote NFS share directory on client machines

edit /etc/fstab

sudo nano /etc/fstab

assuming the IP of your NFS server is the same as your MCP-Server (ie add the following /var/archivematica/sharedDirectory nfs defaults 0 0

Supported Modules

Comment out the upload and storeAIP tasks, from the supported tasks on the client machine, by prepending the line with a '#'.

sudo mousepad /etc/archivematica/MCPClient/archivematicaClientModules
#upload-qubit_v0.0="upload-qubit "
#storeAIP_v0.0="%clientScriptsDirectory%storeAIP.sh "

Change the IP/Hostname

Change the IP/Hostname the client machine is connecting to.

sudo mousepad /etc/archivematica/MCPClient/clientConfig.conf

In the same file, /etc/archivematica/MCPClient/clientConfig.conf, you can set the max number of threads this client will run.


Client Organization Setting

You will need to configure the organization settings, for the premis metadata, on each client.

sudo mousepad /usr/lib/archivematica/MCPClient/clientScripts/createXmlEventsAssist.py
 yourAgentIdentifierType="repository code"
 yourAgentName="Your Organization Name Here"

The strings in the file populate these fields:

 <agentIdentifierType>repository code</agentIdentifierType>
 <agentName>Your Organization Name Here</agentName>

Disable the MCP Server

Each client node needs to have the MCP server disabled from starting at startup.

login to each node, remove /etc/init/archivematica-mcp-server.conf and reboot.

sudo stop archivematica-mcp-server
sudo rm /etc/init/archivematica-mcp-server.conf


sudo stop openoffice-service; sudo start openoffice-service
sudo stop archivematica-mcp-client; sudo start archivematica-mcp-client

The client should connect on startup.

Note: to see the dashboard, or ica-atom, you'll need to visit the server's ip address, not localhost.