Difference between revisions of "Application settings"

From Archivematica
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
==Connect to shared directories==
 
==Connect to shared directories==
**See [[Virtual_appliance_instructions#Import_files_into_virtual_appliance_.28optional.29|Connecting to shared directories on an external machine]]
+
*See [[Virtual_appliance_instructions#Import_files_into_virtual_appliance_.28optional.29|Connecting to shared directories on an external machine]]
  
  
Line 13: Line 13:
 
**re-write post commands to match the expected import parameters of the target system
 
**re-write post commands to match the expected import parameters of the target system
 
**change the upload script option in Archivematica (''where located?'')
 
**change the upload script option in Archivematica (''where located?'')
 
 
  
  
 
==Quarantine time==
 
==Quarantine time==
 
*change the following values to increase or decrease the amount of time that files spent locked in quarantine:
 
*change the following values to increase or decrease the amount of time that files spent locked in quarantine:
**/opt/archivematica/viriaccession.sh
+
**/opt/archivematica/processSIP.sh
 
**change 'amin' value on line 24
 
**change 'amin' value on line 24
 
  
 
==Selecting Normalization Tools==
 
==Selecting Normalization Tools==
*Normalization tools used by normalize2.py are based on file extensions. It scans the NormalizationConf folder for EXTENSION.xml documents and if it doesn't find one then it uses the default normalization command. If it does find one, it reads the data inside.
+
*Normalization tools used by normalize.py are based on file extensions. It scans the NormalizationConf folder for EXTENSION.xml documents and if it doesn't find one then it uses the default normalization command. If it does find one, it reads the data inside.
 
**Note: file names are capitalized in the extention and lowercase '.xml'.
 
**Note: file names are capitalized in the extention and lowercase '.xml'.
 
**Recomended naming convention for parents: Type and tool; ie 'IMAGES_CONVERT.xml'
 
**Recomended naming convention for parents: Type and tool; ie 'IMAGES_CONVERT.xml'
Line 31: Line 28:
 
*If a parent is defined, it looks at the parent xml file and ignores all the other values in the current file.
 
*If a parent is defined, it looks at the parent xml file and ignores all the other values in the current file.
  
*All of the %text% are defined in the replacementDic in normalize2.py.
+
*All of the %text% are defined in the replacementDic in normalize.py.
 +
 
 +
 
 +
==Change agent name in METS.xml file (Archivematica 0.6.x)==
 +
*The PREMIS metadata in the METS. xml includes two agents: the software (Archivematica) and an organization. To replace the generic organization information, go to /usr/lib/archivematica/MCPClient/clientScripts/createXmlEventsAssist.py. This script includes the following text:
 +
<pre>yourAgentIdentifierType="repository code"
 +
yourAgentIdentifierValue="ORG"
 +
yourAgentName="Your Organization Name Here"
 +
yourAgentType="organization"
 +
</pre>
 +
*Change "ORG" to your repository code (eg, an acronym for you institution's name). Do not delete the quotation marks.
 +
*Change "Your Organization Name Here" to the name of your organization. Do not delete the quotation marks.
 +
*Save the file.

Latest revision as of 19:05, 26 November 2010

Main Page > Documentation > Application settings


Connect to shared directories[edit]


DIP upload destination[edit]

  • By default Archivematica is designed to upload access derivatives and metadata (DIPs) to ICA-AtoM
  • Archivematica can upload to other access systems by switching the upload script
    • create a copy of the upload-qubit.py script (e.g. upload-archon.py, upload-contentdm.py) (where located?)
    • re-write post commands to match the expected import parameters of the target system
    • change the upload script option in Archivematica (where located?)


Quarantine time[edit]

  • change the following values to increase or decrease the amount of time that files spent locked in quarantine:
    • /opt/archivematica/processSIP.sh
    • change 'amin' value on line 24

Selecting Normalization Tools[edit]

  • Normalization tools used by normalize.py are based on file extensions. It scans the NormalizationConf folder for EXTENSION.xml documents and if it doesn't find one then it uses the default normalization command. If it does find one, it reads the data inside.
    • Note: file names are capitalized in the extention and lowercase '.xml'.
    • Recomended naming convention for parents: Type and tool; ie 'IMAGES_CONVERT.xml'
    • The default normalizationConf folder is /opt/archivematica/normalizationConf/
  • If a parent is defined, it looks at the parent xml file and ignores all the other values in the current file.
  • All of the %text% are defined in the replacementDic in normalize.py.


Change agent name in METS.xml file (Archivematica 0.6.x)[edit]

  • The PREMIS metadata in the METS. xml includes two agents: the software (Archivematica) and an organization. To replace the generic organization information, go to /usr/lib/archivematica/MCPClient/clientScripts/createXmlEventsAssist.py. This script includes the following text:
yourAgentIdentifierType="repository code"
yourAgentIdentifierValue="ORG"
yourAgentName="Your Organization Name Here"
yourAgentType="organization"
  • Change "ORG" to your repository code (eg, an acronym for you institution's name). Do not delete the quotation marks.
  • Change "Your Organization Name Here" to the name of your organization. Do not delete the quotation marks.
  • Save the file.