How to add multiple clients
Main Page > Software > Install-0.7-alpha > How to add multiple clients
Install
Install a Archivematica onto a client machine, as you normally would.
Set a static IP on the server machine
open /etc/network/interfaces
nano /etc/network/interfaces
then edit your interface entry (likely eth0) to look something like (you need to know your network details):
auto eth0 iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 gateway 192.168.0.1
edit /etc/fstab
sudo nano /etc/fstab
assuming the IP of your NFS server is the same as your MCP-Server (ie 192.168.0.100) add the following
192.168.0.100:/var/archivematica/sharedDirectory /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
MCPArchivematicaServer="server.local" MCPArchivematicaServerPort="8002"
In the same file, /etc/archivematica/MCPClient/clientConfig.conf, you can set the max number of threads this client will run.
maxThreads="2"
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" yourAgentIdentifierValue="ORG" yourAgentName="Your Organization Name Here" yourAgentType="organization"
The strings in the file populate these fields:
<agent> <agentIdentifier> <agentIdentifierType>repository code</agentIdentifierType> <agentIdentifierValue>ORG</agentIdentifierValue> </agentIdentifier> <agentName>Your Organization Name Here</agentName> <agentType>organization</agentType> </agent>
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 rm /etc/init/archivematica-mcp-server.conf sudo reboot
Reboot
sudo reboot now
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.