Replicating on demand

The replication-on-demand feature enables you to request replication at any time. It is an alternative to setting replication to automatically run at regular intervals.

When the Sync Server servlet starts, the initial replication takes place as usual. Subsequent replications can be requested by using the dsyreplicate command.

Restrictions

The following restrictions apply:

Procedure

  1. Open a DB2 UDB command window.
  2. On Windows, change to %DSYINSTDIR%\Server\bin. On UNIX, change to $DSYINSTDIR/Server/bin.
  3. Issue the dsyreplicatecommand to request the replication..
    dsyreplicate [-timeout timeout] mirror_database_name
    
    where timeout specifies the maximum amount of time (in seconds) that dsyreplicate will wait for the Sync Servers to quiesce all synchronization activities. It does not specify the time limit for replication. There is no time limit for replication. That is, the more data you have, the longer replication will take.

    For example, dsyreplicate m_vnurse

    Uwaga:
    The default timeout is 5 seconds.
  4. Close the DB2 command window.

Zadania pokrewne

Informacje pokrewne