If you use Enterprise Replication, you must do replication-related
tasks to prepare for migration.
Before you begin
You
must do all migration operations as user informix, unless otherwise
noted.
Only a DBSA can run the cdr
check queue command. With a non-root installation, the user
who installs the server is the equivalent of the DBSA, unless the
user delegates DBSA privileges to a different user.
Procedure
To prepare for migration with Enterprise Replication:
- Stop applications that are performing replicable transactions.
- Make sure that the replication
queues are empty.
If you are migrating from HCL Informix 14.10. or later releases, run the following commands to
check for queued messages and transactions:
- cdr check queue -q cntrlq targetserver
- cdr check queue -q sendq targetserver
- cdr check queue -q recvq targetserver
- Make sure that
the replication queues are empty by running the following commands:
- Run onstat -g grp to ensure that the Enterprise
Replication grouper does not have any pending transactions. The grouper
evaluates the log records, rebuilds the individual log records in
to the original transaction, packages the transaction, and queues
the transaction for transmission.
- Run onstat -g rqm to check for queued messages.
- Shut down Enterprise Replication by running
the cdr stop command.