THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Configure the File Manager for ingesting products of type 'GenericFile'. Still inside the file filemgr.properties, define the following properties:
Code Block |
---|
org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:///usr/local/oodt/cas-filemgr/policy/core
org.apache.oodt.cas.filemgr.validation.dirs=file:///usr/local/oodt/cas-filemgr/policy/core
org.apache.oodt.cas.filemgr.mime.type.repository=file:///usr/local/oodt/cas-filemgr/etc/mime-types.xml
|
...
- Additionally, edit the file /usr/local/oodt/cas-filemgr/policy/core/product-types.xml and set the
...
- repository path for 'GenericFile' products to an existing location on your system, for example:
Code Block <type id="urn:oodt:GenericFile" name="GenericFile"> <repository path="file:///usr/local/oodt/archive"/>
- Create the repository directory if not existing:
Code Block |
---|
mkdir -p /usr/local/oodt/archive |
...
- Start the File manager
Code Block |
---|
cd /usr/local/oodt/cas-filemgr/bin |
...
./filemgr start |
Step 3: Configure Solr to use the default File Manager metadata schema
...
- Stop Tomcat if not done already:
Code Block |
---|
cd /usr/local/apache-tomcat/bin |
...
./catalina.sh stop |
...
- Copy the OODT default schema.xml to the Solr configuration directory:
cp /usr/local/oodt/cas-filemgr/etc/schema.xml /usr/local/oodt/solr-home/collection1/conf/schema.xml
...