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.

If you have set up Services for the BPC system components, start and stop the BPC according to the instructions at Services.

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
Diagram

Use

The following examples show the use of the scripts.

  • Unix systems

  • Windows systems

Start BPC as background process
start_bpc.sh
Anzeige der Hilfe zu dem Skript
start_bpc.sh -h
start_bpc.sh --help
BPC mit aktiver Karaf Konsole Starten
start_bpc.sh --console

Bei aktiver Karaf Konsole wird der Karaf beendet, sobald die Konsole geschlossen wird.

BPC Stoppen
stop_bpc.sh
Start BPC as background process
start_bpc.bat
Anzeige der Hilfe zu dem Skript
start_bpc.bat -h
start_bpc.bat --help
BPC mit aktiver Karaf Konsole Starten
start_bpc.bat --console

Bei aktiver Karaf Konsole wird der Karaf beendet, sobald die Konsole geschlossen wird.

BPC Stoppen
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

For more information, see Karaf.


Keywords: