Starting and Stopping BPC
For BPC to work, the two system components OpenSearch and Karaf must be started. These can be started and stopped together using a script or individually.
Start and Stop Scripts
The provided scripts start both OpenSearch and Karaf.
Information on installing the scripts can be found in the installation guide.
Prerequisites
To use the scripts, the BPC directory structure must comply with the specifications in the installation guide.
Directory Structure According to the Installation Guide
Usage
The following examples demonstrate how to use the scripts on Linux.
Using the scripts on Windows works the same way.
You simply need to use the scripts with the extension .bat.
start_bpc.sh
start_bpc.sh -h
start_bpc.sh --help
start_bpc.sh --console
|
If the Karaf console is active, Karaf will be terminated as soon as the console is closed. |
stop_bpc.sh
OpenSearch
You can start OpenSearch directly from your terminal.
INSTALLATIONSVERZEICHNIS/opensearch/bin/opensearch -d
INSTALLATIONSVERZEICHNIS\opensearch\bin\opensearch -d
To stop the component, you can terminate the corresponding process:
kill PROZESS_ID
taskkill /pid PROZESS_ID
|
The process should not be forcefully terminated. A "hard" termination of the process can lead to data loss. |
For more information, visit OpenSearch.
Karaf
You can start Karaf directly from your terminal.
INSTALLATIONSVERZEICHNIS/karaf/bin/start
INSTALLATIONSVERZEICHNIS\karaf\bin\start
To stop the component, you can run the following:
INSTALLATIONSVERZEICHNIS/karaf/bin/stop
INSTALLATIONSVERZEICHNIS\karaf\bin\stop
See also the official Karaf documentation
For more information, visit Karaf.