Installing INUBIT Software

If you are about to migrate from an older INUBIT version to the current one, first refer to Migration Guide.

Preparation

The following requirements must be met before installation:

  • You have an INUBIT license.

  • The installation file suitable for your platform is available on your target system.

  • Make sure that enough disk space is available.

    If the installer returns the message There is not enough space to perform this installation. Please free some disk space and re-run this installer…​, the environment variable IATEMPDIR can be alternatively set to a disk partition that has enough space.

Install INUBIT via graphical interface

Proceed as follows

  1. Start the installation file.

  2. Select the installation dialog language.

  3. Follow the wizard instructions and stop on the Choose Install Set dialog.

  4. By default, an AdoptOpenJDK suitable for INUBIT and BPC is installed in the <inubit-installdir>/_jvm directory. This AdoptOpenJDK installation is used by both INUBIT and BPC including Elasticsearch and Karaf.

  5. Select and check an install set on the Choose Install Set dialog. The install set must match your license, unless you have got a test license. In this case, you can select any installation set.

    installation guide 47 1

    To use the AS4 Connector, select the Custom install set and activate the AS4-Gateway option. To install other components as Tomcat Manager, Plug-in SDK, and/or Remote Manager, choose the Custom install set and activate the desired component.

    The Tomcat Manager will be installed in the <inubit-installdir>/inubit/server/process_engine/webapps/manager directory. The Plug-in SDK and the Remote Manager will be installed in separate subdirectories below the <inubit-installdir> directory.

  6. Click Next.

    • If you have selected one of the pre-defined install sets, the Choose License File dialog is displayed, refer to step 7.

    • If you have selected Custom, the dialog for selecting individual components is displayed.

      1. From the Install Set list, select the install set that is most similar to what you wish to install. By doing so, all components of the install set are selected.

      2. Check all components that should be installed and uncheck all components that should not be installed. The checkmark symbol and the minus sign both signal that the component listed next to them will be installed:

        installation guide 48 1
      3. Click Next.

  7. When having chosen the Custom Install Set and having deactivated the Java Runtime Environment option, the Setting JDK path dialog is displayed. Otherwise, the Setting JDK path dialog is not displayed and the JDK path is set automatically to the <inubit-installdir>/_jvm directory where an AdoptOpenJDK delivered with the INUBIT installer will be installed.

    In both cases, a java_home_path_setter.[sh|cmd] script is generated for INUBIT and/or for BPC during the installation. For INUBIT, it is stored in the <inubit-installdir> directory. For BPC, it is stored in the <bpc-installdir> directory, and it used for both Karaf and Elasticsearch.

    In the Setting JDK path dialog, enter the path to the JDK installation to be used for your INUBIT and/or BPC installation.

    1. Click the Choose…​ button.

      → The dialog Choose a File opens.

    2. Choose the path to the JDK installation.

      When clicking on Restore Default, the current value of the JAVA_HOME environment variable is displayed if set.

      installation guide 48 2
    3. Click Next.

  8. Choose License File for INUBIT.

    1. Click the Choose…​ button.

      → The dialog Choose a File opens.

    2. Choose the license.xml file from your local file system.

      installation guide 49 1

      The license.xml file will be saved to the <inubit-installdir>/inubit/server/ibis_root/conf directory during the installation.

  9. Click Next.

  10. Optional: Choose License File for BPC.

    When having chosen to install the Business Process Center, you can enter the path to the bpc-be-license.jar file you have received from the support of the Virtimo AG. Depending on the chosen installation set, you can add the BPC license file additionally or instead of the INUBIT license. If you have not yet received a BPC license, you can leave the field empty to use the fallback license file bpc-be-license.jar provided during the installation. The fallback license file will be available in the bpc_modules directory.

    1. Click the Choose…​ button.

      → The dialog Choose a File opens.

    2. Choose the bpc-be-license.jar file from your local file system.

    3. Click Next.

  11. Choose the shortcut folder.

  12. Click Next.

    → A summary of the information you have entered so far is displayed.

  13. Click Install.

    The selected components are installed. A progress bar indicates the current status. Once the installation is finished, the Pre-Installation Summary page is displayed.

  14. If the generated script java_home_path_setter.[sh|cmd] is already existing due to a previous installation, a dialog is displayed providing the following options:

    • Keep the existing script. The previous JDK path specifications are preserved.

    • Overwrite the existing script by the new generated script. The JDK path specifications made during the current installation (see above) are taken into account.

  15. Click Finish to close the installation wizard.

If your Liferay portal runs on the same system as your INUBIT installation, you must change the shutdown port of your INUBIT Tomcat if it uses the same port as Liferay Tomcat. For this purpose, change the port in the <Server port="8005" shutdown="SHUTDOWN"> line in the <inubit-installdir>/inubit/server/process_engine/conf/server.xml file.

