BHL
Archive
This is a read-only archive of the BHL Staff Wiki as it appeared on Sept 21, 2018. This archive is searchable using the search box on the left, but the search may be limited in the results it can provide.

Fedora_Low_Level_Storage

common tasks

location

dependencies

modifying config files

  1. In akubra-llstore.xml, modify the paths for objectStore, shortTermDataStreamStore and longTermDataStreamStore
  2. Purge all objects in Fedora Repository, and restart Fedora

how to test if it's working

login information if necessary

proxy information




installation

  1. Purge all objects in Fedora Repository, then shut down the server;
  2. Place akubra-mux-0.3.jar and bhle-llstore-0.0.1.jar in ${FEDORA_HOME}/tomcat/webapps/fedora/WEB-INF/lib;
  3. Replace akubra-llstore.xml with the one in the install package, and modify the store paths and DataStream IDs according to your needs;
  4. Restart the server.

how it works

A subclass of org.akubraproject.mux.AbstractMuxConnection overrides the getStore method to provide BlobStore according to the keywords of DataStream IDs in akubra-llstore.xml. And the filesystem storage is reused from akubra-fs (simple filesystem implementatio) and akubra-map (wraps an existing BlobStore to provide a blob id mapping layer) without any modification. Therefore, all the path mappings for objects and datastreams are still based on MD5 mapping.