The Business Process Archive Manager is an optional component
that allows reduce the size of the Business Process Choreographer
database, by moving completed BPEL process instances and human tasks
to a separate archive database. To configure a Business
Process Archive Manager, you must add entries to the properties file
before you create the deployment environment.
About this task
You can configure the Business Process Archive Manager only
on the support cluster of three cluster setup that is based on the
Advanced or
AdvancedOnly template
properties file. When you configure the Business Process Archive Manager,
a Business Process Archive Explorer is also configured.
Procedure
- Open your deployment environment properties file in an
editor.
Tip: For more information
about possible keys and values for the
BPCArchive component,
see the appropriate properties file.
- install_root/BPM/samples/config/advanced/Advanced-PC-ThreeClusters-DB2.properties
- install_root\BPM\samples\config\advanced\Advanced-PC-ThreeClusters-DB2.properties
- Specify the BPCArchive component on the
support cluster. For example, if cluster 3 is the support
cluster, and the next free component index is 1,
add an entry that is similar to the following example:
bpm.de.cluster.3.capability.1.component.1.name=BPCArchive
- Add the archive database to the support cluster. For
example, add an entry that is similar to the following example:
bpm.de.cluster.3.db=PerformanceDb,ArchiveDb
- Add the definition of the archive database. For
example, for a DB2 database named BPARCDB,
if the next free database index is 5, add entries
that are similar to the following example.
bpm.de.db.5.name=ArchiveDb
bpm.de.db.5.dbCapabilities=BPCArchive
bpm.de.db.5.databaseName=BPARCDB
bpm.de.db.5.type=DB2
bpm.de.db.5.hostname=localhost
bpm.de.db.5.portNumber=50000
bpm.de.db.5.roleMapping.1.name=DbUser
bpm.de.db.5.roleMapping.1.alias=BPM_DB_ALIAS
bpm.de.db.5.roleMapping.2.name=DbUserXAR
bpm.de.db.5.roleMapping.2.alias=BPM_DB_ALIAS
bpm.de.db.5.schema=db2admin
Tip: Because the
purpose of the Business Process Archive Manager is to reduce the size
of the runtime database, make sure that BPARCDB is
a separate database from the database that Business Process Choreographer
uses.
Results
The properties file includes the definitions that are necessary
to configure a Business Process Archive Manager and a Business Process
Archive Explorer on the support cluster.
What to do next
Create your deployment environment by running the
BPMConfig command.