2021-05-21 13:47:08 +00:00
|
|
|
logger:
|
2021-10-11 01:11:36 +00:00
|
|
|
level: debug # logger level: one of "debug", "info" (default), "warn", "error", "dpanic", "panic", "fatal"
|
2021-06-01 18:24:01 +00:00
|
|
|
|
2021-06-01 11:12:25 +00:00
|
|
|
profiler:
|
2021-10-04 17:04:25 +00:00
|
|
|
address: 127.0.0.1:6060 # endpoint for Node profiling
|
|
|
|
shutdown_timeout: 15s # timeout for profiling HTTP server graceful shutdown
|
2021-06-01 18:24:01 +00:00
|
|
|
|
2021-06-01 11:20:03 +00:00
|
|
|
metrics:
|
2021-10-04 17:04:25 +00:00
|
|
|
address: 127.0.0.1:9090 # endpoint for Node metrics
|
2021-10-08 07:47:50 +00:00
|
|
|
shutdown_timeout: 15s # timeout for metrics HTTP server graceful shutdown
|
2021-06-01 18:24:01 +00:00
|
|
|
|
2021-06-01 17:42:57 +00:00
|
|
|
node:
|
2021-10-04 17:04:25 +00:00
|
|
|
key: ./wallet.key # path to a binary private key
|
2021-05-31 08:55:38 +00:00
|
|
|
wallet:
|
2021-10-04 17:04:25 +00:00
|
|
|
path: "./wallet.json" # path to a NEO wallet; ignored if key is presented
|
|
|
|
address: "NcpJzXcSDrh5CCizf4K9Ro6w4t59J5LKzz" # address of a NEO account in the wallet; ignored if key is presented
|
|
|
|
password: "password" # password for a NEO account in the wallet; ignored if key is presented
|
|
|
|
addresses: # list of addresses announced by Storage node in the Network map
|
2021-06-22 17:35:56 +00:00
|
|
|
- s01.neofs.devenv:8080
|
2021-06-24 12:41:19 +00:00
|
|
|
- /dns4/s02.neofs.devenv/tcp/8081
|
|
|
|
- grpc://127.0.0.1:8082
|
|
|
|
- grpcs://localhost:8083
|
2021-06-01 17:42:57 +00:00
|
|
|
attribute_0: "Price:11"
|
|
|
|
attribute_1: UN-LOCODE:RU MSK
|
2021-10-04 17:04:25 +00:00
|
|
|
relay: true # start Storage node in relay mode without bootstrapping into the Network map
|
|
|
|
persistent_state: # path to persistent state file of Storage node
|
2021-09-06 13:03:43 +00:00
|
|
|
path: /state
|
2021-11-28 12:06:07 +00:00
|
|
|
subnet:
|
|
|
|
exit_zero: true # toggle entrance to zero subnet (overrides corresponding attribute and occurrence in `entries`)
|
|
|
|
entries: # list of IDs of subnets to enter in a text format of NeoFS API protocol (overrides corresponding attributes)
|
|
|
|
- 123
|
|
|
|
- 456
|
|
|
|
- 789
|
2021-06-01 17:42:57 +00:00
|
|
|
|
2021-06-01 18:50:01 +00:00
|
|
|
grpc:
|
2021-10-04 17:04:25 +00:00
|
|
|
num: 2 # total number of listener endpoints
|
2021-06-22 17:25:18 +00:00
|
|
|
0:
|
2021-10-04 17:04:25 +00:00
|
|
|
endpoint: s01.neofs.devenv:8080 # endpoint for gRPC server
|
2021-06-22 17:25:18 +00:00
|
|
|
tls:
|
2021-11-30 10:07:46 +00:00
|
|
|
enabled: true # use TLS for a gRPC connection (min version is TLS 1.2)
|
2021-10-04 17:04:25 +00:00
|
|
|
certificate: /path/to/cert # path to TLS certificate
|
|
|
|
key: /path/to/key # path to TLS key
|
2021-06-22 17:25:18 +00:00
|
|
|
|
|
|
|
1:
|
2021-10-04 17:04:25 +00:00
|
|
|
endpoint: s02.neofs.devenv:8080 # endpoint for gRPC server
|
2021-06-22 17:25:18 +00:00
|
|
|
tls:
|
2021-10-04 17:04:25 +00:00
|
|
|
enabled: false # use TLS for a gRPC connection
|
2021-11-30 10:07:46 +00:00
|
|
|
2:
|
|
|
|
endpoint: s03.neofs.devenv:8080
|
|
|
|
tls:
|
|
|
|
enabled: true
|
|
|
|
use_insecure_crypto: true # allow using insecure ciphers with TLS 1.2
|
2021-06-01 18:50:01 +00:00
|
|
|
|
2021-06-01 13:28:30 +00:00
|
|
|
control:
|
2021-10-04 17:04:25 +00:00
|
|
|
authorized_keys: # list of hex-encoded public keys that have rights to use the Control Service
|
2021-06-01 13:28:30 +00:00
|
|
|
- 035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11
|
|
|
|
- 028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6
|
|
|
|
grpc:
|
2021-10-04 17:04:25 +00:00
|
|
|
endpoint: 127.0.0.1:8090 # endpoint that is listened by the Control Service
|
2021-06-01 13:28:30 +00:00
|
|
|
|
2021-10-04 17:04:25 +00:00
|
|
|
contracts: # side chain NEOFS contract script hashes; optional, override values retrieved from NNS contract
|
2021-06-01 12:51:28 +00:00
|
|
|
balance: 5263abba1abedbf79bb57f3e40b50b4425d2d6cd
|
|
|
|
container: 5d084790d7aa36cea7b53fe897380dab11d2cd3c
|
|
|
|
netmap: 0cce9e948dca43a6b592efe59ddb4ecb89bdd9ca
|
|
|
|
reputation: 441995f631c1da2b133462b71859494a5cd45e90
|
2021-08-24 12:59:28 +00:00
|
|
|
proxy: ad7c6b55b737b696e5c82c85445040964a03e97f
|
2021-06-01 12:51:28 +00:00
|
|
|
|
2021-06-01 14:33:45 +00:00
|
|
|
morph:
|
2021-10-04 17:04:25 +00:00
|
|
|
dial_timeout: 30s # timeout for side chain NEO RPC client connection
|
|
|
|
disable_cache: true # do not use TTL cache for side chain GET operations
|
|
|
|
rpc_endpoint: # side chain NEO RPC endpoints; are shuffled and used one by one until the first success
|
2021-06-01 14:33:45 +00:00
|
|
|
- https://rpc1.morph.fs.neo.org:40341
|
|
|
|
- https://rpc2.morph.fs.neo.org:40341
|
2021-10-04 17:04:25 +00:00
|
|
|
notification_endpoint: # side chain NEO RPC notification endpoints; are shuffled and used only the first non-error one
|
2021-06-01 14:33:45 +00:00
|
|
|
- wss://rpc1.morph.fs.neo.org:40341/ws
|
|
|
|
- wss://rpc2.morph.fs.neo.org:40341/ws
|
2021-12-15 18:03:06 +00:00
|
|
|
max_connections_per_host: 11 # maximum of open connections per one host
|
2021-06-01 14:33:45 +00:00
|
|
|
|
2021-10-04 17:04:25 +00:00
|
|
|
mainchain: # DEPRECATED section, is not used and not read
|
|
|
|
dial_timeout: 30s # timeout for main chain NEO RPC client connection
|
|
|
|
rpc_endpoint: # main chain NEO RPC endpoints; are shuffled and used one by one until the first success
|
2021-06-01 14:47:19 +00:00
|
|
|
- https://rpc1.n3.nspcc.ru:30341
|
|
|
|
- https://rpc2.n3.nspcc.ru:30341
|
|
|
|
|
2021-06-02 12:20:05 +00:00
|
|
|
apiclient:
|
2021-10-04 17:04:25 +00:00
|
|
|
dial_timeout: 15s # timeout for NEOFS API client connection
|
2021-06-02 12:20:05 +00:00
|
|
|
|
2021-06-02 12:23:41 +00:00
|
|
|
policer:
|
2021-10-04 17:04:25 +00:00
|
|
|
head_timeout: 15s # timeout for the Policer HEAD remote operation
|
2021-06-02 12:23:41 +00:00
|
|
|
|
2021-06-02 12:26:51 +00:00
|
|
|
replicator:
|
2021-10-04 17:04:25 +00:00
|
|
|
put_timeout: 15s # timeout for the Replicator PUT remote operation
|
2021-06-02 12:26:51 +00:00
|
|
|
|
2021-06-02 12:31:29 +00:00
|
|
|
object:
|
|
|
|
put:
|
2021-10-04 17:04:25 +00:00
|
|
|
pool_size_remote: 100 # number of async workers for remote PUT operations
|
2021-06-02 12:31:29 +00:00
|
|
|
|
2021-06-01 18:24:01 +00:00
|
|
|
storage:
|
2021-11-12 10:44:59 +00:00
|
|
|
# note: shard configuration can be omitted for relay node (see `node.relay`)
|
2021-10-08 13:25:56 +00:00
|
|
|
shard_pool_size: 15 # size of per-shard worker pools used for PUT operations
|
2021-10-04 17:04:25 +00:00
|
|
|
shard_num: 2 # total number of shards
|
2021-10-18 13:38:04 +00:00
|
|
|
default: # section with the default shard parameters
|
2021-10-18 14:03:09 +00:00
|
|
|
resync_metabase: true # sync metabase with blobstore on start, expensive, leave false until complete understanding
|
2021-10-18 13:38:04 +00:00
|
|
|
|
|
|
|
use_write_cache: true # use write-cache
|
|
|
|
|
|
|
|
writecache:
|
2021-10-18 14:17:14 +00:00
|
|
|
memcache_capacity: 2147483648 # approximate RAM usage limit for "small" objects, bytes
|
2021-10-18 14:05:42 +00:00
|
|
|
small_object_size: 16384 # size threshold for "small" objects which are cached in key-value DB, not in FS, bytes
|
2021-10-18 14:12:03 +00:00
|
|
|
max_object_size: 134217728 # size threshold for "big" objects which bypass write-cache and go to the storage directly, bytes
|
2021-10-18 13:38:04 +00:00
|
|
|
workers_number: 30 # number of write-cache flusher threads
|
|
|
|
|
|
|
|
metabase:
|
|
|
|
perm: 0644 # permissions for metabase files(directories: +x for current user and group)
|
|
|
|
|
|
|
|
blobstor:
|
|
|
|
compress: false # turn on/off zstd(level 3) compression of stored objects
|
|
|
|
perm: 0644 # permissions for blobstor files(directories: +x for current user and group)
|
2021-10-18 14:20:03 +00:00
|
|
|
depth: 5 # max depth of object tree storage in FS
|
2021-10-18 14:05:42 +00:00
|
|
|
small_object_size: 102400 # size threshold for "small" objects which are cached in key-value DB, not in FS, bytes
|
2021-10-18 13:38:04 +00:00
|
|
|
|
|
|
|
blobovnicza:
|
|
|
|
size: 4194304 # approximate size limit of single blobovnicza instance, total size will be: size*width^(depth+1), bytes
|
2021-10-18 14:20:03 +00:00
|
|
|
depth: 1 # max depth of object tree storage in key-value DB
|
|
|
|
width: 4 # max width of object tree storage in key-value DB
|
2021-10-18 14:08:01 +00:00
|
|
|
opened_cache_capacity: 50 # maximum number of opened database files
|
2021-10-18 13:38:04 +00:00
|
|
|
|
|
|
|
gc:
|
|
|
|
remover_batch_size: 200 # number of objects to be removed by the garbage collector
|
|
|
|
remover_sleep_interval: 5m # frequency of the garbage collector invocation
|
|
|
|
|
2021-06-01 18:24:01 +00:00
|
|
|
shard:
|
|
|
|
0:
|
2021-10-18 14:03:09 +00:00
|
|
|
resync_metabase: false # sync metabase with blobstore on start, expensive, leave false until complete understanding
|
2021-09-13 13:58:37 +00:00
|
|
|
|
2021-10-04 17:04:25 +00:00
|
|
|
use_write_cache: false # use write-cache
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
writecache:
|
2021-10-04 17:04:25 +00:00
|
|
|
path: tmp/0/cache # write-cache root directory
|
2021-10-18 14:29:30 +00:00
|
|
|
capacity: 3221225472 # approximate write-cache total size, bytes
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
metabase:
|
2021-10-04 17:04:25 +00:00
|
|
|
path: tmp/0/meta # metabase path
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
blobstor:
|
2021-10-04 17:04:25 +00:00
|
|
|
path: tmp/0/blob # blobstor path
|
|
|
|
compress: true # turn on/off zstd(level 3) compression of stored objects
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
gc:
|
2021-10-04 17:04:25 +00:00
|
|
|
remover_batch_size: 150 # number of objects to be removed by the garbage collector
|
|
|
|
remover_sleep_interval: 2m # frequency of the garbage collector invocation
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
1:
|
|
|
|
writecache:
|
2021-10-04 17:04:25 +00:00
|
|
|
path: tmp/1/cache # write-cache root directory
|
2021-10-18 14:29:30 +00:00
|
|
|
capacity: 4294967296 # approximate write-cache total size, bytes
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
metabase:
|
2021-10-04 17:04:25 +00:00
|
|
|
path: tmp/1/meta # metabase path
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
blobstor:
|
2021-10-04 17:04:25 +00:00
|
|
|
path: tmp/1/blob # blobstor path
|