Migrate Replication Agent for UDB when you are also upgrading
DB2.
- To prevent loss of any replicated data, deny users—other than the previously
existing Replication Agent pds_username users—any further
access to the primary database.
- Log in to the Replication Agent 15.7.1 SP100 instance, verify
that it is in Replicating state, and allow replication to
finish. To verify that replication has completed:
- Periodically issue the ra_statistics command, watching until
all of these statistics are 0 (zero):
-
Input queue size
-
Output queue size
- When all of these values are zero, note the Last QID Sent from
the last set of statistics.
- Issue the ra_locator
update command so that Replication Agent retrieves the
truncation point from Replication Server.
- Wait, then issue the ra_locator command again and compare
the displayed locator with that of the Last QID Sent. If they
are different, wait and repeat this step.
- Quiesce the Replication Agent instance by issuing the
quiesce command.
- Shut down the Replication instance by issuing the shutdown
command.
- Follow the steps in the DB2 documentation for upgrading DB2.
- Verify that all the primary database requirements
are met.
Note:
If the use_rssd configuration
parameter was set to true before migration, skip
this step.
- Start the Replication Agent instance, and set the use_rssd configuration parameter
to true:
Replication Agent for UDB uses this configuration to connect
to the RSSD and to reset the locator to zero.
- Migrate the Replication Agent metadata by issuing the
ra_migrate command.
Note:
If the use_rssd configuration
parameter was set to true before migration, skip
this step.
- In
the Replication Agent 15.7.1 instance, resume replication by issuing the
resume command.
- Allow all users to access the primary database.
Note:
If you are upgrading Replication Agent and upgrading UDB from version 8.2 or 9.1
to version 9.5 or 9.7 at the same time, you need to migrate Replication Agent
only once.