Installation

Preparations

Before you install the BPC, you should check System requirements and make the following preparations.

License

You need a License file for your installation. You can obtain this from Support or your sales contact.

System user

It is recommended that you create a dedicated user on the system for installation and operation. This is to prevent negative interaction with other applications on the server.

The system user used should have a home directory. If this is not the case, org.ops4j.pax.url.mvn.localRepository, in KARAF/etc/org.ops4j.pax.url.cfg, must be set to a valid path at the end of the installation. Otherwise, errors will occur if additional features are installed in Karaf.

The application should never run under a user with unrestricted administration rights (such as root).E.g. root).

Directory

Create a directory (referred to below as INSTALLATIONSVERZEICHNIS ) in which all components are installed - e.g. /opt/bpc.

Installation procedure

There are various ways to install the BPC. The following describes the options of using a prefabricated bundle (recommended) or assembling all components individually.

Alternatively, it is also possible to install the BPC as part of an INUBIT installation using its installer. You can find a description of this in the INUBIT documentation.

Installation using a bundle file

Installation using the Bundle file is an easy way to install the BPC, as in this case all required files (except License) are already included.

  1. First download the Bundle file suitable for your operating system.

  2. Unpack the Bundle file into the INSTALLATIONSVERZEICHNIS.

  3. If you are using Windows as your operating system, you should also create additional links.

    cd INSTALLATIONSVERZEICHNIS
    mklink /J opensearch_config\virtimo\ssl ssl
    mklink /J opensearch-3.2.0 opensearch
    mklink /J karaf-5.0.X karaf
    mklink /J jdk-21.X _jvm

    Dies ist nicht zwingend nötig, aber es erleichtert den Betrieb, wenn zukünftig Updates eingespielt werden. So bleiben die Pfade der Systemkomponenten stabil.

  4. Create your License file in the INSTALLATIONSVERZEICHNIS/karaf/deploy directory.

  5. If the BPC is to be set up as an operating system Service, you can follow the instructions at Services.

    Alternatively, you can also start and stop the BPC directly and stop it directly.

At the end, the contents of INSTALLATIONSVERZEICHNIS should look like this.

Diagram

Installing the individual components

The following describes how the BPC system components can be installed individually.

Providing central configuration files

It is recommended to use Central configuration file. This makes it possible to store important configurations outside of the system components. This simplifies the updating of the individual components, as the configuration is retained.

  1. Load the central configuration files download.

  2. Store the files directly at INSTALLATIONSVERZEICHNIS.

Further information can be found at Central configuration file.

Install Java

The two system components OpenSearch and Karaf require a corresponding runtime environment (Java 21). If you already have a suitable runtime environment on the system, you can skip the first two steps.

  1. Unpack the appropriate Java runtime environment archive (jdk_*) to the INSTALLATIONSVERZEICHNIS.

  2. Create a link with the name _jvm, which points to the directory of the runtime environment:

    • Unix systems

    • Windows systems

    ln -s jdk-21.X _jvm
    mklink /J jdk-21.X _jvm
  3. You must set the environment variable JAVA_HOME with the path to the runtime environment (e.g. ) for the user executing the BPC.E.g. INSTALLATIONSVERZEICHNIS/_jvm).

    To set JAVA_HOME, we recommend using the Central configuration file

Install OpenSearch

  1. Unpack the appropriate OpenSearch archive into the INSTALLATIONSVERZEICHNIS.

  2. Create a link with the name opensearch, which points to the new directory:

    • Unix systems

    • Windows systems

    ln -s opensearch-3.2.0/ opensearch
    mklink /J opensearch opensearch-3.2.0

As described in section Configuring OpenSearch section, we recommend that you outsource the configuration directory.

To do this, move the OpenSearch configuration directory to the BPC installation directory, rename this to opensearch_config and reset the symbolic link to the SSL directory.

  • Unix systems

  • Windows systems

mv opensearch/config opensearch_config
cd opensearch_config/virtimo/
rm ssl # falls symlink existiert
ln -s ../../ssl ssl
mv opensearch\config opensearch_config
mklink /J opensearch_config\virtimo\ssl ssl

Then activate the following line in the central configuration file:

  • Unix systems

  • Windows systems

export OPENSEARCH_PATH_CONF=../opensearch_config
SET OPENSEARCH_PATH_CONF=..\opensearch_config

Installing Karaf

  1. Unpack the archive that matches your operating system Karaf archive to the INSTALLATIONSVERZEICHNIS.

  2. Create a link with the name karaf, which points to the new directory:

    • Unix systems

    • Windows systems

    ln -s karaf-5.0/ karaf
    mklink /J karaf karaf-5.0.X

Install license

Create your license file License file in the directory INSTALLATIONSVERZEICHNIS/karaf/deploy.

BPC modules

The BPC modules can now be installed.

To do this, download all the required BPC modules and copy them to the directory INSTALLATIONSVERZEICHNIS/karaf/deploy.

A simple installation usually includes the following modules:

If the file storage functionality is to be used, which enables files to be stored in cloud services, the corresponding modules must be installed:

Central Java trust and keystores

It is recommended, central trust/keystores are recommended. These are necessary in order to set up encrypted network connections The system components are already equipped with sample stores that enable an encrypted connection. You should nevertheless replace these and adapt them to your needs.

  1. Put together a Java trust store and keystore that contains all the keys and certificates you need.

    1. If you do not need your own trust and keystores, e.g. for simple tests, you can use the example Trust and keystores can be used.

  2. Copy these to the directory INSTALLATIONSVERZEICHNIS/ssl.

  3. Carry out the configuration according to the Instructions for using the central trust/keystores

Start and stop scripts

If you want to start and stop the BPC with a single script start and stopthen you can set this up as follows.

  1. Load the appropriate start and stop scripts for your operating system Start and stop scripts for your operating system.

  2. Copy these to the directory INSTALLATIONSVERZEICHNIS/bin.

For more information on using the scripts, see BPC start and stop.

Setting up as an operating system service

If you want to set up the BPC as an operating system service, you can follow the instructions at Services.

Final overview

At the end of the installation, the INSTALLATIONSVERZEICHNIS should look something like this:

Diagram

Initial login

As soon as you have completed the installation and started the Started the BPC you can log in.

The BPC can be accessed in your browser at http://localhost:8181/ if OpenSearch and Karaf have been started. See also BPC start and stop.

To initially log in to the BPC, Karaf is set as the identity provider by default.
There are two standard users here:

Username Comment

bpcadmin

Admin user with the role bpcadmin.

virtimo

Only for access to the Karaf console.

The passwords for the standard users are assigned randomly and must be set manually (see Karaf as identity provider)!

Other identity providers can also be used for the BPC. You can find out how to configure these in detail at Create, configure and use an identity provider.


Keywords: