PP.Util is a console application within Foresight Analytics Platform that executes various auxiliary operations during BI server setup. The application is included in Foresight Analytics Platform and is located:
In the folder with installed BI server /opt/foresight/fp10.x-biserver/bin in Linux OS.
In the folder with installed desktop application C:\Program Files\Foresight\Analytics Platform 10.x in Windows OS.
To start the application in Linux OS, use the PP.Util_start.sh script. The application can be started only by one of the selected actions. The required action is selected by specifying an appropriate set of parameters.
./PP.Util_start.sh <parameter set>
PP.Util.exe <parameter set>
The PP.Util utility must be started under the same user who controls BI server work:
www-data for Debian-based distributions.
apache for RedHat-based distributions.
apache2 for ALT Linux.
In Windows OS, on installing BI server on default IIS web server, the application pool will be started under the Network Service account.
To view the console help for available parameter sets in Linux OS, start the PP.Util_start.sh utility without parameters. Optional parameters will be specified in square brackets. When specifying a parameter set in application syntax do not use square brackets.
NOTE. To specify parameter set values, use character escaping.
Parameter sets:
NOTE. If PP.Util was used to save credentials, and after it the operating system user password, under which BI server works, was changed, all credentials must be resaved.
If the following data sets are used: create_audit_user, save_cert, create_svclog_tables, clear_svclog_tables, the AnalyticsPlatform feature is requested. In Linux OS specify the LSFORCEHOST or LSHOST system variable using one of the methods:
On startup of PP.Util_start.sh, for example:
sudo LSFORCEHOST=<license server name or NO-NET> /opt/foresight/fp10.x-biserver/bin/PP.Util_start.sh /create_audit_user REPOSITORY_ID USER_NAME USER_PASSWORD SERVICE_USER_NAME SERVICE_USER_PASSWORD
In the PP.Util_start.sh script, for example:
export LSFORCEHOST=<license server name or NO-NET>
In the /etc/environment global variables file. To apply settings, restart BI server or restart the operating system. On startup of PP.Util_start.sh specify the -E flag to save the variable, for example:
sudo -E /opt/foresight/fp10.x-biserver/bin/PP.Util_start.sh /create_audit_user REPOSITORY_ID USER_NAME USER_PASSWORD SERVICE_USER_NAME SERVICE_USER_PASSWORD
For details about the LSFORCEHOST and LSHOST variables see the Working with License Server subsection.
See also: