Creating multiple installations of the CDC Replication Engine for Db2 for i

You can install CDC Replication multiple times.

Procedure

  1. Configure CDC Replication to use TCP/IP by adding a new service table entry for each installation.
  2. Start CDC Replication TCP/IP communications.

    To start CDC Replication TCP/IP communications, issue the STRDMTCP command select Configure related tables (Option 21) and then select Work with service table entries (option 1).

    Ensure that you specify the new service table entry for each additional installation.

  3. Rename additional subsystems.

    To rename the subsystem for the additional installation, issue the following command:

    RNMOBJ OBJ(<library>/DMIRROR) OBJTYPE(*SBSD) NEWOBJ(<name>)

    where the placeholders are the following values:

    <library>
    The CDC Replication product library of additional installation.
    <name>
    The new name for subsystem
  4. Modify the CDC Replication communication registry value.

    To modify the CDC Replication communication registry, issue the following command:

    TSSETREG PRODLIB(<library>) SUBSNAME(<name>)

    where the placeholders are the following values:

    <library>
    The CDC Replication product library of additional installation.
    <name>
    The renamed subsystem of additional installation
  5. Remove the autostart job entry.

    To remove the autostart job entry, issue the following command:

    RMVAJE SBSD(<library>/<name>) JOB(TCPLISTEN)

    where the placeholders are the following values:

    <library>
    The CDC Replication product library of additional installation.
    <name>
    The renamed subsystem of additional installation
  6. If you want the D_MIRROR profile to refer to the first installation by default, then issue the following command:
    CHGUSRPRF USRPRF(D_MIRROR) CURLIB(<library>)

    where <library> is the CDC Replication product library of first installation.

    Any of the CDC Replication product libraries can be set to the default.

What to do next

You need to verify the additional installation by verifying the authority of the D_MIRROR profile, the attributes of the renamed subsystems, and the library list of each additional installation.