Migrating Event Collector Data for DB2
If the database you are using is DB2, you must install and run the migration stored procedure for DB2 to migrate the Event Collector data.
Procedure
- Copy install-migration-tools.sql from TIBCO_HOME\bpm\n.n\scripts\migration\db2, where n.n is the version of ActiveMatrix BPM, to a temporary location on your server.
-
Open the DB2 command window and login with the BPM user credentials.
db2 CONNECT TO database_name USER user_name USING password
where:- database_name is the database you wish to connect to (for example, amxbpm).
- user_name is the user under which the ActiveMatrix BPM schema is installed (for example, bpmuser).
- password is the password for the user.
db2 CONNECT TO amxbpm USER bpmuser USING mypassword
-
Execute the following command to install the stored procedures and create the
ec_migration table used to migrate the Event Collector data:
db2 -td/ -f /home/amx-bpm/temp/install-migration-tools.sql
- You may have large amounts of event data to migrate, depending on the size of your system. Therefore, the amxbpm_migrate_events stored procedure enables you to specify the number of events to migrate, and the commit batch size. Execute the command multiple times to migrate the data. Call the amxbpm_migrate_events stored procedure directly. For example:
- Once your data has migrated, execute the following command to remove the migration tools used to migrate the Event Collector data.
Copyright © Cloud Software Group, Inc. All rights reserved.