forked from TrueCloudLab/frostfs-node
[#1255] node/config: Add persistent storage
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
016eaa25f3
commit
9cda3121ab
5 changed files with 37 additions and 5 deletions
|
@ -15,6 +15,7 @@ NEOFS_NODE_ADDRESSES="s01.neofs.devenv:8080 /dns4/s02.neofs.devenv/tcp/8081 grpc
|
|||
NEOFS_NODE_ATTRIBUTE_0=Price:11
|
||||
NEOFS_NODE_ATTRIBUTE_1="UN-LOCODE:RU MSK"
|
||||
NEOFS_NODE_RELAY=true
|
||||
NEOFS_NODE_PERSISTENT_SESSIONS_PATH=/sessions
|
||||
NEOFS_NODE_PERSISTENT_STATE_PATH=/state
|
||||
NEOFS_NODE_SUBNET_EXIT_ZERO=true
|
||||
NEOFS_NODE_SUBNET_ENTRIES=123 456 789
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
"attribute_0": "Price:11",
|
||||
"attribute_1": "UN-LOCODE:RU MSK",
|
||||
"relay": true,
|
||||
"persistent_sessions": {
|
||||
"path": "/sessions"
|
||||
},
|
||||
"persistent_state": {
|
||||
"path": "/state"
|
||||
},
|
||||
|
|
|
@ -23,8 +23,10 @@ node:
|
|||
attribute_0: "Price:11"
|
||||
attribute_1: UN-LOCODE:RU MSK
|
||||
relay: true # start Storage node in relay mode without bootstrapping into the Network map
|
||||
persistent_state: # path to persistent state file of Storage node
|
||||
path: /state
|
||||
persistent_sessions:
|
||||
path: /sessions # path to persistent session tokens file of Storage node
|
||||
persistent_state:
|
||||
path: /state # path to persistent state file of Storage node
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue