BPC start and stop
For the BPC to work, the two system components OpenSearch and Karaf must be started. These can be started together using a Script or started and stopped individually.
Start and stop scripts
The scripts provided start both OpenSearch and Karaf.
Information on installing the scripts can be found in the Installation guide.
Requirements
To use the scripts, it is necessary that the directory structure of the BPC corresponds to the specifications in the Installation instructions .
Directory structure according to Installation instructions
Use
The following examples show the use of the scripts.
-
Unix systems
-
Windows systems
start_bpc.sh
start_bpc.sh -h
start_bpc.sh --help
start_bpc.sh --console
|
Bei aktiver Karaf Konsole wird der Karaf beendet, sobald die Konsole geschlossen wird. |
stop_bpc.sh
start_bpc.bat
start_bpc.bat -h
start_bpc.bat --help
start_bpc.bat --console
|
Bei aktiver Karaf Konsole wird der Karaf beendet, sobald die Konsole geschlossen wird. |
stop_bpc.bat
OpenSearch
You can start OpenSearch directly from your terminal:
-
Unix systems
-
Windows systems
INSTALLATIONSVERZEICHNIS/opensearch/bin/opensearch -d
INSTALLATIONSVERZEICHNIS\opensearch\bin\opensearch -d
To stop the component, you can terminate the corresponding process:
-
Unix systems
-
Windows systems
kill PROZESS_ID
taskkill /pid PROZESS_ID
|
The process should not be forced/hard terminated. A "hard" termination of the process can lead to data loss. |
Further information can be found on the page OpenSearch.
Karaf
You can start Karaf directly from your terminal:
-
Unix systems
-
Windows systems
INSTALLATIONSVERZEICHNIS/karaf/bin/start
INSTALLATIONSVERZEICHNIS\karaf\bin\start
To stop the component, you can call:
-
Unix systems
-
Windows systems
INSTALLATIONSVERZEICHNIS/karaf/bin/stop
INSTALLATIONSVERZEICHNIS\karaf\bin\stop
See also official Karaf documentation
For more information, see Karaf.