Depending on your selected installation set, proceed as follows:

Install INUBIT via the command line

If the target system does not support a graphical interface, the installer can be run on the command line.

If you access the system remotely, disable X11 forwarding in the terminal client used (e.g. Mobaxterm, Putty).

Prerequisites

  • You have copied the installation file to your computer.

  • To install INUBIT unattended in silent mode, you have to create a response file with a typical installation using the following command before, e.g.:

    setupLinuxX64-<inubit version>.bin -r <full path to response file>
    setupWinX64-<inubit version>.exe -r <full path to response file>

The installation assistant starts and guides you through the installation. The options selected during the installation are stored in the specified file that contains among others the following entries, for example, for Windows:

#Choose Install Folder
#---------------------
USER_INSTALL_DIR=D:\\inubit80
#Choose Install Set
#------------------
CHOSEN_FEATURE_LIST=IBIS,Tomcat,TomcatPE,AS4-GT,TomcatMan,benchmark,BPC,Karaf ES,BPC-Ana,BPC-Core,BPC-Dash,BPC-Mon,BPC-Int,BPC-Doc,BPC-iMon,BPC-iWeb,keycloak,JRE,Workbench,Doc,Tutorial,Plug-in,RC
CHOSEN_INSTALL_FEATURE_LIST=IBIS,Tomcat,TomcatPE,AS4-GT,TomcatMan,benchmark,BPC,Karaf ES,BPC-Ana,BPC-Core,BPC-Dash,BPC-Mon,BPC-Int,BPC-Doc,BPC-iMon,BPC-iWeb,keycloak,JRE,Workbench,Doc,Tutorial,Plug-in,RC
CHOSEN_INSTALL_SET=Benutze
#Choose License File
#-------------------
USER_INPUT_LICENSE_FILE=D:\\inubitinstall\\inubit8.0\\license.xml
USER_INPUT_BPC_LICENSE=D:\\inubitinstall\\bpc-be-license.jar
#Choose Shortcut Location
#------------------------
USER_SHORTCUTS=C:\\inubit\\inubit80

Proceed as follows

In the event under Linux the error message Unable to load and to prepare the installer in console or silent appears after selecting the language, set the following Java option before restarting the INUBIT installer:

-Djava.awt.headless=true

For this purpose, execute the following command in the terminal:

export _JAVA_OPTIONS="-Djava.awt.headless=true"

  1. Open the command line.

  2. Start the installation.

    • Console mode

      Call up the installation file corresponding to your operating system using the parameter -i console, for example:

      setupLinuxX64-<inubit version>.bin -i console
      setupWinX64-<inubit version>.exe -i console

      → You are guided through the installation script, and you have to answer the questions to continue.

      If the parameter is missing, the installation wizard is displayed!

      Product features can be selected or deselected by specifying their numbering. If features are marked with an X, they are already selected and can be deselected by entering the corresponding number.

    • Silent mode ü Call up the installation file corresponding to your operating system with the response file created before using the parameter -i silent, for example

      setupLinuxX64-<inubit version>.bin -f <full path to response file> -i silent
      setupWinX64-<inubit version>.exe -f <full path to response file> -i silent

      → The installation starts using the given response file without either user interaction or output except the installation log file that is written to the installation directory.

      Linux: If the installer fails with the error message Installer User Interface Mode Not Supported, it means that the DISPLAY variable is set. Perform export DISPLAY="" to solve this issue.

  3. Depending on your selected install set, proceed as follows:

Installing/Uninstalling INUBIT Process Engine as Service

You can make the INUBIT Process Engine available as a service and start, stop, abort or continue it after an error on a local or remote computer. Additionally, you can configure start and recovery options.

Scripts for installing/uninstalling the INUBIT Process Engine as a service are included in delivery of the INUBIT software.

To modify a service script, for example, if adding proxies, uninstall the service, change the script, and reinstall the service.

Installation as service on Windows

Usage

To install/uninstall the INUBIT Process Engine as a service.

The script described in this section supports log rotation. Once the log file size has exceeded the configured maximum log file size or the service was (re)started, the current log file is renamed by adding the current date and time and a new log file is created.

Old log files are not limited to a maximum age or a maximum total size and therefore grow steadily unless they are cleaned up periodically (manually, via TWF or script).
Servers with little activity, for example, therefore accumulate around 20 GB per month.

Prerequisites

You have administrator rights so that you can run the script.

The Windows operating system does not provide the normal command prompt with administrator rights! For information how to obtain these rights refer to Executing Programs on Windows as Administrator. You can also use the runas command. For this, you also need the system administrator’s username and password.

