Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /display/PT/Configure Planets Server storage folder taken on 2022-08-14. The original wiki at wiki.opf-labs.org is being decommissioned.

Configure Planets Server storage folder

Added by Maurice de Rooij · last edited by Maurice de Rooij · on Mar 09, 2011 (view change)

After installation of Planets Server and Planets Suite you need to configure the Planets Server storage folder.This is the folder where digital objects are stored, for instance if you upload a file during a Testbed experiment.

Change to the checkout directory of Planets Suite, open the file build.properties with a text-editor and look for the variable if_server.doms.config.dir:

if_server.doms.config.dir=/home/planets/planets-server-compiled/server/default/data/planets/dom-config

Navigate to this folder if it exists. If not, create the folder(s). Next step is to create the file ifdom.properties in the dom-config folder if it does not exist.

Paste the following into ifdom.properties

manager.class.name=eu.planets_project.ifr.core.storage.impl.file.FilesystemDigitalObjectManagerImpl
manager.name=if-default
manager.description=The Planets IF default Digital Object manager
manager.path=/storage/repository

Change manager.path to where you want Planets Server to store digital objects.

You might need to set permissions R+W on this folder so that the user that is running the Planets Server can create and read files. You might also need to set the sticky bit on this folder to the correct user:group.