>>-cdr modify replicate--+-------------------------+------------> | (1) | '-| Connect Option |------' .--------------------------------. V | >--+-----------+----+----------------------------+-+------------> '- --name=n-' | (2) | +-| Conflict Options |-------+ | (3) | +-| Scope Options |----------+ | (4) | +-| Frequency Options |------+ | (5) | '-| Special Options |--------' .-----------------. V | >--replicate----+-------------+-+------------------------------>< '-participant-'
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
participant | Name of a participant in the replication | The participant must be a member of the replicate. | Participant |
replicate | Name of the replicate to modify | The replicate name must exist. | Long Identifiers |
The following table describes the option to cdr modify replicate.
Long Form | Short Form | Meaning |
---|---|---|
--name=n | -n n | Removes the name verification attribute from a master replicate. For more information, see Creating Strict Master Replicates. |
The cdr modify replicate command modifies the attributes of a replicate or of one or more participants in the replicate. You can also change the mode of a participant. If the command does not specify participants, the changes apply to all participants in the replicate.
For attribute information, see cdr define replicate.
To add or delete a participant, see cdr change replicate.
If you change the conflict-resolution rule with cdr modify replicate, you must also specify the scope with the---scope option, even if you are not changing the scope.
The attributes for cdr modify replicate are the same as the attributes for cdr define replicate, with the following exceptions:
However, you can change from time stamp resolution to SPL routine resolution or from SPL routine resolution to time stamp.
Special Options: .---------------------------. V | |----+-----------------------+-+--------------------------------| +- --ats--+-y-+---------+ | '-n-' | +- --ris--+-y-+---------+ | '-n-' | +- --firetrigger--+-y-+-+ | '-n-' | '- --fullrow--+-y-+-----' '-n-'
The following table describes the special options to cdr modify replicate. For more information on these options, see Special Options.
The following example modifies the frequency attributes of replicate smile to replicate every five hours:
cdr modify repl --every=300 smile
The following example modifies the frequency attributes of replicate smile to replicate daily at 1:00 A.M.:
cdr modify repl -a 01:00 smile
The following example modifies the frequency attributes of replicate smile to replicate on the last day of every month at 5:00 A.M., to generate ATS files, and not to fire triggers:
cdr modify repl -a L.5:00 -A y -T n smile
The following example changes the mode of the first participant listed to receive-only and the mode of the second to primary:
cdr mod repl smile "R db1@server1:antonio.table1" \ "P db2@server2:carlo.table2"