1.1.H Manually ingest inputs in BOA through command line - Daniel-Brosnan-Blazquez/vboa GitHub Wiki
This procedure covers the action to ingest inputs in BOA through command line.
- An available BOA environment is ready to use.
- Access to the BOA environment.
- If containers are not running, start containers (as root):
Note: the names of the containers may differ between environments (check with docker container list).
docker start boa_app_dev boa_database_dev
-
If a clean environment is needed, i.e. no unexpected conflicts with data already available in the BOA environment, reset BOA DDBB by following the next procedure:
-
Search for the shared mount point between host and BOA environment:
docker inspect boa_app_naosboa|grep ':/inputs"'
For example, with the following output:
"/data/s2boa/temporal_intray_s2boa/:/inputs",
The shared mount point is: /data/s2boa/temporal_intray_s2boa/
-
Copy the needed inputs in the previously obtained host mount point.
-
Enter into the BOA environment:
Note: the names of the container and user may differ between environments (check with docker container list).
docker container exec -it -u boa boa_app_s2boa /bin/bash
- Go to inputs folder:
cd /inputs
- Ingest every input with the following command:
EBOA_STREAM_LOG=YES eboa_triggering.py -f <FILENAME>
-
Verify the status of the ingestion going to the "Ingestion control monitoring" view:
For a deployment in localhost, this would be: https://localhost:80/ingestion_control/ingestion_control