Configuring the databases and starting Capture for DataPropagator subscriptions.

This task is part of the greater task of Setting up Synchronization. When you have completed the steps below, return to Setting up Synchronization

DB2 Everyplace Sync Server uses DB2 DataPropagator to replicate data between Sync Server and DB2 Universal Database. Before you can synchronize data using DataPropagator subscriptions, you need to configure the databases that you are planning to synchronize to..

Procedure

To configure the databases:

  1. Exit the Centro de control de DB2 and the DB2 E veryplaceAdministrador.
  2. For Windows, open the DB2 Command Window by selecting Start --> Programs --> IBM DB2--> Command Window. For UNIX, open a window and ensure that you have started the DB2 database manager. If not, issue a db2start command.
  3. Change directories to \SQLLIBDIR\bnd, where SQLLIBDIR is the directory in which DB2 Universal Database is installed.
  4. Type bindcap vnurse to configure the source database. vnurse is the name of the database used in this example.
  5. Type bindcap m_vnurse to configure the mirror database. m_vnurse is the name of the mirror database used in this example.
  6. Close the DB2 Universal Database Command Window.

After configuring the DataPropagator subscription databases, you must start the DataPropagator Capture program for the source database. To start the DataPropagator Capture program:

  1. On the source database server, open a DB2 Universal Database Command Window.
  2. Start the Capture process by typing the following command:
    ASNCCP vnurse
    

    Leave this command window open. The capture process will run continuously in the background. If the Capture process stops, repeat these steps.

Conceptos relacionados

Tareas relacionadas