Enabling and configuring the Federated Data Repository process indexing
Business Automation Workflow can index data about process instances and tasks in the federated data repository.
To enable the Federated Data Repository process indexing, meet the prerequisites and then complete the following configuration on your Business Automation Workflow servers.
Before you begin
Complete configuring the connection to the Federated Data Repository, as described in Configuring the Federated Data Repository connection.
action.auto_create_index
setting. See the specific documentation for Elasticsearch
and OpenSearch
.Configuring Business Automation Workflow to index into the Federated Data Repository
After you configure Business Automation Workflow to communicate with the Federated Data Repository, you can enable and configure the Federated Data Repository process indexing by editing the 100Custom.xml configuration file.
About this task
true as shown in the following example:<properties>
<server>
<search-index merge="mergeChildren">
<fdr-index-enabled merge="replace">true</fdr-index-enabled>
</search-index>
</server>
</properties>
To tune process indexing, you can define other optional properties. See the properties that you can use to customize the Federated Data Repository process indexing behavior in the following table.
| Property | Description | Default value |
|---|---|---|
| fdr-index-enabled |
A flag that indicates whether Federated Data Repository process indexing is enabled. For improved performance, easier maintenance, and richer search capabilities, enable Federated Data Repository process indexing by setting <fdr-index-enabled> to true, <task-index-enabled> to false, and <fdr-use-instead-of-lucene> to true. This ensures features use Federated Data Repository data instead of the Lucene-based Process Portal index. |
false |
| fdr-use-instead-of-lucene |
When Federated Data Repository process
indexing is enabled with <fdr-index-enabled> set to
Considerations when setting <fdr-use-instead-of-lucene> to
Once you have set <fdr-use-instead-of-lucene> to |
false |
| fdr-index-name |
Enables you to define the name of the Federated Data Repository index that stores the
documents about process instances and tasks. The index name is prefixed with
“@”,
and the index alias is named exactly as the <fdr-index-name> value. Important: To prevent the automatic creation of the index in Elasticsearch and OpenSearch,
configure the Federated Data Repository by
using the action.auto_create_index property.
Do not define the fdr-index-name property if you want to federate the Business Automation Workflow system from Process Federation Server that runs as part of Cloud Pak for Business Automation or as part of a stand-alone Business Automation Workflow deployment on containers. |
If this property is not defined, the index name is created by using theBusiness Automation Workflow system unique identifier.
For example, “@068e7d66-b043-490e-8ee8-9e92be6c4ce6”. |
| fdr-index-shards | The number of shards to use when you create the Federated Data Repository index. | 3 |
| fdr-index-replicas | The number of replica shards to define for the Federated Data Repository index. This property is only used by Business Automation Workflow when it creates the Federated Data Repository index. To change the number of replica shards on the existing Federated Data Repository index, use the Elasticsearch or OpenSearch API directly. | 2 |
| fdr-index-threads | The number of indexing threads per node. | 1 |
| fdr-index-interval | The minimum interval between two starts of the indexing cycle, in milliseconds. | 1000 |
| fdr-index-house-keeping-interval | The interval between two housekeeping maintenance operations, in minutes. If this value is negative, the housekeeping maintenance operation is not triggered internally, and you must manually run the operation regularly instead. | 60 |
| fdr-index-house-keeping-audit-max-age | The maximum age (in minutes) of indexing audit entries to keep (to not delete) on a housekeeping maintenance operation. | 10080 (equals to 7 days) |
| fdr-index-house-keeping-record-max-age | The maximum number of maintenance operation records of each type to keep (to not delete) on a housekeeping maintenance operation. | 50 |
| fdr-index-batch-size | The maximum size of indexing queue entries to process on a single indexing cycle. | 1000 |
| fdr-index-deletion-batch-size | The maximum number of rows to delete when a maintenance operation requires row deletions. For example, during a housekeeping maintenance operation. | 50000 |
| fdr-index-reconciliation-batch-size | The maximum number of discrepancies to identify on each cycle of the
“reconcile” maintenance operation. |
500 |
| fdr-index-failure-threshold | Specifies how many times a failed operation such as the creation, update, or deletion of a
document in the Federated Data Repository index
can be tried again. When the number of retries reaches the threshold, the operation request remains
in the queue but is ignored by the indexer. To attempt processing the queue entry again, you must
run the "retry-failures" maintenance operation. |
20
|
Migrating from Process Federation Server indexing to Federated Data Repository indexing
<ibmPfs_bpdIndexer> configuration, you must migrate to
Federated Data Repository indexing for Business Automation Workflow 24.0.0.0 and later
versions.
Before you begin
Before migrating from Process Federation Server indexing to Federated Data Repository indexing:
- Verify that your Business Automation Workflow system is version 24.0.0.0 or later.
- Complete the Federated Data Repository connection configuration as described in Configuring the Federated Data Repository connection.
- If you are upgrading Process Federation Server, see Upgrading IBM Process Federation Server for version-specific upgrade procedures.
- Back up your existing Elasticsearch or OpenSearch indexes. See Backing up and restoring Process Federation Server Elasticsearch indexes for backup procedures.
About this task
The migration process involves enabling Federated Data Repository indexing on your Business Automation Workflow system and removing the
deprecated <ibmPfs_bpdIndexer> configuration from Process Federation Server. This ensures
that process indexing is performed directly by Business Automation Workflow rather than through
Process Federation Server.
Procedure
Results
After completing the migration, your Business Automation Workflow system indexes process data directly to the Federated Data Repository, and Process Federation Server no longer performs indexing operations. This configuration provides improved performance and easier maintenance.
What to do next
After migration:
- Monitor the Federated Data Repository index size and performance.
- Verify that all search functionality works as expected in Process Portal and through REST APIs.
- If you encounter issues, you can rebuild the index by using the procedures that are described in Rebuilding an index.
- For information about upgrading Elasticsearch or OpenSearch versions, see Backing up and restoring Process Federation Server Elasticsearch indexes.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15