...
- A deployed CAS-Workflow instance. See Workflow Basic User Guide for instructions on how to set this component up
- A deployed CAS-Filemanager instance. See File Manager Basic User Guide for instructions on how to set this component up. Also see OODT Filemgr User Guide
- A deployed CAS-Crawler. See Crawler User Guide for instructions on how to set this component up. Also see OODT Crawler Help
- Maven 2
- Environment variables
- CRAWLER_HOME
- WORKFLOW_HOME
- WORKFLOW_URL
- FILEMGR_URL
OODT_HOME=/path/to/oodt
PGE_ROOT=/path/to/oodt/pge
FILEMGR_HOME=/path/to/oodt/filemgr
WORKFLOW_HOME=/path/to/oodt/workflow
RESMGR_HOME=/path/to/oodt/resmgr
CRAWLER_HOME=/path/to/oodt/crawler
FILEMGR_URL=http://localhost:9000
WORKFLOW_URL=http://localhost:9001
RESMGR_URL=http://localhost:9002
PGE_ROOT = /usr/local/pge
- The directory in which the PGE scripts and configuration files will reside.
- Ensure $WORKFLOW_HOME/lib contains at least the following:
- cas-crawler-<VERSION>.jar
- cas-filemgr-<VERSION>.jar
- cas-pge-<VERSION>.jar
- Ensure $RESMGR_HOME/lib contains the file "cas-filemgr-<VERSION>.jar"
1. Setting up CAS-PGE relevant directories.
...
Create CAS-PGE configuration directory
No Format cd /usr/local mkdir –p-p $PGE_ROOT/file_concatenator/pge-configs
Create CAS-PGE deployment directory
No Format mkdir –p-p $PGE_ROOT/file_concatenator/output/jobs
Create CAS-PGE input files directory
No Format mkdir –p-p $PGE_ROOT/file_concatenator/files
Create CAS-PGE extractors directory
No Format mkdir –p-p $PGE_ROOT/file_concatenator/extractors/metlistwriter
...
No Format |
---|
cd /usr/local/src/fileconcatenator-pge mvn package mvcp target/fileconcatenator-pge-*.jar $WORKFLOW_HOME/lib cp target/fileconcatenator-pge-*.jar $RESMGR_HOME/lib |
Note: For those who are using OODT 0.7, you need to make some changes in source file before building it. This is because the OODT version in pom.xml is 0.3 -SNAPSHOT and maven cannot find the version. There are two ways fix this:
...