Difference between revisions of "MCP Basic Configuration"
(→Client) |
|||
Line 56: | Line 56: | ||
==Client== | ==Client== | ||
===Supported Modules=== | ===Supported Modules=== | ||
− | [http://code.google.com/p/archivematica/source/browse/trunk/src/MCPClient/etc/archivematicaClientModules Supported modules] | + | /etc/archivematica/archivematicaClient/clientConfig.conf |
+ | <br>[http://code.google.com/p/archivematica/source/browse/trunk/src/MCPClient/etc/archivematicaClientModules Supported modules] | ||
<br/>/etc/archivematica/MCPClient/archivematicaClientModules | <br/>/etc/archivematica/MCPClient/archivematicaClientModules | ||
<br/>It's highly recommended only the MCP server host machine client support the upload and store tasks. | <br/>It's highly recommended only the MCP server host machine client support the upload and store tasks. | ||
− | <br/> | + | <br/>Change the in theLoadSupportedCommandsSpecial in clientConfig.conf on other machines |
<pre> | <pre> | ||
− | + | LoadSupportedCommandsSpecial = False | |
− | |||
− | |||
</pre> | </pre> | ||
Line 77: | Line 76: | ||
The maximum number of thread the MCP is allowed to run on this host. | The maximum number of thread the MCP is allowed to run on this host. | ||
maxThreads="2" | maxThreads="2" | ||
− | The location of the client modules. These specify which modules this host supports. | + | <br> maxThreads is no longer used. The client will detect the number of cores on the machine, and use that number of threads. |
+ | <br>The location of the client modules. These specify which modules this host supports. | ||
archivematicaClientModules="/etc/archivematica/MCPClient/archivematicaClientModules" | archivematicaClientModules="/etc/archivematica/MCPClient/archivematicaClientModules" | ||
The location of the client scripts. | The location of the client scripts. | ||
clientScriptsDirectory="/usr/lib/archivematica/MCPClient/clientScripts/" | clientScriptsDirectory="/usr/lib/archivematica/MCPClient/clientScripts/" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Development documentation]] | [[Category:Development documentation]] |
Revision as of 13:23, 12 January 2012
Design
This page proposes a new feature and reviews design options
Development
This page describes a feature that's in development
Documentation
This page documents an implemented feature
Server
Configurations
Server ConfigFile
/etc/archivematica/MCPServer/ServerConfig.conf
Workflow Configurations
Please see MCP_Configuration
MCP Server Section
File Names
These shouldn't be changed.
- File Names
checksumsNoExtention="checksum"
Gearman Server
MCPArchivematicaServer = localhost:4730 GearmanServerWorker = localhost:4730
Note: to set the gearman process to listen on more interfaces than localhost, set it in '/etc/default/gearman-job-server'. I think you can set this to 1.1.1.1 for all interfaces.
Other
watchDirectoryPath: Directory containing the directories watched by the MCP.
watchDirectoryPath="/var/archivematica/sharedDirectory/watchedDirectories/"
sharedDirectory: directory shared on the network with MCP clients. Containing the processing directory.
sharedDirectory="/var/archivematica/sharedDirectory/"
processingDirectory: Directory SIPs reside in while they are actively being processed.
processingDirectory="${sharedDirectory}.currentlyProcessing/"
AIPsStore: Directory to store the AIPs when finished processing. This can be a mounted directory on an external storage device.
AIPsStore="${sharedDirectory}AIPsStore/"
Client
Supported Modules
/etc/archivematica/archivematicaClient/clientConfig.conf
Supported modules
/etc/archivematica/MCPClient/archivematicaClientModules
It's highly recommended only the MCP server host machine client support the upload and store tasks.
Change the in theLoadSupportedCommandsSpecial in clientConfig.conf on other machines
LoadSupportedCommandsSpecial = False
Client ConfigFile
/etc/archivematica/MCPClient/clientConfig.conf Server to connect to. Specify hostname/IP and port.
MCPArchivematicaServer="localhost" MCPArchivematicaServerPort="8002"
The matching protocol file to the MCP server
archivematicaProtocol="/etc/archivematica/MCPClient/archivematicaProtocol"
Where the shared directory on the MCP Server is mounted:
sharedDirectoryMounted="/var/archivematica/sharedDirectory/"
The maximum number of thread the MCP is allowed to run on this host.
maxThreads="2"
maxThreads is no longer used. The client will detect the number of cores on the machine, and use that number of threads.
The location of the client modules. These specify which modules this host supports.
archivematicaClientModules="/etc/archivematica/MCPClient/archivematicaClientModules"
The location of the client scripts.
clientScriptsDirectory="/usr/lib/archivematica/MCPClient/clientScripts/"