Attributes
- 1 Overview
- 2 system settings
- 2.1 structure
- 2.2 Option by item
- 2.2.1 options
- 2.3 log
- 2.3.1 file_buffer
- 2.3.2 disk
- 2.3.3 archive
- 2.3.4 snapshot
- 2.3.5 userdata
- 3 resource settings
- 3.1 structure
- 3.2 Option by item
- 3.2.1 top option
- 3.2.2 nodes
- 3.2.3 connections
- 3.2.3.1 proxy
- 3.2.4 options
- 3.2.5 network
- 3.2.6 handlers
- 3.2.7 proxy
- 3.2.8 snapshot
- 3.2.9 userdata
- 4 Procedure for Applying Attributes
Overview
version
1.1-A5, 1.2-A1
XML notation
The configuration file content in XML format obtained via dump-xml is missing the userdata attribute.
tag name
Indicates that a tag exists at the parent of the property as follows,
Ex) tag1/tag2<tag1> <tag2></tag2> </tag1>
ATTRIBUTE
Use the attribute of the tag
TEXT
Use the text of that tag
Dynamic adjusting notation
NO
Properties that are not dynamically applied. Service restart in case of system configuration, Down/Up procedure in case of resource configuration is required
ADJUST
Attributes updated through configuration adjustment commands
ADJUST_EACH
After running a system configuration adjustment command, to apply it to a running resource, you must also run a configuration adjustment command for that resource.
RECONN
Attributes that require reconnection between nodes after executing a configuration adjustment command
PROMOTE
Attributes that require demote/promote after configuration reconciliation command is executed
range of numeric datatypes
32-bit integer: 0 to 2 31 -1 (2147483647)
system settings
structure
options
hostname
resources_path
database_path
enable_auto_up
rpc_address
rest_address
file_handle_limit
sync_hash_type
max_block_size
log
level
console
enable
file
enable
location
size_limit
size_limit
file_buffer
location
limit
warn
auto_recover
disk
minimum
period
archive
period
location
snapshot
type
userdata
Option by item
options
Settings used at program startup. It is not applied dynamically.
item | default value | setting range | unit | dynamic adjusting | Description | XML | note |
|---|---|---|---|---|---|---|---|
hostname |
| hostname | string | NO | If the host name to be used in FSR | ATTRIBUTE |
|
resources_path | . |
| directory path | NO |
It operates as a relative path based on the location of the path setting file where resource files are located. | paths/resources/TEXT |
|
database_path | ../db |
| directory path | NO |
It operates as a relative path based on the path setting file location for saving the resource state. | paths/database/TEXT |
|
enable_auto_up | true | true / false | Boolean | NO | If true, resource UP is performed at FSR start. | ATTRIBUTE | 1.1-A1 |
rpc_address | 0.0.0.0:5168 | IPv4 / IPv6 | {ip}:{port} | NO | gRPC Listen address | addresses/rpc/TEXT |
|
rest_address | 0.0.0.0:5167 | IPv4 / IPv6 | {ip}:{port} | NO | REST-API Listen address | addresses/rest/TEXT |
|
file_handle_limit | 128 | 32-bit integer | Count | ADJUST | Limit the number of concurrently open file handles for replication | ATTRIBUTE |
|
sync_hash_type | crc32 | crc32 / md5 / sha1 / sha256 / sha512 | hash type | ADJUST | The type of hash algorithm to use for synchronization | ATTRIBUTE | 0.9 |
max_block_size | One | 1 to 30 | MB | PROMOTE | Max Replicated I/O Block Size | ATTRIBUTE | 1.0-A2 |
log
Log-related settings.
item | default value | setting range | unit | dynamic adjusting | Description | XML | note | |
|---|---|---|---|---|---|---|---|---|
level | debug | debug / info / warn / error / fatal / panic | log level | ADJUST | log output level | ATTRIBUTE |
| |
console | enable | true | true / false | Boolean | ADJUST | log console output | console/ATTRIBUTE |
|
file | enable | true | true / false | Boolean | ADJUST | Whether to use log files | file/ATTRIBUTE |
|
location | ../logs |
| file path | ADJUST | Log file path and file name | file/TEXT |
| |
size_limit | 10 | 32-bit integer | MB | ADJUST |
Use the default value when setting the log file individual size limit to 0 | file/ATTRIBUTE |
| |
rotate_count | 10 | 32-bit integer | Count | ADJUST | Number of log files to retain when rolling, | file/ATTRIBUTE |
| |
file_buffer
File buffer settings.
item | default value | setting range | unit | dynamic adjusting | Description | XML | note |
|---|---|---|---|---|---|---|---|
location | ../buffer |
| directory path | NO | file buffer default location | TEXT |
|
limit | 1024M | 32-bit integer | MB | ADJUST_EACH | maximum size. When dynamically applied, the resource adjustment command must also be executed to apply. | ATTRIBUTE |
|
warn | 10M | 32-bit integer | MB | ADJUST_EACH |
Disabling Alerts when Usage Alert Threshold is set to 0 | ATTRIBUTE |
|
auto_recover | false | true / false | Boolean | - | Whether to automatically restart when the stop motion threshold is reached | ATTRIBUTE | unused |
disk
disk monitoring.
item | default value | setting range | unit | dynamic adjusting | Description | XML | note |
|---|---|---|---|---|---|---|---|
minimum | 1024 | 32-bit integer | MB | ADJUST | Stopping operation due to remaining disk capacity Threshold | ATTRIBUTE |
|
period | 30 | 32-bit integer | candle | ADJUST |
Disable monitoring when disk remaining capacity check cycle is set to 0 | ATTRIBUTE |
|
archive
Archive deleted/orphaned files
item | default value | setting range | unit | dynamic adjusting | Description | XML | note |
|---|---|---|---|---|---|---|---|
period | 0 | 32-bit integer | Storage period (day) | ADJUST | Deleted/orphaned files are | ATTRIBUTE |
|
location | ../archives |
| directory path | ADJUST | Set the storage location for deleted/orphaned files | TEXT |
|
snapshot
snapshot
item | default value | setting range | unit | dynamic adjusting | Description | XML | note |
|---|---|---|---|---|---|---|---|
type |