Configuring the CDC Replication Engine for Db2 Database for a Db2 HADR environment

There are a number of configuration steps you must follow before you can use CDC Replication to replicate data in a DB2® High Availability Disaster Recovery (HADR) environment

You can configure CDC Replication to replicate data in a DB2 HADR environment. During a failover (either manual or automatic) when the DB2 LUW workload is transferred from the primary server to the standby server, you can configure CDC Replication to start replication to the new primary server.
Important: CDC Replication does not support replication to a standby server.

Ensure that you have the following system parameters configured:

When the Db2® BLOCKNONLOGGED parameter is set to YES and the Db2 registry variable DB2_LOAD_COPY_NO_OVERRIDE is set to COPY YES to <path>, set the CDC system parameter refresh_loader_with_backup_copy=true. You do not need to provide the refresh_loader_backup_path parameter in this case. CDC Replication does not validate the path that is provided in the DB2_LOAD_COPY_NO_OVERRIDE registry, so you must provide a correct path.

To deploy CDC Replication in a DB2 HADR environment, you must install CDC Replication and create your CDC Replication instances on a storage area network (SAN) device that has direct file system access to the primary server and standby server. You must also make the same ports available to the CDC Replication on the primary and standby servers. By default, the CDC Replication Engine for Db2 Database replication engine uses port 10901.