Proceed as follows

  1. Open the <inubit-installdir>\server\process_engine\bin\ directory.

  2. Open the ibis_nt_service_nssm_install.cmd script for editing.

  3. Configure the following parameters accordingly to your needs.

    • NSSM_ROTATE_FILE

      • 0: No log file rotation

      • 1: Log file rotation (default)

    • NSSM_ROTATE_FILE_SIZE

      Configure the maximum log file size in bytes. By default, the maximum log file size is set to 10 Mbyte:

      NSSM_ROTATE_FILE_SIZE=10000000

    • NSSM_ROTATE_ONLINE

      • 0: The log files are rotating only if the maximum log file size configured using the NSSM_ROTATE_FILE_SIZE parameter has exceeded when the service is (re)started.

        If the service shall run for a long time without being restarted, this value should not be used.

      • 1: The log files are rotating while the service is running (default).

  4. Save the changes.

  5. Execute the ibis_nt_service_nssm_install.cmd script to install the INUBIT Process Engine service.

    → The INUBIT Process Engine is installed as INUBIT 8.0 Service with the start type Automatic, and it can be started. Once the system is (re)started, the INUBIT 8.0 Service is started automatically.

  6. Start the INUBIT 8.0 Service using the Services application or the following command:

    net start "INUBIT 8.0 Service"

    → Depending on your configuration, in the <inubit-installdir>\server\process_engine\logs directory, the following log files rotate/do not rotate:

    stderr.log
    stdout.log

  7. To stop the INUBIT 8.0 Service, use the Services application or the following command:

    net stop "INUBIT 8.0 Service"

  8. To uninstall the INUBIT 8.0 Service, execute the ibis_nt_service_nssm_uninstall.cmd script in the <inubit-installdir>\server\process_engine\bin\ directory.

You can start and stop the service, and you can change the start type of the service using the Services application when running it as administrator.

Executing Programs on Windows as Administrator

Proceed as follows

The following description refers to Windows 10. When using another Windows version, the steps may differ.

  1. Click the magnifier icon next to the Windows logo in the bottom left corner.

  2. Into the search field at the bottom, enter cmd.exe and press Ctrl+Shift+Enter.

    This shortcut is the equivalent of the runas command or the GUI option Run as administrator.

    The command prompt opens:

    installation guide 56 2

You now have administrator rights, and the title bar of the command prompt will show: Administrator:

Installation as service with SysVinit on Linux

Prerequisites

You must have root rights to install the script for starting the INUBIT Process Engine.

The required file can be found here: <inubit-installdir>/inubit/server/process_engine/bin/inubitis

Proceed as follows

  1. Copy the files as follows:

    It is not necessary to copy the INUBITis.conf file to /etc/. If you want to copy the INUBITis.conf file to /etc/, you have to customize the path to this file in the /etc/init.d/INUBITis script to use it.

    cp <inubit-installdir>/inubit/server/process_engine/bin/inubitis /etc/init.d/
    cp <inubit-installdir>/inubit/server/process_engine/bin/inubitis.conf /etc/
  2. Allocate the service to a run level and connect the service to the respective entries for starting and stopping, e.g.:

    cd /etc/init.d/rc3.d
    ln -s ../inubitis S70inubitis
    ln -s ../inubitis K03inubitis
  3. Switch to the /etc directory.

  4. To list the available parameters, call up the script without parameters:

    cd /etc/init.d
    ./inubitis start
    ./inubitis status
    ./inubitis stop
    ./inubitis forcestop
    ./inubitis restart
  5. The paths for the following entries may need to be adjusted in the inubitis.conf file.

    • Installation directory

      IS_DIR=/opt/inubit-IS

    • User under which the service is to be run

      IS_USER=is

Installation as service with Systemd on Linux

Prerequisites

  • You must have root rights to install the INUBIT Process Engine as service using systemd.

  • Make sure that the JAVA_HOME environment variable in the <inubit-installdir>/inubit/java_home_path_setter.sh script is set to the absolute path to the JDK installation used for INUBIT, e.g.:

    JAVA_HOME=/home/inubit/_jvm

Proceed as follows

  1. In the /etc/systemd/system directory, copy the inubit.service file in the <inubit-installdir>/inubit/server/process_engine/bin directory, e.g.:

    cd /etc/systemd/system
    sudo cp <inubit-installdir>/inubit/server/process_engine/bin/inubit.service inubit.service
  2. Optional: If the user who has installed INUBIT and the user who should run the INUBIT Process Engine as a service using systemd, the user parameter in the inubit.service file has to be adjusted as follows:

    1. Navigate to the <inubit-installdir>/inubit/server/process_engine/bin/ directory.

    2. Open the inubit.service file for editing.

    3. In the line starting with User=, replace the existing username with the user who shall run the INUBIT Process Engine as a service using systemd.

    4. Save the changes.

  3. Reload the systemctl daemon configuration as follows:
    sudo systemctl daemon-reload

  4. Enable the inubit.service file before starting the INUBIT Process Engine as follows:
    sudo systemctl enable inubit.service

    → Now, you can use the following commands:

    • Starting the INUBIT Process Engine

      sudo systemctl start inubit

    • Stopping the INUBIT Process Engine

      sudo systemctl stop inubit

    • Restarting the INUBIT Process Engine

      sudo systemctl restart inubit

    • Checking the status of the INUBIT Process Engine

      sudo systemctl status inubit

