>>-cdr change replicateset--+-------------------------+---------> | (1) | '-| Connect Option |------' .-----------. V | >--+- --add----+--repl_set----replicate-+---------------------->< '- --delete-'
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
repl_set | Name of the replicate set to change | The replicate set must exist. | Long Identifiers |
replicate | Name of the replicates to add to or delete from the set | The replicates must exist. | Long Identifiers |
The following table describes the options to cdr change replicateset
Long Form | Short Form | Meaning |
---|---|---|
--add | -a | Add replicates to a replicate set. |
--delete | -d | Remove replicates from a replicate set. |
Use this command to add replicates to a replicate set or to remove replicates from an exclusive or non-exclusive replicate set:
If you remove a replicate from an exclusive replicate set, the replicate retains the properties of the replicate set at the time of removal (not the state the replicate was in when it joined the exclusive replicate set).
When you add or remove a replicate from an exclusive replicate set that is suspended or that is defined with a frequency interval, Enterprise Replication transmits all the data in the queue for the replicates in the replicate set up to the point when you added or removed the replicate. For more information, see Suspending a Replicate Set and Frequency Options.
The following example adds the replicates house and barn to replicate set building_set:
cdr change replicateset --add building_set house barn
The following example removes the replicates teepee and wigwam from replicate set favorite_set:
cdr change replset --delete favorite_set teepee wigwam