Archivematica Storage Service 0.14.1 is a legacy release, and these documents are no longer being maintained.

Administering the Storage Service

The Archivematica Storage Service allows the configuration of storage spaces associated with multiple Archivematica pipelines. It allows a storage administrator to configure what storage is available to each Archivematica installation, both locally and remote.

On this page

Storage Service glossary and organization

Pipelines

A pipeline refers to a single installation of an Archivematica dashboard. One Storage Service can be used to configure multiple Archivematica pipelines.

Spaces

A space models a specific storage device. That device might be a locally- accessible disk, a network share, or a remote system accessible via a protocol like FEDORA, SWIFT, DuraCloud, or LOCKSS. The space provides the Storage Service with configuration to read and/or write data stored within itself.

Packages are not stored directly inside a space; instead, packages are stored within locations, which are organized subdivisions of a space.

Locations

A location is a subdivision of a space. Each location is assigned a specific purpose, such as AIP storage, DIP storage, transfer source or transfer backlog, in order to provide an organized way to structure content within a space.

Packages

The Storage Service is oriented to storing packages. A “package” is a bundle of one or more files transferred from an external service; for example, a package may be an AIP, a backlogged transfer, or a DIP. Each package is stored in a location.

Archivematica configuration

When installing Archivematica, options to configure it with the Storage Service will be presented.

Configuring the Storage Service during Archivematica installation.

If you have installed the Storage Service at a different URL, you should change that here.

The Use default transfer source & AIP storage locations option will attempt to automatically configure default Locations for Archivematica, register a new Pipeline, and generate an error if the Storage Service is not available. Use this option if you want the Storage Service to automatically set up the configured default values.

The Register this pipeline & set up transfer source and AIP storage locations option will only attempt to register a new Pipeline with the Storage Service, and will not error if not Storage Service can be found. It will also open a link to the provided Storage Service URL, so that Locations can be configured manually. Use this option if the default values not desired, or the Storage Service is not running yet. Locations will have to be configured manually before any Transfers can be processed, or AIPs stored.

If the Storage Service is running, the URL to it should be provided and Archivematica will attempt to register the dashboard UUID as a new Pipeline. Otherwise, the dashboard UUID is displayed and a Pipeline for the Archivematica instance can be manually created and configured. The dashboard UUID is also available in Archivematica under Administration -> General.

Change the port in the web server configuration

The Storage Services uses nginx by default. To change the port, edit the file /etc/nginx/sites-enabled/storage and change the line that says listen 8000;, replacing 8000 with whatever port you use.

Keep in mind that in a default installation of Archivematica, the dashboard is running in Apache on port 80. It is not possible to make nginx run on port 80 on the same machine. If you install the Storage Service on its own server, you can set it to use port 80.

Make sure to adjust the dashboard UUID in the Archivematica dashboard under Administration -> General.

Pipelines

All pipelines need to be registered with the Storage Service using the pipeline’s unique universal identifier (UUID). The UUID can be found in the Archivematica dashboard under Administration -> General Configuration. When you first install Archivematica, it will attempt to register the pipeline’s UUID automatically with the Storage Service with the description Archivematica on <hostname>. You can also add new pipelines by navigating to the Pipelines tab in the Storage Service and clicking on Create new pipeline.

Storage Service pipelines screen.

Fields:

  • UUID: The unique identifier of the Archivematica pipeline.
  • Description: A description of the pipeline displayed to the user. e.g. Development site.
  • Enabled: If checked, this pipeline can access locations associate with it. If unchecked, all locations will be disabled, even if associated directly with this pipeline.
  • Default Location: If checked, the default locations that have been selected in Administration -> Configuration will be created for or associated with the new pipeline.

Spaces

Spaces contain all of the information needed to connect Archivematica to a storage location. The space is where protocol-specific information, like an NFS export path and hostname, or the username of a system accessible only via SSH, is stored.

Storage Service spaces screen.

Each space has specific configuration fields depending on the access protocol that is selected. See Access protocols below for more information.

Note

A space is usually the immediate parent of the Location folders. For example, if you want to define two transfer source locations located at /home/artefactual/archivematica-sampledata and /home/artefactual/maildir_transfers, the space’s path would be /home/artefactual/.

Access protocols

Arkivum

Archivematica can use Arkivum’s A-Stor as an access protocol in version 0.7 and higher. A-Stor can expose a CIFS share to the Storage Service so that the Storage Service can copy files to an A-Stor datapool for AIP storage, for example.

Add an entry to /etc/fstab on the Storage Service, then mount the A-Stor CIFS share.

Example:

//ARK00092/astor /mnt/astor cifs
defaults,guest,file_mode=0666,dir_mode=0777,uid=archivematica,gid
=archivematica,forcegid,forceuid,rw 0 1

In this example, ARK00092 is the name of the appliance and should be resolvable through DNS or be set as an entry in /etc/hosts.

Then, choosing Arkivum as the access protocol, create a new space in the Storage Service.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the local path on the Storage Service machine to the CIFS share, e.g. /mnt/astor
  • Staging Path: the absolute path to a staging area. Must be UNIX filesystem compatible, preferably on the same filesystem as the path, e.g. /mnt/astor/archivematica1/tmp
  • Host: the hostname of the Arkivum web instance or IP address with port, e.g. arkivum.example.com:8443
  • Remote user: the username on the remote machine accessible via passwordless ssh. This field is optional.
  • Remote name: the name or IP of the remote machine. This field is optional.

Dataverse

Dataverse Integration is supported with Archivematica v1.8 (and higher) and Storage Service v0.13 (and higher).

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Host: Hostname or IP address of the Dataverse instance, e.g. test.dataverse.org
  • API key: the key generated by Dataverse for a specific user account
  • Agent name: a string that will be used in Archivematica METS file to identify this Dataverse instance as a PREMIS agent, e.g. My Institution's Dataverse Instance. This field is optional.
  • Agent type: a string that will be used in Archivematica METS file to identify the type of PREMIS agent named above, e.g. organization. This field is optional.
  • Agent identifier: a string that will be used as an identifier in the Archivematica METS file to uniquely identify the PREMIS agent named above. This field is optional.

Dataverse spaces support Transfer Source Locations (Locations for other purposes are not currently supported). At least one location should be created as a Transfer Source.

Within this location, the relative path can be used to set two of the parameters available in the Dataverse Search API. The q (or “Query”) parameter is a general search parameter. The ’subtree’ parameter can be used to indicate a sub-dataverse. For example, the following entry in ‘Relative Path’:

Query:*
Subtree:Archivematica

will return all datasets within the Archivematica dataverse. The other API parameters are set using the fields described above for the space, or are set with fixed values. The parameters used are:

URL: https://<Host field set in Space configuration>/api/search/

{
  'q': '<Relative Path field set in Location configuration>',
  'sort': 'name',
  'key': u '<API Key field set in Space configuration>',
  'start': 50,
  'per_page': 50,
  'show_entity_ids': True,
  'type': 'dataset',
  'subtree': '<Relative Path field set in Location configuration>',
  'order': 'asc'
}

Search results are currently limited to 50 datasets. For repositories with more than 50 datasets we recommend creating multiple Locations with more specific search criteria. For further details of the API parameters, see the Dataverse api guide.

DuraCloud

Archivematica can use DuraCloud as an access protocol for the Storage Service in version 0.5 and higher. Typically, a Storage Service space has a one-to-one relationship with a space within DuraCloud.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Host: the hostname of the DuraCloud instance, e.g. example.duracloud.org.
  • User: a username with sufficient permissions to permit authentication.
  • Password: the password of the above user.
  • Duraspace: the name of the Space within DuraCloud

DSpace via REST API

