Home | Previous Page | Next Page   Appendix A. Command-Line Utility Reference >

cdr modify server

The cdr modify server command modifies the Enterprise Replication attributes of a database server.

Syntax

Read syntax diagramSkip visual syntax diagram                      .-----------------------------.
                      V                             |
>>-cdr modify server----+-------------------------+-+----------->
                        |                    (1)  |
                        +-| Connect Option |------+
                        +- --idle=timeout---------+
                        +- --mode--+-P-+----------+
                        |          '-R-'          |
                        +- --ats=ats_dir----------+
                        '- --ris=ris_dir----------'
 
>--server_group------------------------------------------------><
 
Notes:
  1. See page Connect Option.
Element Purpose Restrictions Syntax
server_group Name of a database server group to modify The database server group must be defined in Enterprise Replication.
timeout Idle time-out for this server Must be an integer number of minutes. 0 indicates no time-out. The maximum value is 32,767. Integer.
ats_dir Name of Aborted Transaction Spooling directory Must be a full pathname. The path for the directory can be no longer than 256 bytes. Follows naming conventions on your operating system.
ris_dir Name of the Row Information Spooling directory Must be a full pathname. The path for the directory can be no longer than 256 bytes. Follows naming conventions on your operating system.

Usage

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.

Examples

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

See Also

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]