Dynamically Modifying Configuration Parameters for a Replication Server

You can alter the settings for Enterprise Replication configuration parameters and environment variables on a replication server while replication is active.

About this task

Use the following commands to dynamically update values of most Enterprise Replication configuration parameters:

cdr add onconfig
Adds a value. This option is available only for configuration parameters and environment variables that allow multiple values.
cdr change onconfig
Replaces the existing value. This option is available for all Enterprise Replication configuration parameters and environment variables.
cdr remove onconfig
Removes a specific value. This option is available only for configuration parameters and environment variables that allow multiple values.

The commands change configuration parameters in the onconfig file. To update environment variables, use the CDR_ENV configuration parameter.

To dynamically update the value of the CDR_DELAY_PURGE_DTC configuration parameter, use the onmode -wf command.

The following table shows which changes are valid for Enterprise Replication configuration parameters.

Table 1. Options for dynamically updating Enterprise Replication configuration parameters
Configuration Parameter cdr add onconfig cdr change onconfig cdr remove onconfig
CDR_APPLY No No No
CDR_DBSPACE No Yes No
CDR_DSLOCKWAIT No Yes No
CDR_ENV CDR_ALARMS No No No
CDR_ENV CDR_LOGDELTA No Yes No
CDR_ENV CDR_PERFLOG No Yes No
CDR_ENV CDR_RMSCALEFACT No Yes No
CDR_ENV CDR_ROUTER No Yes No
CDR_EVALTHREADS No Yes No
CDR_LOG_LAG_ACTION Yes Yes Yes
CDR_LOG_STAGING_MAXSIZE Yes Yes Yes
CDR_MAC_DYNAMIC_LOGS No Yes No
CDR_NIFCOMPRESS No Yes No
CDR_QDATA_SBSPACE Yes Yes Yes
CDR_QUEUEMEM No Yes No
CDR_SERIAL No Yes No
CDR_SUPPRESS_ATSRISWARN Yes Yes Yes
ENCRYPT_CDR No Yes No
ENCRYPT_CIPHERS No Yes No
ENCRYPT_MAC Yes Yes Yes
ENCRYPT_MACFILE Yes Yes Yes
ENCRYPT_SWITCH No Yes No

You can view the setting of Enterprise Replication configuration parameters and environment variables with the onstat -g cdr config command.