DSpace via REST API locations are supported for both AIP and DIP Storage locations. Because DSpace is typically used as a public-facing system, the behaviour is different than when using other access protocols for AIP Storage. Upon deposit in DSpace, the AIP will be deposited as a single compressed objects file (bitstream), which contains all original and normalized objects as well as the metadata pertaining to them. The DIP will be deposited as uncompressed files with the folder structure flattened.

Presently, the Storage Service and Dashboard are not capable of downloading/reconstituting the AIP - this must be done manually from the DSpace interface.

The DSpace via REST API space offers a novel way to facilitate increased automation. It is possible to supply metadata with the transfer as either a CSV or a JSON file. In the entry for the root folder objects it is possible to define any number of Dublin Core Metadata Elements Set properties which will map on to the corresponding DSpace record created for the AIP/DIP. In addition there are three optional custom properties which can be defined:

  • dspace_dip_collection: the UUID of the DSpace collection into which the DIP will be deposited. E.g. a12d749c-7727-4121-b6be-478cacde658f
  • dspace_aip_collection: the UUID of the DSpace collection into which the AIP will be deposited. E.g. 80c3519d-7a07-4830-beae-a868c149ecbe
  • archivesspace_dip_collection: the identifier of the archival object for which a child digital object will be created which will link to the DSpace DIP record. E.g. 135569

Note

Note that the DSpace via REST API space only supports DSpace 6.x and not other versions of DSpace.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • REST URL: URL to the “REST” webapp. E.g. http://localhost:8080/rest/; for production systems, this address will be slightly different, such as: https://demo.dspace.org/rest/.
  • User: a username for the DSpace instance with sufficient permissions to permit authentication.
  • Password: the password for the username above.
  • Default DSpace DIP collection id: the UUID of the collection into which the DIP will be deposited barring it being designated in a transfer metadata file.
  • Default DSpace AIP collection id: the UUID of the collection into which the AIP will be deposited barring it being designated in a transfer metadata file.

Note

The following seven fields are optional and can safely be ignored should you only require a connection to DSpace.

Unlike the DSpace via SWORD2 space, which uses the Dashboard administration tab to configure a single ArchivesSpace, the DSpace via REST space gives you the option to configure different ArchiveSpaces instances per space.

  • ArchivesSpace URL: URL to the ArchiveSpace server. E.g.: http://sandbox.archivesspace.org/.
  • ArchivesSpace user: ArchivesSpace username to authenticate as
  • ArchivesSpace password: ArchivesSpace password to authenticate with
  • Default ArchivesSpace repository: Identifier of the default ArchivesSpace repository
  • Default ArchivesSpace archival object: Identifier of the default ArchivesSpace archival object barring it being designated in a transfer metadata file
  • Send AIP to Tivoli Storage Manager: this is a feature specific to the requirements of Edinburgh University which sponsored the development of this space. Essentially it executes a bash command using a binary called dsmc.
  • Verify SSL certificates: Requests verifies SSL certificates for HTTPS requests, just like a web browser. By default, SSL verification is enabled, and Requests will throw a SSLError if it’s unable to verify the certificate:

DSpace via SWORD2 API

DSpace via SWORD2 locations are currently supported only for AIP Storage locations. Because DSpace is typically used as a public-facing system, the behaviour is different than when using other access protocols for AIP Storage: upon deposit in DSpace, the AIP will be split into two parts:

  • a compressed objects file (bitstream), which contains all original and normalized objects
  • as well as a metadata file (bitstream), which contains all of the bag artifacts, metadata and logs

The metadata bitstream can optionally be restricted; see below. Presently, the Storage Service and Dashboard are not capable of downloading/reconstituting the AIP - this must be done manually from the DSpace interface.

If using DSpace as the AIP location in conjunction with the ArchivesSpace workflow in the Appraisal tab, a post Store AIP hook will send the DSpace handle to the ArchivesSpace digital object record upon AIP storage. The ArchivesSpace configuration is set up in the Dashboard administration tab.

Note

