This procedure describes how to migrate Control-M Workload Archiving data from a source archive database on a Control-M/EM Distributed computer to a target archive database. Migration of Workload Archiving Migration data is supported from a PostgreSQL database to another PostgreSQL database or from an Oracle database to another Oracle database.
The migration may take several hours or even days, depending on the amount of data and the network latency between the source and the target database. If migration fails in the middle of the process, it can be restarted from the point of failure.
NOTE: Control-M/EM may finish migrating and be up and running well before Control-M Workload Archiving is. To ensure that the archiving process does not miss job log and job output data, you can adjust retention parameters as described in Configuring retention parameters to prevent loss of archive data.
Before you begin
To migrate Control-M Workload Archiving:
<Control-M/EM home dir>\archive\CopyDataUtil
run_archive_migration
-host <source db host> -port <source db port> -username <source db username> -password <source db password> -name <source db name>
The script migrates the data from the old environment to the new environment. For a full list, see Workload Archiving migration parameters.
NOTE: If the Workload Archiving server was up on the new computer before migration, it is restarted automatically. If not, you can restart the server when the following message appears:
Starting migration from source's DB to target's DB
Parent Topic |