Difference between revisions of "How to add multiple clients"

From Archivematica
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Main Page]] > [[Software]] > [[Install-0.7-alpha]] > How to add multiple clients
 
[[Main Page]] > [[Software]] > [[Install-0.7-alpha]] > How to add multiple clients
 +
 +
[http://archivematica.org/download Install a Archivematica] onto a client machine, as you normally would.
 +
===Set a static IP on the server machine===
 +
 +
===Configure fstab to automatically mount the remote shared directory===
 +
 +
 +
===Supported Modules===
 +
Comment out the upload and storeAIP tasks, from the supported tasks on the client machine, by prepending the line with a '#'.
 +
<pre>
 +
sudo mousepad /etc/archivematica/MCPClient/archivematicaClientModules
 +
</pre>
 +
<pre>
 +
#upload-qubit_v0.0="upload-qubit "
 +
#storeAIP_v0.0="%clientScriptsDirectory%storeAIP.sh "
 +
...
 +
</pre>
 +
 +
===Change the IP/Hostname===
 +
Change the IP/Hostname the client machine is connecting to.
 +
<pre>
 +
sudo mousepad /etc/archivematica/MCPClient/clientConfig.conf
 +
</pre>
 +
<pre>
 +
MCPArchivematicaServer="server.local"
 +
MCPArchivematicaServerPort="8002"
 +
</pre>
 +
In the same file, /etc/archivematica/MCPClient/clientConfig.conf, you can set the max number of threads this client will run.
 +
<pre>
 +
maxThreads="2"
 +
</pre>
 +
 +
===Client Organization Setting===
 +
You will need to configure the organization settings, for the premis metadata, on each client.
 +
<pre>
 +
sudo mousepad /usr/lib/archivematica/MCPClient/clientScripts/createXmlEventsAssist.py
 +
</pre>
 +
<pre>
 +
yourAgentIdentifierType="repository code"
 +
yourAgentIdentifierValue="ORG"
 +
yourAgentName="Your Organization Name Here"
 +
yourAgentType="organization"
 +
</pre>
 +
 +
The strings in the file populate these fields:
 +
<pre>
 +
<agent>
 +
<agentIdentifier>
 +
<agentIdentifierType>repository code</agentIdentifierType>
 +
<agentIdentifierValue>ORG</agentIdentifierValue>
 +
</agentIdentifier>
 +
<agentName>Your Organization Name Here</agentName>
 +
<agentType>organization</agentType>
 +
</agent>
 +
</pre>
 +
 +
===Reboot===
 +
<pre>sudo reboot now</pre>
 +
The client should connect on startup.

Revision as of 13:37, 23 February 2011

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

Install a Archivematica onto a client machine, as you normally would.

Set a static IP on the server machine

Configure fstab to automatically mount the remote shared directory

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>

Reboot

sudo reboot now

The client should connect on startup.