Note that the DSpace via SWORD2 API space makes use of the DSpace REST API to change the permissions of the metadata file. This means that you need to make sure that the REST API is configured, see the DSpace 5 REST API documentation.

The DSpace via SWORD2 API space functionality only supports DSpace 5 and not other versions. See changes in authentication in the DSpace REST API between versions 5 and 6 in the DSpace 6 REST API documentation.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Service Document IRI: URL of the service document. E.g. http://demo.dspace.org/swordv2/servicedocument, where servicedocument is the handle to the community or collection being used for deposit.
  • User: a username for the DSpace instance with sufficient permissions to permit authentication.
  • REST URL: URL to the “REST” webapp. E.g. http://localhost:8080/rest/; for production systems, this address will be slightly different, such as: https://demo.dspace.org/rest/.
  • Password: the password for the username above.
  • Restricted metadata policy: Use to restrict access to the metadata bitstream. Must be specified as a list of objects in JSON, e.g. [{"action":"READ","groupId":"5","rpType":"TYPE_CUSTOM"}]. This will override existing policies.

Fedora via SWORD2

Fedora via SWORD2 is currently supported in the Storage Service as an Access Protocol to facilitate use of the Archidora plugin, which allows ingest of material from Islandora to Archivematica. This workflow is in beta testing as of Storage Service 0.9/Archivematica 1.5/Islandora 7.x-1.6.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Fedora user: Fedora user name (for SWORD functionality).
  • Fedora password: Fedora password (for SWORD functionality).
  • Fedora name: Name or IP of the remote Fedora machine.

Note

  • A Location (see below) must also be created, with the purpose of FEDORA Deposits.
  • On the Archivematica dashboard, the IP of the Storage Service needs to be added to the IP whitelist for the REST API, so that transfers will be approved automatically.
  • A post-store callback can be configured, to enable Islandora to list objects that can be deleted once they have been stored by Archivematica. See the Administration section.

GPG encryption on local file system

Creating a GPG encryption space will allow users to create encrypted AIPs and transfers. Only AIP storage, Transfer backlog and Replicator locations can be created in a GPG encryption space.

Encrypted AIPs and transfers can be downloaded unencrypted via the Storage Service and Archivematica dashboard.

Before creating a GPG encryption space ensure that you have created or imported a GPG key on the Administration page.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Key: the encryption key to be used for the space.

Important

It is possible to encrypt uncompressed AIPs, which will be stored as tar files.

Uncompressed AIPs do not have pointer files, so if the key for the space is changed and the original key is deleted/unknown, Archivematica will have no record of the key for decryption.

Local Filesystem

Local Filesystem spaces handle storage that is available locally on the machine running the Storage Service. Typically this is the hard drive, SSD or raid array attached to the machine, but it could also encompass remote storage that has already been mounted. For remote storage that has been locally mounted, we recommend using a more specific Space if one is available.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.

LOCKSS

Archivematica can store AIPs in a LOCKSS network via LOCKSS-O-Matic, which uses SWORD to communicate between the Storage Service and a Private LOCKSS Network (PLN).

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Service document IRI: the URL of the LOCKSS-o-matic service document IRI, e.g. http://lockssomatic.example.org/api/sword/2.0/sd-iri.
  • Content Provider ID: the On-Behalf-Of value when communicating with LOCKSS-o-matic.
  • Externally available domain: the base URL for this server that LOCKSS will be able to access. Generally this is the URL for the home page of the Storage Service.
  • Keep local copy?: check this box if you wish to store a local copy of the AIPs even after they are stored in LOCKSS.

Note

When creating a Location for a LOCKSS space (see below), the Purpose of the Location must be AIP Storage.

NFS

NFS spaces are for NFS exports mounted on the Storage Service server and the Archivematica pipeline.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to where the space is mounted on the filesystem local to the Storage Service.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Remote name: the hostname or IP address of the remote computer exporting the NFS mount.
  • Remote path: the export path on the NFS server
  • Version: the version of the filesystem, e.g. nfs or nfs4,as would be passed to the mount command.
  • Manually mounted: This is a placeholder for a feature that is not yet available.

