>>-cdr stop replicate--+-------------------------+--repl_name---> | (1) | '-| Connect Option |------' .---------------------. V | >----+-----------------+-+------------------------------------->< '-at_server_group-'
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. |
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.
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.
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