bringup/storage/storage.yml

104 lines
2.6 KiB
YAML

# Logger section
logger:
level: debug # Minimum enabled logging level
# Profiler section
pprof:
enabled: true
address: storageNODE_ID:6060 # Server address
shutdown_timeout: 15s # Timeout for profiling HTTP server graceful shutdown
# Application metrics section
prometheus:
enabled: true
address: storageNODE_ID:9090 # Server address
shutdown_timeout: 15s # Timeout for metrics HTTP server graceful shutdown
# Morph section
morph:
dial_timeout: 30s # Timeout for side chain NEO RPC client connection
rpc_endpoint: # Side chain NEO RPC endpoints
- address: ws://morph1:30333/ws
priority: 0
- address: ws://morph2:30333/ws
priority: 0
- address: ws://morph3:30333/ws
priority: 0
- address: ws://morph4:30333/ws
priority: 0
- address: ws://morph5:30333/ws
priority: 1
- address: ws://morph6:30333/ws
priority: 1
- address: ws://morph7:30333/ws
priority: 1
# Common storage node settings
node:
wallet:
path: wallet/storageNODE_ID.json
password: s
addresses:
- grpc://storage1:8802
- grpc://storage2:8802
- grpc://storage3:8802
- grpc://storage4:8802
- grpc://storage5:8802
- grpc://storage6:8802
- grpc://storage7:8802
attribute_0: "User-Agent:FrostFS/0.34"
attribute_1: "Price:NODE_PRICE"
persistent_state:
path: data/storageNODE_ID.state
grpc:
- endpoint: storageNODE_ID:8802
tls:
enabled: false
# Tree section
tree:
enabled: true
# Storage engine configuration
storage:
shard:
0:
writecache:
enabled: true
path: data/storageNODE_ID/wc0 # Write-cache root directory
metabase:
path: data/storageNODE_ID/meta0 # Path to the metabase
blobstor:
- type: blobovnicza
path: data/storageNODE_ID/blobovnicza0 # Blobovnicza root directory
depth: 2
width: 4
- type: fstree
path: data/storageNODE_ID/fstree0 # FSTree root directory
depth: 2
pilorama:
path: data/storageNODE_ID/pilorama0 # Path to the pilorama database
1:
writecache:
enabled: true
path: data/storageNODE_ID/wc1 # Write-cache root directory
metabase:
path: data/storageNODE_ID/meta1 # Path to the metabase
blobstor:
- type: blobovnicza
path: data/storageNODE_ID/blobovnicza1 # Blobovnicza root directory
depth: 2
width: 4
- type: fstree
path: data/storageNODE_ID/fstree1 # FSTree root directory
depth: 2
pilorama:
path: data/storageNODE_ID/pilorama1 # Path to the pilorama database