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 通用数据库.
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:
- Exit the DB2 控制中心 and the DB2 E veryplace管理员.
- 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.
- Change directories to \SQLLIBDIR\bnd, where SQLLIBDIR is the directory in which DB2 通用数据库 is
installed.
- Type bindcap vnurse to configure the source database. vnurse is the name of the database used in this example.
- Type bindcap m_vnurse to configure the mirror database. m_vnurse is the name of the mirror database used in this example.
- 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:
- On the source database server, open a DB2 Universal Database Command Window.
- 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.
相关概念
相关任务