|
|
This is a page for deploying the replication shell. |
|
|
\ No newline at end of file |
|
|
## Prereqs
|
|
|
|
|
|
* ACE - The replication shell will need to talk to ACE in order to register collections
|
|
|
* Preservation Area - The replication shell pulls from the ingest server directly to your preservation area on a posix file system. In the future we may expand this, for now it's local disk.
|
|
|
|
|
|
## Install
|
|
|
|
|
|
The replication shell is packaged in an rpm for ease of install.
|
|
|
|
|
|
1. Download the rpm from [link-that-does-not-exist-yet](link).
|
|
|
2. Use yum to install the rpm: `yum install replication-shell-$version.rpm`. Installed files are as follows:
|
|
|
* /usr/lib/chronopolis/replication-shell.jar
|
|
|
* /etc/chronopolis/application.properties
|
|
|
* /etc/init.d/replication
|
|
|
|
|
|
## Configuration and Running
|
|
|
|
|
|
The replication shell reads the configuration file in /etc/chronopolis/application.properties.
|
|
|
```
|
|
|
## The rate at which to poll the ingest api, in cron formatting
|
|
|
replication.cron=0 0 * * * *
|
|
|
|
|
|
## The active profile. Should probably just remain as production
|
|
|
## Other profiles: development, amqp
|
|
|
spring.profiles.active=production
|
|
|
|
|
|
# The path on disk to replicate content to
|
|
|
chron.storage.preservation=/tmp/chronopolis-preservation
|
|
|
|
|
|
# ACE AM configuration
|
|
|
## TODO: create ace.am.endpoints
|
|
|
ace.am.host=localhost
|
|
|
ace.am.port=8080
|
|
|
ace.am.path=ace-am
|
|
|
ace.am.user=admin
|
|
|
ace.am.password=secret-password
|
|
|
ace.am.validate=false
|
|
|
|
|
|
# Ingest API to poll from
|
|
|
## The endpoints can be a comma separated list:
|
|
|
## https://ingest.chronopolis.org/ingest,https://dev.chronopolis.org/ingest-dev
|
|
|
ingest.api.endpoints=http://localhost:8080
|
|
|
ingest.api.user=umiacs
|
|
|
ingest.api.password=secret-password
|
|
|
|
|
|
# Logging
|
|
|
logging.path=/var/log/chronopolis/
|
|
|
logging.file=/var/log/chronopolis/replication.log
|
|
|
logging.level.org.springframework=ERROR
|
|
|
logging.level.org.hibernate=ERROR
|
|
|
logging.level.org.chronopolis=DEBUG
|
|
|
|
|
|
# SMTP Configuration
|
|
|
|
|
|
# smtp.host=localhost.localdomain
|
|
|
# smtp.to=chron-support@sdsc.edu
|
|
|
# smtp.from=localhost
|
|
|
# smtp.send=false
|
|
|
```
|
|
|
|
|
|
To run the shell, use the init script:
|
|
|
`service replication start`
|
|
|
|
|
|
## Errors
|
|
|
|
|
|
This will be filled out as we experience problems. Check /var/log/chronopolis/replication.log to see if there are any stack traces. |