DB2 10.5 for Linux, UNIX, and Windows

Setting up the datastore for shadow tables with commands for IBM InfoSphere CDC Access Server

Setting up the datastore for shadow tables with commands for IBM® InfoSphere® CDC Access Server consists of creating one datastore for the replication with InfoSphere CDC and configuring a datastore connection. This datastore represents the data files that are required for data replication. The datastore connection provides access to the InfoSphere CDC instance from the access server for its configuration, monitoring, and operational control.

Before you begin

Procedure

To set up one datastore for shadow tables:

  1. Log in to the access-server-host as cdc-user.
  2. Create the datastore by running the following commands:
    cd access-server-installation-dir/bin/ 
    ./dmcreatedatastore access-server-datastore-name access-server-datastore-desc
         cdc-server-host cdc-port
  3. Add a datastore connection by running the following command:
    ./dmaddconnection access-server-user access-server-datastore-name 
       db2-database-name db2-cdc-user db2-cdc-user-password
       FALSE TRUE FALSE TRUE
    This command creates a connection with the following characteristics:
    • You are not prompted for a connection each time you try to connect to the datastore.
    • All the connection parameters are displayed in a writeable format (except for the password) each time you try to connect to the datastore.
    • You can save the connection parameters when you connect to the datastore.