Installing and Setting Up BI Server on RHEL OS

This article describes installing and removing of BI server on Red Hat Enterprise Linux OS 6. The supported versions of Linux are given in the Supported Versions of Linux OS article.

NOTE. BI server functionality is limited by the set of available operations and their implementation.

In this article:

Preparation

Installing BI Server

Setting Up BI Server

Removing BI Server

Preparation

Execute preparatory actions before BI server installation:

  1. Make sure that the operating system is set up and hardware and software requirements are met for correct installation and full-functional work of the Prognoz Platform 9 web application.

  2. Set up DBMS back end.

  3. Using the Prognoz Platform desktop application on Windows OS, create a metadata repository, security subsystem service user and set up repository connection. Before setting up it is recommended to study the Installing Prognoz Platform 9 Desktop Application section.

  4. Install DBMS front end.

Working with Prognoz Platform 9 BI server requires installation of third-party packages that can be downloaded from the internet or from DVD repository or from built-in RPM packages. If an internet connection is provided via proxy server, determine settings required for connection.

If there are modules or packages not compatible with MPM Worker (for example, php), they must be disconnected in the BI server instance, or removed if they conflict with BI server installation.

After preparation, proceed to BI server installation.

Installing BI Server

The BI server RPM package installation requires access to the repository with dependent packages glibc libstdc++ openssl glib2 redhat-lsb-core mesa-libGL mesa-libGLU libgomp libpng libjpeg libtiff libXi libXrandr libXrender libXcursor libXinerama fontconfig unixODBC httpd xorg-x11-server-Xvfb. If there are modules or packages not compatible with MPM Worker (for example, php), they must be disconnected in the BI server instance, or remove if they conflict with BI server installation.

  1. Copy an RPM package of the "rforesight-pp9.0-biserver-9.0.*.rpm" type to the home directory. The RPM package has the following name for Prognoz Platform 9.0: foresight-pp9.0-biserver-9.0.*.rpm.

  2. Install the BI server package (other utility can be used for package installation, yum installs all dependent packages during installation process):

sudo yum localinstall foresight-pp9.0-biserver*"

During installation a new instance of the httpd configuration (hereinafter the httpd, Apache HTTP Server and Apache2 names are equal, this is a product: https://httpd.apache.org and it is not connected with the Apache Tomcat web server, the Java servlet container) is created, MPM worker is enabled, the pp9.0-biserver module to load mod_axis2 is enabled, the links of the apachectl-pp9.0 type are created in the /usr/sbin directory to manage the instance, the httpd-pp9.0 service is registered and added to the autorun, the BI server files of Prognoz Platform are installed, the foresight-xvfb service is registered and added to autorun to start the virtual graphic display No. 987. The foresight-xvfb service is started automatically and httpd-pp9.0 requires starting by the command (the SELinux should be deactivated or set up and OS should be restarted before):

sudo service httpd-pp9.0 start

NOTE. To change BI server version, install another package version over the previous one. Configuration files are saved if their version is not updated in the package.

After installing to monitor BI server work and detecting various errors the user can enable logging of system messages. To do this, add and uncomment the following strings in the file /etc/opt/foresight/pp9.0-biserver/envvars:

## Uncomment line below to export extended log

# PP_LOG=1

Add the following strings to the file /etc/httpd-pp9.0/conf.d/pp9.0-biserver.conf:

Axis2LogFile "/opt/foresight/pp9.0-biserver/logs/axis2.log"

Axis2LogLevel info

After the installation return to the basic steps and continue web application installation.

Setting Up BI Server

  1. BI server uses settings specified in the settings.xml file. See its structure and make modifications if required.

NOTE. A file with settings is optional. If the file is absent, default parameter values are used.

  1. To get information about repositories to work with, BI server uses the registry.reg or Metabases.xml file. For details about setting up these files, see the Configuration and Setup article.

  2. Activate Prognoz Platform 9.

  3. All additional files used by BI server must have access permissions for an Apache HTTP Server user:

sudo chown -R apache:apache /opt/foresight/pp9.0-biserver

  1. After determining settings and granting permissions restart BI server service:

sudo service httpd-pp9.0 restart

  1. Check BI server performance.

The installed BI server will work in background as a separate Linux service. The Apache2 instance with BI server starts on the 88xx port, where xx corresponds to the minor version of the Prognoz Platform release.

After installing and setting up BI server, proceed to the web application back end installation.

Removing BI Server

To remove BI server files without removing configuration files, execute the command and confirm removal:

sudo yum remove pp9.0-biserver

All configuration files in the folders /etc/httpd-pp9.0 and /etc/opt/foresight/pp9.0-biserver, as well as new files that are not included into the setup package, are saved in these folders and /opt/foresight/pp9.0-biserver and can be used on the next package installation.

See also:

Installing Web Application on Linux OS | Checking BI Server Performance