Home | Previous Page | Next Page   Appendix A. Command-Line Utility Reference >

cdr stop replicate

The cdr stop replicate command stops the capture and transmittal of transactions for replication.

Syntax

Read syntax diagramSkip visual syntax diagram>>-cdr stop replicate--+-------------------------+--repl_name--->
                       |                    (1)  |
                       '-| Connect Option |------'
 
   .---------------------.
   V                     |
>----+-----------------+-+-------------------------------------><
     '-at_server_group-'
 
Notes:
  1. See page Connect Option.
Element Purpose Restrictions Syntax
repl_name Name of the new replicate The replicate must be active and not in an exclusive replicate set. Long Identifiers
at_server_group List of database server groups on which to stop the replicate The database server groups must be defined for Enterprise Replication.

Usage

The cdr stop replicate command changes the state of the replicate repl_name to inactive (no capture, no send) on the replication servers in the specified at_server_group list. In addition, this command deletes any data in the send queue for the stopped replicate. You cannot stop replicates that have no participants.

Warning:
If there were any data in the send queue when you issued the cdr stop replicate command, or if any database activity occurs while the replicate is stopped, the replication servers become inconsistent. For information on resynchronizing replication servers, see Resynchronizing Data Among Replication Servers.

If you omit the at_server_group list, the replicate enters the inactive state on all database servers participating in the replicate and all send queues for the replicate are deleted.

If a replicate belongs to an exclusive replicate set, you cannot run cdr stop replicate to stop that individual replicate. You must use cdr stop replicateset to stop all replicates in the exclusive replicate set.

4If you run this command while direct synchronization, a 4repair job, or consistency checking with repair is in progress, that repair 4process will stop. (Consistency checking continues; only the repair stops.) 4Direct synchronization and consistency checking repair cannot be resumed; 4you must rerun cdr sync replicate or cdr check replicate command with the --repair option. 4Restart the repair job with the cdr start repair command.

Examples

The following command connects to the database server lake and stops the replicate aRepl on server groups g_server1 and g_server2:

cdr sto rep -c lake aRepl g_server1 g_server2

See Also

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]