Pipeline Local Filesystem

Pipeline Local Filesystems refer to the storage that is local to the Archivematica pipeline, but remote to the Storage Service. For this Space to work properly, passwordless SSH must be set up between the Storage Service host and the Archivematica host.

For example, the Storage Service is hosted on storage_service_host and Archivematica is running on archivematica1. The transfer sources for Archivematica are stored locally on archivematica1, but the Storage Service needs access to them. The Space for that transfer source would be a Pipeline Local Filesystem.

Note

Passwordless SSH must be set up between the Storage Service host and the computer Archivematica is running on.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to where the space is mounted on the filesystem local to the Storage Service.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Remote user: the username on the remote host.
  • Remote name: the hostname or IP address of the computer running Archivematica. This should be SSH accessible from the Storage Service computer.
  • Assume remote host serving files with rsync daemon: if checked, the Storage Service will use rsync daemon-style commands instead of the default rsync with remote shell.
  • Rsync password: the password for the rsync daemon

Swift

OpenStack’s Swift is available as an access protocol in Storage Service 0.7 and higher. At this time, locations within Swift have been tested as AIP Storage, DIP Storage and Transfer Backlog. Using Swift as Transfer Source is possible, but under-tested at this time.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: the absolute path to the Space on the local filesystem.
  • Staging path: the absolute path to a staging area. Must be UNIX filesystem compatible and preferably will be located on the same filesystem as the path.
  • Auth URL: the URL to authenticate against.
  • Auth version: the OpenStack authentication version.
  • Username: the Swift username that will be used for authentication.
  • Password: the password for the above username.
  • Container: the name of the Swift container. To list available containers in your Swift installation, run swift list from the command line.
  • Tenant: the tenant/account name, required when connecting to an auth 2.0 system.
  • Region: the region in Swift. This field is optional.

S3 (Amazon)

Amazon S3 is available as an access protocol as of Storage Service 0.12. At this time, locations within S3 have only been tested for AIP Storage.

Fields:

  • Size: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Path: Not required: see below.
  • Staging path: the absolute path to a staging area on the same server as the storage service.
  • S3 Endpoint URL: the URL of the S3 endpoint, e.g. https://s3.amazonaws.com.
  • Access Key ID to authenticate: the public key generated by S3.
  • Secret Access Key to authenticate with: the secret key generated by S3.
  • Region: the region that the S3 instance uses, e.g. us-east-2.

Note

Not all fields are required when configuring S3 storage. They can however still be used. When a Path is configured for S3 as well as a Relative Path for the Location (see locations) the Storage Service will attempt to create an S3 bucket to appear as follows to the user (each newline indicates a nested directory):

In this example:

  • d6d618dd-2b7f-4177-8b59-10e242066cb7 is the UUID of the S3 storage space that has been configured.
  • cd20f886-0c40-4202-af80-399b6ca9f1f1 is the UUID of the AIP that we want to store.
  • storage-space-path is configured for the Storage Space Path (no leading slash).
  • storage-location-relative-path is configured as Location (Relative-path) (no leading-slash).

The values for the storage space Path. And Location Relative Path will appear as configured:

s3
└── d6d618dd-2b7f-4177-8b59-10e242066cb7
    └── storage-space-path
        └── storage-location-relative-path
            └── cd20
                └── f886
                    │
                    └── ...additional pair-tree folders...
                        │
                        └── f1f1
                            └── cd20f886-0c40-4202-af80-399b6ca9f1f1.7z

Warning

For the Path configured in the Storage Space and Relative Path configured in the Location, they are best configured without a leading-slash (/) as this will impact the ability to delete stored packages on the S3 service. This is an impact of the third-party library used to make S3 API calls.

