Table of Contents |
---|
...
- Connections: Set the DRX inbound IP and outbound IP addresses to work with replication.
- Buffers: Set buffer size per resource (channel)
- memlimit
- rx-memlimit
- Compression/Encryption: Set compression/encryption features ON/OFF
...
Info | ||
---|---|---|
| ||
|
Info | ||
---|---|---|
| ||
|
Local configuration
- With DRX installed and running on node1 and node2 local machines, the contents of "bsr.conf" on node1 and node2 are the same on both nodes.
- The following is an example of a 1:1 replication configuration and a 1:2 replication configuration.
- Note that the respective port information must be exceptionally handled by the firewall and configured so that there are no redundant ports.
...
type | property | default value | description |
---|---|---|---|
normal | lang | english | DRX language settings file
|
base-dir | DRX install path | Default path where DRX is installed | |
bsr-conf-path | Windows:
Linux:
| Specify the path to bsr.conf | |
fsr-conf-path | Windows:
Linux:
| Specify the path to fsr.conf | |
connect-timeout | 10 | Timeout value in seconds after connecting to a remote DRX, while sending and receiving initialization packets | |
bwlimit | 0 (unlimited) | Bandwidth limit on sending (incoming bandwidth controlled by bwlimit value on remote DRX) | |
ip-verification | on | on: Allow only the IP connections set in dbd.conf. | |
ulimit-open-files-count | 0 | Applies to Linux only and sets the number of files the process can open. Values : -1 (10240), 0 (same as system setting), Specify yourself (1-65536) | |
ipc-port | 9100 | Specify internal ipc port values for the CLI to control the drx (supported in version 1.3.1 and later). | |
log | loglevel-file | info | Specify the log level that is written as a file
|
loglevel-console | info | Specify the log level that is output to the screen in foreground mode | |
logfile-max-size | 10M | File size limit per log file | |
logfile-max-count | 10 | Maximum number of log files kept by type | |
performance-log | off | Whether to save performance statistics log | |
compress/encrypt | block-size | 63K | Block size to be used for compression/encryption
|
min-raw-block-size | 1K | Minimal packet size to send as plain text even when compression/encryption is set. | |
process-thread-count | -1 (auto) | Number of threads to use when processing multi-thread packets. ※ It is intended for tuning and debugging, so it is not recommended to make any changes. |
...
drx.conf sample
drx.conf |
---|
# BSR Proxy configuration # Default path where DRX is installed # Specify the path to bsr.conf # Bandwidth limit on sending # Block size to be used for compression/encryption # Minimal packet size to send as plain text # Timeout value # Confirmation of binding IP that listens for connection # log levels: off < trace < debug < info < warning < error < critical # Specify the log level that is written as a file # File size limit per log file # Maximum number of log files kept by type # Whether to save performance statistics log # multi-threaded packet processing. default is auto(-1), disable to 0 |
...