cdr modify replicateset
The cdr modify replicateset command modifies all the replicates in a replicate set.
Syntax
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
repl_set | Name of replicate set to modify. | The replicate set must exist. | Long Identifiers |
Usage
The cdr modify replicateset command modifies the attributes of all the replicates in the replicate set repl_set. To add or delete replicates from a replicate set, use the cdr change replicateset command.
You cannot change whether a replicate set is exclusive or not.
When you run the cdr modify replicateset command, an event alarm with a class ID of 64 is generated, if that event alarm is enabled.
You can run this command from within an SQL statement by using the SQL administration API.
Examples
The following example connects
to the default server (the server specified by the ONEDB_SERVER environment
variable) and modifies the replicate set sales_set to process
replication data every hour:
cdr mod replset --every=60 sales_set