If users have stored packages on paths with leading slashes and packages are not being removed from S3, consider modifying the configuration to remove the slash. Do so with caution and be prepared to put the leading-slash back if there is any impact on storing AIPs as a result.

Locations

Locations are contained within spaces and have a defined purpose in the Archivematica system. Each location is associated with at least one pipeline. A pipeline can have multiple instances of any location, and a location can be associated with any number of pipelines, with the exception of Backlog and Currently Processing locations, for which there must be exactly one per pipeline.

Storage Service locations screen.

A location can have one of nine purposes: AIP Recovery, AIP Storage, Currently Processing, DIP Storage, FEDORA Deposit, Storage Service Internal Processing, Transfer Backlog, Transfer Source, or Replicator.

Fields:

  • Purpose: the function that this location will fulfill, e.g. AIP storage. See location purposes for more information.
  • Pipelines: the Archivematica instance(s) that will be able to use this location.
  • Relative Path: the path to this location, relative to the space that contains it.
  • Description: a description of the location to be displayed to the user.
  • Quota: the maximum size allowed for this space. Set to 0 or leave blank for unlimited. This field is optional.
  • Enabled: if checked, this location will be accessible to pipelines associated with it. If unchecked, it will not be available to any pipeline.
  • Set as global default location for its purpose: if checked, this location will be the default location for its purpose unless the user specifically tells Archivematica otherwise during processing.

Note

When setting up a DSpace via SWORD2 location the relative path needs to be the URL of the destination collection for the transfers. E.g.: https://demo.dspace.org/10673/60/.

Location purposes

AIP Recovery

AIP Recovery locations are where the AIP recovery feature looks for an AIP to recover. No more than one AIP recovery location should be associated with a given pipeline. The default value is /var/archivematica/storage_service/recover in a Local Filesystem. This is only required if AIP recovery is used.

AIP Storage

