Housekeeping
As an administrator, you are responsible to run some housekeeping tasks regularly to ensure that the Lookup Manager and ITE applications work as expected. Typically, you will archive and/or remove processed input or consumed output files only, so the file system has enough free memory for new input and output files.
Run the following housekeeping tasks regularly:
- Identify processing failures for command and data files
- Archive and/or remove input files.
- Archive and/or remove result files as soon as they are consumed.
- Archive and/or remove statistics files.
- Remove debug outputs if debugging features are used.
Procedure
- Identify processing failures for command and data files by checking the following directories.
- <base>/failed with base being specified in the lm.commandsDirectory parameter
- <base>/failed with base being specified in the ite.ingest.directory.input parameter
- <base>/invalid with base being specified in the ite.ingest.directory.input parameter
- <base>/duplicate with base being specified in the ite.ingest.directory.input parameter
- <base>/rejected with base being specified in the ite.storage.directory.outputs parameter
- Optionally archive the files you want to keep for a longer period of time. Archiving is not part of the Streams product and is also not implemented by the Lookup Manager or ITE applications.
- Remove the unneeded files if not already deleted during the archiving step. You can delete the files using a file explorer or the rm Linux command.
The following directories contain files that shall be archived and/or removed:
- <base>/archive with base being specified in the lm.commandsDirectory parameter
- <base>/failed with base being specified in the lm.commandsDirectory parameter
- <base>/archive with base being specified in the lm.file.directory parameter
- <base>/archive with base being specified in the lm.statisticsDirectory parameter
- <base>/archive with base being specified in the ite.ingest.directory.input parameter
- <base>/failed with base being specified in the ite.ingest.directory.input parameter
- <base>/invalid with base being specified in the ite.ingest.directory.input parameter
- <base>/duplicate with base being specified in the ite.ingest.directory.input parameter
- <base>/load with base being specified in the ite.storage.directory.outputs parameter
CAUTION: delete already consumed load files only
- <base>/rejected with base being specified in the ite.storage.directory.outputs parameter
- <base>/archive with base being specified in the ite.storage.directory.statistics parameter
CAUTION: Do not delete the directories, but the files only.