Installing and Configuring the Persistent Mobile Foundation Analytics Server

The PMF Analytics Server is delivered as two separate WAR files. For convenience in deploying on WebSphere Application Server Liberty, PMF Analytics Server is also delivered as an EAR file that contains the two WAR files.

Note: Do not install more than one instance of PMF Analytics Server on a single host machine. For more information about managing your cluster, see the Elasticsearch documentation.

The analytics WAR and EAR files are included with the Persistent Mobile Foundation Server installation. For more information, see Distribution structure of PMF Server. When you deploy the WAR file, the PMF Analytics Console is available at: http://<hostname>:<port>/analytics/console, for example: http://localhost:9080/analytics/console.

Prerequisites

  1. Release 9.1 Create the config.properties file at preferred location and add following variables in it:

       allowed.hostname= 
       maximum.request=20 
       time.window=

    For more information on the above properties, see config.properties file parameters.

  2. Create a environment variable (CONFIGURATION_FILE_PATH) and provide a full file path of the config.properties file.

    Example

    export CONFIGURATION_FILE_PATH=/opt/config.properties 
    

    You can set this path as desired; there is no mandate to keep the config.properties file under /opt folder.

    Ensure that this variable is available on a system as environment else Analytics will not be able to identify user configuration and continue to run on the default settings.

  3. Restart server with any changes done to config.properties file to apply the updates.

Last modified on