PMF Server

Overview

Persistent Mobile Foundation (PMF) consists of several components. An overview of PMF architecture is provided for you to understand the functions of each component.

After the server components and the database are installed and configured, PMF can be operated for most operations without the need to access the application server or database configuration.

The administration and deployment operations of the PMF artifacts are done through PMF Operations Console, or the REST API of the PMF administration service. The operations can also be done by using some command line tools that wrap this API, such as pmfdev or pmfadm. The authorized users of PMF can modify the server-side configuration of mobile applications, upload, or configure server-side code (the adapters), upload new web resources for Cordova mobile apps, run application management operations and more.

PMF offers extra layers of security, in addition to the security layers of the network infrastructure or the application server. The security features include the control of application authenticity and the access control to the server-side resources and the adapters. These security configurations can also be done by the authorized users of PMF Operations Console and the administration service. You determine the authorization of the PMF administrators by mapping them to security roles as described in Configuring user authentication for PMF administration.

A simplified version of PMF that is preconfigured and does not need software prerequisite such as database or an application server is available for developers. See Setting up the PMF Development Server.

PMF Components

The architecture of the PMF components is illustrated as follows:

Components that make up the PMF

Core components of PMF

PMF Operations Console, the PMF administration service, the PMF live update service, the PMF artifacts, and the PMF runtime are the minimum set of the components to install.

  • The runtime provides the PMF services to the mobile apps that run on the mobile devices.
  • The administration service provides the configuration and administration capabilities. You use the administration service via PMF Operations Console, the live update service REST API, or command line tools such as pmfadm or pmfdev.
  • The PMF live update service manages configuration data and is used by the administration service.

These components require a database. The database table name for each component does not have any intersection. As such, you can use the same database or even the same schema to store all the tables of these components. For more information, see Setting up databases.

It is possible to install more than one instance of the runtime. In this case, each instance needs its own database. The artifacts component provides resources for PMF Operations Console. It does not requires a database.

Optional components of PMF

The PMF push service provides push notification capabilities. It must be installed to provide these capabilities of the mobile apps use the PMF Push features. From the perspective of mobile apps, the URL of the push service is the same as the URL as the runtime, except that its context root is /imfpush.

If you plan to install the push service on a different server or cluster than the runtime, you need to configure the routing rules of your HTTP server. The configuration is to ensure that the requests to the push service and the runtime are properly routed.

The push service requires a database. The tables of the push service have no intersection with the tables of the runtime, the administration service, and the live update service. Thus, it can also be installed in the same database or schema.

The Persistent Mobile Foundation Analytics service and PMF Analytics Console provide monitoring and analytics information about the mobile apps usage. Mobile apps can provide more insight by using the Logger SDK. The Persistent Mobile Foundation Analytics service does not need a database. It stores its data locally on disk by using Elasticsearch. The data is structured in shards that can be replicated between the members of a cluster of the Analytics service.

For more information about the network flows and the topology constraints for these components, see Topologies and network flows.

PMF Installation process

The installation of PMF on-premises can be done by:

  • Ant tasks through the command line tools

For more information about the installation of PMF on-premises is provided, see:

  • A guide through a complete installation of PMF farm on WebSphere Application Server Liberty profile. The guide is based on a simple scenario for you to try out the installation either in graphical mode or in command line mode.
  • A detailed section that contains details about the installation prerequisites, database setup, server topologies, deployment of the components to the application server, and server configuration.
Last modified on