AIP Storage locations are where the completed AIPs are placed for long-term storage. For pipelines using the default locations, the default path is `/var/archivematica/sharedDirectory/www/AIPsStore in a Local Filesystem. An AIP storage location is required to store and retrieve AIPs.

Currently Processing

Archivematica uses the Currently Processing location associated with that pipeline to store materials during active processing. Exactly one currently processing location should be associated with a given pipeline. For pipelines using the default locations, the default path is /var/archivematica/sharedDirectory in a Local Filesystem. A currently processing location is required for Archivematica to run.

DIP Storage

The DIP Storage location is used for storing DIPs until such a time that they can be uploaded to an access system. For pipelines using the default locations, the default path is /var/archivematica/sharedDirectory/www/DIPsStore in a Local Filesystem. A DIP storage location is required to store and retrieve DIPs, but it is not required to upload DIPs to access systems.

FEDORA Deposit

A FEDORA Deposit location is used with the Archidora plugin to ingest material from Islandora. This is only available to the FEDORA Space, and is only required for that space.

Storage Service Internal Processing

There should only be one Storage Service Internal Processing location for a Storage Service installation. For pipelines using the default locations, the default path is /var/archivematica/storage_service in a Local Filesystem. This is required for the Storage Service to run, and must be locally available to the Storage Service. It should not be associated with any pipelines.

Transfer Backlog

Transfer Backlog locations store transfers until the user continues processing them. For pipelines using the default locations, the default path is /var/archivematica/sharedDirectory/www/AIPsStore/transferBacklog in a Local Filesystem. This is required to store and retrieve transfers in backlog.

Transfer Source

A list of Transfer source locations are displayed in the transfer source dropdown on the Archivematica pipeline’s Transfer tab. Any folder in a transfer source can be selected to become a transfer. The default value is /home in a local filesystem.

Replicator

Replicator locations can be configured to replicate the AIPs in one or more AIP storage locations. If you wish for the replicated AIPs to be encrypted, create the location in an encrypted space.

Note

If you want the same space to have multiple purposes, multiple locations with different purposes can be created.

How to configure a location

To create and configure a new Location:

  1. In the Storage Service, navigate to the Spaces tab.

  2. Under the space that you want to add the location to, click on Create Location here.

  3. Choose a purpose (e.g. AIP Storage) and pipeline, and enter a “Relative Path” (e.g. var/mylocation) and human-readable description. The Relative Path is relative to the Path defined in the Space you are adding the Location to. For example, for the default Space, the Path is / so your Location path would be relative to that (in the example here, the complete path would end up being /var/mylocation).

    Note

    If the path you are defining in your Location doesn’t exist, you must create it manually and make sure it is writable by the Archivematica user.

  4. For an AIP storage location, choose the replicator location(s) if desired.

  5. Save the Location settings.

  6. The new Location will now be available as an option under the appropriate options in the Dashboard, for example as a Transfer location (which must be enabled under the Dashboard “Administration” tab) or as a destination for AIP storage.

Packages

Storage Service packages screen.

A package is a file that Archivematica has stored in the Storage Service, commonly an Archival Information Package (AIP). Dissemination Information Packages (DIPs) which have been stored and transfers which have been sent to backlog will also be listed in the Packages tab.

AIPs cannot be created or deleted through the Storage Service interface, though a deletion request can be submitted through Archivematica that must be approved or rejected by the Storage Service administrator. To learn more about deleting an AIP, see Deleting an AIP.

Stored DIPs can be deleted through the Storage Service interface by choosing the “Delete” option in the “Actions” column.

Deletion requests for transfers are automatically generated when all of the objects from the transfer have successfully been stored in AIPs.

For more information about Fixity Status, see Fixity.

Administration

The Administration section manages the users and settings for the Storage Service.

Storage Service Administration screen.

Users

Only registered users can long into the Storage Service, and the Users page is where users can be created or modified.

The Storage Service has two types of users: administrative users, and regular users. The only distinction between the two types is for email notifications; administrators will be notified by email when special events occur, while regular users will not.

Settings

Settings control the behavior of the Storage Service. Default Locations are the created or associated with pipelines when they are created.

Pipelines are disabled upon creation? sets whether a newly created Pipeline can access its Locations. If a Pipeline is disabled, it cannot access any of its locations. By disabling newly created Pipelines, it provides some security against unwanted perusal of the files in Locations, or use by unauthorized Archivematica instances. This can be configured individually when creating a Pipeline manually through the Storage Service website.

Default Locations sets which existing locations should be associated with a newly created Pipeline, or which new Locations should be created for each new Pipeline. No matter what is configured here, a Currently Processing location is created for all Pipelines, since one is required. Multiple Transfer Source or AIP Storage Locations can be configured by holding down Ctrl when selecting them. New Locations in an existing Space can be created for Pipelines that use default locations by entering the relevant information.

Version

The version page will display the current version and specific git commit of your installation of the Storage Service.

Service Callbacks

Callbacks allow REST calls to be made by the Archivematica Storage Service after performing certain types of actions. This allows external services to be notified when internal actions have taken place.

A callback can be configured for the Islandora (Fedora) integration, as follows:

  • URI:

    http://{islandora-base-url}/islandora/object/<source_id>/archidora/{Islandora API key}/delete
    

    The Islandora API key is generated on the Archidora admin screen in Islandora.

  • Event: post-store

  • Method: post

  • Expected status: 200

Encryption Keys

GPG encryption keys can be created or imported to be used in spaces to store encrypted AIPs, transfers or replicated AIPs/transfers. Keys can either be created by the Storage Service or imported.

To create a new key:

  1. Click on Create New Key
  2. Enter the name and email address you want associated with the key.

To import a key:

  1. Click on Import Existing Key
  2. Paste in your key in ASCII-armored format.

Set language

Configure language settings for the Storage Service in this area of the Administration tab. Strings are available for translation on the localization platform (Transifex).

Back to the top

Archivematica Storage Service 0.14.1

License

Archivematica documentation by Artefactual Systems Inc. is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License