rs_configure

Description

Displays or changes Replication Server configuration parameters that affect the local Replication Server.

Syntax

rs_configure [config_param [, value]]

Parameters

config_param

a string of characters that corresponds to a configuration parameter name. The string must match an entire parameter name or the first part of a name.

value

a setting for a configuration parameter that matches config_param. value is a character string.

Examples

Example 1

Displays information for configuration parameters that affect the local Replication Server.

rs_configure
Config Name              Config Value           Run Value
 ------------------------ --------------------   ------------------
 cm_max_connections       64                     64
 current_rssd_version     1150                   1150
 fstr_cachesize           200000                 200000
 id_server                ost_cardhu_10          ost_cardhu_10
 init_sqm_write_delay     1000                   1000
 init_sqm_write_max_delay 10000                  10000
 md_source_memory_pool    100000                 100000
 memory_limit             20                     20
 memory_max               3                      3
 minimum_rssd_version     1150                   1150
 num_client_connections   30                     30
 num_concurrent_subs      10                     10
 num_msgqueues            178                    178
 num_msgs                 45568                  45568
 num_mutexes              128                    128
 num_stable_queues        32                     32
 num_threads              50                     50
 oserver                  ost_cardhu_10          ost_cardhu_10
 password_encryption      0                      0
 queue_dump_buffer_size   1000                   1000
 rec_daemon_sleep_time    120                    120
 rssd_error_class         rs_sqlserver_error_cla rs_sqlserver_error_class
 sqm_warning_thr1         75                     75
 sqm_warning_thr2         90                     90
 sqm_warning_thr_ind      70                     70
 sqt_max_cache_size       131072                 131072
 sqt_max_prs_size         262144                 262144
 sre_num_bitmaps          1000                   1000
 sre_reserve              0                      0
 sts_cachesize            100                    100
 sub_daemon_sleep_time    120                    120

Example 2

Sets a new value for the specified configuration parameter. Note that the run value does not change to match the new configured value until you restart the Replication Server.

rs_configure num_client_connections, '32'
Configuration parameter changed.
 
 Config Name                Config Value         Run Value
 -------------------------- -------------------- --------------------
 num_client_connections     32                   30
 
 You must reboot the replication server for this change to take effect.
 
 (return status = 0)

Example 3

Displays the value for the specified configuration parameter. As shown in this example, if you previously changed the num_client_connections parameter, without having restarted the Replication Server in the meantime, you would see a difference between the configured value and the run value.

rs_configure num_client_connections
Config Name              Config Value           Run Value
 ------------------------ --------------------   ------------------
 num_client_connections   32                     30
 
 Description
 ----------------------------------------------------------------------
 Max number of incoming client connections allowed. 0 means Open Server default value.
 
 (return status = 0)

Usage

See also

configure connection, configure logical connection, configure route