Enabling the quick start mode

IBM® Process Federation Server provides a quick start mode that allows you to partially index tasks in the ElasticSearch cluster based on a past date criteria.

About this task

When you enable the quick start mode, only the change log entries that are newer than the specified point in time are processed by the indexers. This mode can be used to reduce the number of tasks to index or re-index so they can be available faster. The quick start mode is available for both the BPD and the BPEL indexers, and can be used whether an ElasticSearch cluster is already created or not. You can enable the quick start mode by setting the date criteria in the format yyyy-MM-dd HH:mm:ss with the attribute skipChangeLogEntriesOlderThan for the related indexer element. The date must be specified in UTC time, regardless of the federated system timezone that the indexer element refers to.

Note: When the quick start mode is enabled, the following operations are disabled in Process Federation Server:
  • For the BPD indexer : the purge of the audit log table PFS_BPD_CHANGE_LOG_CONSMR_LOG and the compaction of change log PFS_BPD_CHANGE_LOG.
  • For the BPEL indexer : the purge of the audit log table PFS_BPEL_CHANGE_LOG_CONSMR_LOG.
Note: By default, the BPD or BPEL indexers run the tasks synchronization immediately after Process Federation Server starts. You can delay the execution of this operation by setting the attribute synchronizeTasksAtStartup to false.
Note: In a Process Federation Server cluster environment, you must set the same time value for the skipChangeLogEntriesOlderThan property across all the Process Federation Server cluster members. Likewise, you must set the same value for the synchronizeTasksAtStartup property.

Procedure

  1. Stop Process Federation Server.
  2. Edit the server.xml file.
  3. Locate the ibmPfs_bpdIndexer element for the BPD indexer, or the ibmPfs_bpelIndexer element for the BPEL indexer, add the attribute skipChangeLogEntriesOlderThan, and specify a date as a starting point for indexing tasks.
    For example, for the BPD indexer, if the current date is 2017-01-30 13:10:00, the following settings will index or re-index tasks for the last three days:
    <ibmPfs_bpdIndexer ... skipChangeLogEntriesOlderThan="2017-01-27 13:10:00"/>
    For the BPEL indexer, if the current date is 2017-01-30 13:10:00, the following settings will index or re-index tasks for the last three days:
    <ibmPfs_bpelIndexer ... skipChangeLogEntriesOlderThan="2017-01-27 13:10:00"/>
  4. Start Process Federation Server.