.-----------------------------. V | >>-cdr modify server----+-------------------------+-+-----------> | (1) | +-| Connect Option |------+ +- --idle=timeout---------+ +- --mode--+-P-+----------+ | '-R-' | +- --ats=ats_dir----------+ '- --ris=ris_dir----------' >--server_group------------------------------------------------><
The cdr modify server command modifies the replication server server_group.
The following table describes the options to cdr modify server.
Long Form | Short Form | Meaning |
---|---|---|
--ats | -A | Activates aborted-transaction spooling for replicate transactions that fail to be applied to the target database. For more information, see Monitoring and Troubleshooting Enterprise Replication. |
--idle | -i | Causes an inactive connection to be terminated after timeout minutes. If time-out is 0, the connection does not time out. The default value is 0. |
--mode | -m | Changes the mode of all replicates using this server to primary (P) or to receive-only (R). |
--ris | -R | Activates row-information spooling for replicate-row data that fails conflict resolution or encounters replication-order problems. For more information, see Monitoring and Troubleshooting Enterprise Replication. |
The following example connects to the database server paris and modifies the idle time-out of server group g_rome to 10 minutes. ATS files go into the directory /cdr/atsdir.
cdr modify server -c paris -i 10 -A /cdr/atsdir g_rome
The following example connects to the default database server and sets the modes of all participants on g_geometrix to primary:
cdr mod ser -m P g_geometrix