Deleting a Replication Server

You can remove from a database server and then remove the database server from an domain.

About this task

Run the cdr delete server command two times to remove from a database server, and then remove the database server from an domain. The first time, run the command on the server you want to remove from. The second time, connect to a different server in the domain and run the command, specifying the server you ran the first command on.

To remove from an inactive database server, use the cdr delete server command with the --force option.

To restart on a disabled database server, define the server again with the cdr define server command and then synchronize data. Row history is deleted when a server has removed, so the history is not recoverable if is restarted.

Important: If you are creating a replicate to replace the one you deleted, use the cdr check queue --qname=ctrlq command to make sure that the delete operation propagated to all the servers.

Examples

To remove from local database server reynolds, and then remove database server reynolds from the domain it shares with database server stimpson, run the following commands:
cdr delete server reynolds
cdr delete server --connect=stimpson reynolds

The first command removes from the local database server, reynolds. The second command connects to database server stimpson, which is another server in the domain, and then removes database server reynolds from the shared domain.