Post-installing Components of the INUBIT Software

Proceed as follows

  1. Stop the INUBIT Process Engine.

  2. Start the installation wizard again.

  3. As installation directory select the directory the INUBIT software is installed in.

  4. As type of installation select User-defined.

  5. Check all components which you want to install.

    When you select a component which is subordinated to other components in the tree, then all superordinated components are installed again.

  6. Start the installation. Your configuration files are not overwritten automatically. You can define for each file individually whether to keep its current version or let it overwrite.

Set or change Java runtime environment

By default, a Java runtime environment (JDK) suitable for INUBIT is installed in the directory <inubit-installdir>/_jvm. This JDK installation is used by all applications included in the installer.

When having deactivated the Java Runtime Environment option on the Custom Install Set dialog during the installation, the Setting JDK path dialog is displayed.

By entering the path to the JDK installation used by INUBIT/BPC during the installation, the environment variable JAVA_HOME is set in the following scripts in order to be used by both INUBIT and/or BPC including Elasticsearch and Karaf.

<inubit-installdir>/inubit/java_home_path_setter.[sh|cmd]
<bpc-installdir>/java_home_path_setter.[sh|cmd]

If you have not specified the path to the JDK installation or want to change the path, you can change the environment variable JAVA_HOME at any time.

The environment variable JRE_HOME is automatically set to JAVA_HOME and must not be changed.

Proceed as follows

  1. Open the file <inubit-installdir>/inubit/java_home_path_setter.[sh|cmd] for editing and set the JAVA_HOME environment variable to the path to the JDK installation used by INUBIT.

    Make sure that the version of the specified JDK installation fits the required version number set for the JAVA_MAJOR_VERSION_REQUIRED variable. Otherwise, the version check fails, an error message is displayed, and neither the INUBIT Process Engine nor the Remote Connector can be started.

    Path with whitespace

    If you specified the path during a Linux installation, and it contains spaces, you must update the java_home_path_setter.sh file by enclosing the path in quotation marks.

    Example: JAVA_HOME="/home/inubit/jdk 11"

  2. Restart the Process Engine or the Remote Connector for the changes in the <inubit-installdir>/inubit/java_home_path_setter.[sh|cmd] script to take effect.

Preparation on Linux/Unix

Adjusting the Open File Limit

Usage

For setting the maximum number of open files for one or more users

Proceed as follows

  1. Open the /etc/security/limits.conf file for editing.

  2. Add the following entry for the user who is to start the Process Engine. If necessary, adjust the value to your environment as required.

    <inubit user> hard nofile <new value>

  3. Save the file.

Example

  • Under Linux/Unix: In the /etc/security/limits.conf file, you have adapted the file handle limit for the installing user according to the following pattern:

    <Installing user> soft nofile 4096
    <Installing user> hard nofile 131072

    For the root user, these entries should look like this:

    root soft nofile 4096
    root hard nofile 131072

Adjust the Ulimit

Usage

For setting the maximum number of open file descriptors

Proceed as follows

  1. Open the file $HOME/.bashrc for editing.

  2. Add the following entry and adjust the value (in the following example 128000) to your environment as required:

    ulimit -n 128000
  3. Save the file.

Adjusting the Kernel Parameters

Proceed as follows

  1. Log on as administrator root.

  2. Open the file /etc/sysctl.conf for editing.

  3. Adjust the following parameter values to your environment. The following values serve as examples:

    • net.core.rmem_default

      Default receive buffer for network packets

    • net.core.rmem_max

      Maximum receive buffer for network packets

    • net.core.wmem_default

      Default send buffer for network packets

    • net.core.wmem_max

      Maximum send buffer for network packets

  4. Save the file.

  5. Load the changed kernel parameter values using the command sysctl -w.

Installing and Configuring a Load Balancer

A load balancer is not part of the delivery.

Installing a load balancer

Proceed as follows

  1. Select a load balancer.

  2. Install and configure the load balancer to suit your requirements and the manufacturer’s specifications.

  3. Activate the required ports, such as 8009.

  4. Disable any ports not needed, such as 80 or 8000.

Configuring the load balancer

Proceed as follows

  1. Open the file <inubit-installdir>/inubit/server/process_engine/conf/server.xml for editing.

  2. Remove the comment characters for the following parameters and configure the load balancer.

    The following example shows how to configure the Apache load balancer with mod_jk.

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
    ...
    <Engine name="Catalina" defaultHost="localhost" jvmRoute="<DNS name / IP address of the current node>">