Ingest Standalone
Java (maven) program for queuing SIPs from Pre-Ingest to Fedora Commons.
Compiling
All settings are defined during compile time, using maven properties.
bhladmin@bhl-int1:/mnt/nfs/dev/opt/ingest_standalone$ mvn assembly:assembly
Deployment (productive)
For productive, use the "prod" profile (properties can be found at /mnt/nfs/dev/opt/ingest_standalone, not on github for security reasons)
bhladmin@bhl-prod4:/mnt/nfs/dev/opt/ingest_standalone$ mvn -P prod assembly:assembly
bhladmin@bhl-prod4:/mnt/nfs/dev/opt/ingest_standalone$ cp target/ingest_standalone-
<X.X>-jar-with-dependencies.jar /mnt/nfs/prod/opt/ingest_standalone/
bhladmin@bhl-prod4:/mnt/nfs/prod/opt/ingest_standalone$ java -jar ingest_standalone-
<X.X>-jar-with-dependencies.jar
Recovery after crash
mysql: update ingest_queue table (NOTE: make sure no ingest is running):
[mysql> use prod_preingest]
mysql> UPDATE `ingest_queue` SET `ingest_status` = 'queued' WHERE `ingest_status` = 'running' OR `ingest_status` = 'waiting';
If you want to re-qeue failed items you can do so:
mysql> UPDATE `ingest_queue` SET `ingest_status` = 'queued' WHERE `ingest_status` = 'error';
Logfiles
- <env>/logs/ingest/ingest_standalone.log
- <env>/logs/ingest/ingest_standalone.output.log