2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_LOGGER_LEVEL=debug
|
2021-06-01 11:12:25 +00:00
|
|
|
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_PPROF_ENABLED=true
|
|
|
|
FROSTFS_PPROF_ADDRESS=localhost:6060
|
|
|
|
FROSTFS_PPROF_SHUTDOWN_TIMEOUT=15s
|
2023-02-01 07:21:17 +00:00
|
|
|
FROSTFS_PPROF_BLOCK_RATE=10000
|
|
|
|
FROSTFS_PPROF_MUTEX_RATE=10000
|
2021-06-01 11:20:03 +00:00
|
|
|
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_PROMETHEUS_ENABLED=true
|
|
|
|
FROSTFS_PROMETHEUS_ADDRESS=localhost:9090
|
|
|
|
FROSTFS_PROMETHEUS_SHUTDOWN_TIMEOUT=15s
|
2021-06-01 18:24:01 +00:00
|
|
|
|
2021-06-01 17:42:57 +00:00
|
|
|
# Node section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_NODE_KEY=./wallet.key
|
|
|
|
FROSTFS_NODE_WALLET_PATH=./wallet.json
|
|
|
|
FROSTFS_NODE_WALLET_ADDRESS=NcpJzXcSDrh5CCizf4K9Ro6w4t59J5LKzz
|
|
|
|
FROSTFS_NODE_WALLET_PASSWORD=password
|
|
|
|
FROSTFS_NODE_ADDRESSES="s01.frostfs.devenv:8080 /dns4/s02.frostfs.devenv/tcp/8081 grpc://127.0.0.1:8082 grpcs://localhost:8083"
|
|
|
|
FROSTFS_NODE_ATTRIBUTE_0=Price:11
|
|
|
|
FROSTFS_NODE_ATTRIBUTE_1="UN-LOCODE:RU MSK"
|
|
|
|
FROSTFS_NODE_RELAY=true
|
|
|
|
FROSTFS_NODE_PERSISTENT_SESSIONS_PATH=/sessions
|
|
|
|
FROSTFS_NODE_PERSISTENT_STATE_PATH=/state
|
|
|
|
FROSTFS_NODE_NOTIFICATION_ENABLED=true
|
|
|
|
FROSTFS_NODE_NOTIFICATION_ENDPOINT=tls://localhost:4222
|
|
|
|
FROSTFS_NODE_NOTIFICATION_TIMEOUT=6s
|
|
|
|
FROSTFS_NODE_NOTIFICATION_DEFAULT_TOPIC=topic
|
|
|
|
FROSTFS_NODE_NOTIFICATION_CERTIFICATE=/cert/path
|
|
|
|
FROSTFS_NODE_NOTIFICATION_KEY=/key/path
|
|
|
|
FROSTFS_NODE_NOTIFICATION_CA=/ca/path
|
2021-06-01 18:24:01 +00:00
|
|
|
|
2022-07-26 09:47:19 +00:00
|
|
|
# Tree service section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_TREE_ENABLED=true
|
|
|
|
FROSTFS_TREE_CACHE_SIZE=15
|
|
|
|
FROSTFS_TREE_REPLICATION_CHANNEL_CAPACITY=32
|
|
|
|
FROSTFS_TREE_REPLICATION_WORKER_COUNT=32
|
|
|
|
FROSTFS_TREE_REPLICATION_TIMEOUT=5s
|
|
|
|
FROSTFS_TREE_SYNC_INTERVAL=1h
|
2023-07-12 12:37:35 +00:00
|
|
|
FROSTFS_TREE_AUTHORIZED_KEYS="0397d207ea77909f7d66fa6f36d08daae22ace672be7ea4f53513484dde8a142a0 02053819235c20d784132deba10bb3061629e3a5c819a039ef091841d9d35dad56"
|
2022-07-26 09:47:19 +00:00
|
|
|
|
2021-06-01 18:50:01 +00:00
|
|
|
# gRPC section
|
2021-06-22 17:25:18 +00:00
|
|
|
## 0 server
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_GRPC_0_ENDPOINT=s01.frostfs.devenv:8080
|
2021-06-22 17:25:18 +00:00
|
|
|
### TLS config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_GRPC_0_TLS_ENABLED=true
|
|
|
|
FROSTFS_GRPC_0_TLS_CERTIFICATE=/path/to/cert
|
|
|
|
FROSTFS_GRPC_0_TLS_KEY=/path/to/key
|
2021-06-22 17:25:18 +00:00
|
|
|
|
|
|
|
## 1 server
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_GRPC_1_ENDPOINT=s02.frostfs.devenv:8080
|
2021-06-22 17:25:18 +00:00
|
|
|
### TLS config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_GRPC_1_TLS_ENABLED=false
|
2021-06-01 18:50:01 +00:00
|
|
|
|
2021-06-01 13:28:30 +00:00
|
|
|
# Control service section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_CONTROL_AUTHORIZED_KEYS="035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11 028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6"
|
|
|
|
FROSTFS_CONTROL_GRPC_ENDPOINT=localhost:8090
|
2021-06-01 13:28:30 +00:00
|
|
|
|
2021-06-01 12:51:28 +00:00
|
|
|
# Contracts section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_CONTRACTS_BALANCE=5263abba1abedbf79bb57f3e40b50b4425d2d6cd
|
|
|
|
FROSTFS_CONTRACTS_CONTAINER=5d084790d7aa36cea7b53fe897380dab11d2cd3c
|
|
|
|
FROSTFS_CONTRACTS_NETMAP=0cce9e948dca43a6b592efe59ddb4ecb89bdd9ca
|
|
|
|
FROSTFS_CONTRACTS_PROXY=ad7c6b55b737b696e5c82c85445040964a03e97f
|
2021-06-01 12:51:28 +00:00
|
|
|
|
2021-06-01 14:33:45 +00:00
|
|
|
# Morph chain section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_MORPH_DIAL_TIMEOUT=30s
|
|
|
|
FROSTFS_MORPH_CACHE_TTL=15s
|
|
|
|
FROSTFS_MORPH_SWITCH_INTERVAL=3m
|
|
|
|
FROSTFS_MORPH_RPC_ENDPOINT_0_ADDRESS="wss://rpc1.morph.frostfs.info:40341/ws"
|
|
|
|
FROSTFS_MORPH_RPC_ENDPOINT_0_PRIORITY=0
|
|
|
|
FROSTFS_MORPH_RPC_ENDPOINT_1_ADDRESS="wss://rpc2.morph.frostfs.info:40341/ws"
|
|
|
|
FROSTFS_MORPH_RPC_ENDPOINT_1_PRIORITY=2
|
2021-06-01 14:33:45 +00:00
|
|
|
|
2021-06-02 12:20:05 +00:00
|
|
|
# API Client section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_APICLIENT_DIAL_TIMEOUT=15s
|
|
|
|
FROSTFS_APICLIENT_STREAM_TIMEOUT=20s
|
|
|
|
FROSTFS_APICLIENT_RECONNECT_TIMEOUT=30s
|
|
|
|
FROSTFS_APICLIENT_ALLOW_EXTERNAL=true
|
2021-06-02 12:20:05 +00:00
|
|
|
|
2021-06-02 12:23:41 +00:00
|
|
|
# Policer section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_POLICER_HEAD_TIMEOUT=15s
|
2021-06-02 12:23:41 +00:00
|
|
|
|
2021-06-02 12:26:51 +00:00
|
|
|
# Replicator section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_REPLICATOR_PUT_TIMEOUT=15s
|
|
|
|
FROSTFS_REPLICATOR_POOL_SIZE=10
|
2021-06-02 12:26:51 +00:00
|
|
|
|
2021-06-02 12:31:29 +00:00
|
|
|
# Object service section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_OBJECT_PUT_POOL_SIZE_REMOTE=100
|
2023-02-22 08:31:50 +00:00
|
|
|
FROSTFS_OBJECT_PUT_POOL_SIZE_LOCAL=200
|
2023-07-28 12:44:35 +00:00
|
|
|
FROSTFS_OBJECT_PUT_SKIP_SESSION_TOKEN_ISSUER_VERIFICATION=true
|
2023-02-08 14:28:38 +00:00
|
|
|
FROSTFS_OBJECT_DELETE_TOMBSTONE_LIFETIME=10
|
2021-06-02 12:31:29 +00:00
|
|
|
|
2021-06-01 18:24:01 +00:00
|
|
|
# Storage engine section
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_POOL_SIZE=15
|
|
|
|
FROSTFS_STORAGE_SHARD_RO_ERROR_THRESHOLD=100
|
2021-06-01 18:24:01 +00:00
|
|
|
## 0 shard
|
2021-09-13 13:58:37 +00:00
|
|
|
### Flag to refill Metabase from BlobStor
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_RESYNC_METABASE=false
|
2021-12-27 11:04:46 +00:00
|
|
|
### Flag to set shard mode
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_MODE=read-only
|
2021-06-01 18:24:01 +00:00
|
|
|
### Write cache config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_WRITECACHE_ENABLED=false
|
|
|
|
FROSTFS_STORAGE_SHARD_0_WRITECACHE_NO_SYNC=true
|
|
|
|
FROSTFS_STORAGE_SHARD_0_WRITECACHE_PATH=tmp/0/cache
|
|
|
|
FROSTFS_STORAGE_SHARD_0_WRITECACHE_SMALL_OBJECT_SIZE=16384
|
|
|
|
FROSTFS_STORAGE_SHARD_0_WRITECACHE_MAX_OBJECT_SIZE=134217728
|
|
|
|
FROSTFS_STORAGE_SHARD_0_WRITECACHE_WORKERS_NUMBER=30
|
|
|
|
FROSTFS_STORAGE_SHARD_0_WRITECACHE_CAPACITY=3221225472
|
2021-06-01 18:24:01 +00:00
|
|
|
### Metabase config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_METABASE_PATH=tmp/0/meta
|
|
|
|
FROSTFS_STORAGE_SHARD_0_METABASE_PERM=0644
|
|
|
|
FROSTFS_STORAGE_SHARD_0_METABASE_MAX_BATCH_SIZE=100
|
|
|
|
FROSTFS_STORAGE_SHARD_0_METABASE_MAX_BATCH_DELAY=10ms
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobstor config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_COMPRESS=true
|
|
|
|
FROSTFS_STORAGE_SHARD_0_COMPRESSION_EXCLUDE_CONTENT_TYPES="audio/* video/*"
|
|
|
|
FROSTFS_STORAGE_SHARD_0_SMALL_OBJECT_SIZE=102400
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobovnicza config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_PATH=tmp/0/blob/blobovnicza
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_PERM=0644
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_TYPE=blobovnicza
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_SIZE=4194304
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_DEPTH=1
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_WIDTH=4
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_OPENED_CACHE_CAPACITY=50
|
2023-08-16 15:06:33 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_LEAF_WIDTH=10
|
2023-09-22 14:08:48 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_0_INIT_WORKER_COUNT=10
|
2022-07-11 12:34:17 +00:00
|
|
|
### FSTree config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_1_TYPE=fstree
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_1_PATH=tmp/0/blob
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_1_PERM=0644
|
|
|
|
FROSTFS_STORAGE_SHARD_0_BLOBSTOR_1_DEPTH=5
|
2022-06-09 08:09:18 +00:00
|
|
|
### Pilorama config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_PILORAMA_PATH="tmp/0/blob/pilorama.db"
|
|
|
|
FROSTFS_STORAGE_SHARD_0_PILORAMA_MAX_BATCH_DELAY=10ms
|
|
|
|
FROSTFS_STORAGE_SHARD_0_PILORAMA_MAX_BATCH_SIZE=200
|
2021-06-01 18:24:01 +00:00
|
|
|
### GC config
|
|
|
|
#### Limit of the single data remover's batching operation in number of objects
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=150
|
2021-06-01 18:24:01 +00:00
|
|
|
#### Sleep interval between data remover tacts
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=2m
|
2023-03-17 08:06:15 +00:00
|
|
|
#### Limit of objects to be marked expired by the garbage collector
|
|
|
|
FROSTFS_STORAGE_SHARD_0_GC_EXPIRED_COLLECTOR_BATCH_SIZE=1500
|
|
|
|
#### Limit of concurrent workers collecting expired objects by the garbage collector
|
|
|
|
FROSTFS_STORAGE_SHARD_0_GC_EXPIRED_COLLECTOR_WORKERS_COUNT=15
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
## 1 shard
|
2021-09-13 13:58:37 +00:00
|
|
|
### Flag to refill Metabase from BlobStor
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_RESYNC_METABASE=true
|
2021-12-27 11:04:46 +00:00
|
|
|
### Flag to set shard mode
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_MODE=read-write
|
2021-06-01 18:24:01 +00:00
|
|
|
### Write cache config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_WRITECACHE_ENABLED=true
|
|
|
|
FROSTFS_STORAGE_SHARD_1_WRITECACHE_PATH=tmp/1/cache
|
|
|
|
FROSTFS_STORAGE_SHARD_1_WRITECACHE_SMALL_OBJECT_SIZE=16384
|
|
|
|
FROSTFS_STORAGE_SHARD_1_WRITECACHE_MAX_OBJECT_SIZE=134217728
|
|
|
|
FROSTFS_STORAGE_SHARD_1_WRITECACHE_WORKERS_NUMBER=30
|
|
|
|
FROSTFS_STORAGE_SHARD_1_WRITECACHE_CAPACITY=4294967296
|
2021-06-01 18:24:01 +00:00
|
|
|
### Metabase config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_METABASE_PATH=tmp/1/meta
|
|
|
|
FROSTFS_STORAGE_SHARD_1_METABASE_PERM=0644
|
|
|
|
FROSTFS_STORAGE_SHARD_1_METABASE_MAX_BATCH_SIZE=200
|
|
|
|
FROSTFS_STORAGE_SHARD_1_METABASE_MAX_BATCH_DELAY=20ms
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobstor config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_COMPRESS=false
|
|
|
|
FROSTFS_STORAGE_SHARD_1_SMALL_OBJECT_SIZE=102400
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobovnicza config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_0_TYPE=blobovnicza
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_0_PATH=tmp/1/blob/blobovnicza
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_0_SIZE=4194304
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_0_DEPTH=1
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_0_WIDTH=4
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_0_OPENED_CACHE_CAPACITY=50
|
2023-08-16 15:06:33 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_0_LEAF_WIDTH=10
|
2022-07-11 12:34:17 +00:00
|
|
|
### FSTree config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_1_TYPE=fstree
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_1_PATH=tmp/1/blob
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_1_PERM=0644
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_1_NO_SYNC=true
|
|
|
|
FROSTFS_STORAGE_SHARD_1_BLOBSTOR_1_DEPTH=5
|
2022-06-09 08:09:18 +00:00
|
|
|
### Pilorama config
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_PILORAMA_PATH="tmp/1/blob/pilorama.db"
|
|
|
|
FROSTFS_STORAGE_SHARD_1_PILORAMA_PERM=0644
|
|
|
|
FROSTFS_STORAGE_SHARD_1_PILORAMA_NO_SYNC=true
|
|
|
|
FROSTFS_STORAGE_SHARD_1_PILORAMA_MAX_BATCH_DELAY=5ms
|
|
|
|
FROSTFS_STORAGE_SHARD_1_PILORAMA_MAX_BATCH_SIZE=100
|
2021-06-01 18:24:01 +00:00
|
|
|
### GC config
|
2021-07-22 13:10:45 +00:00
|
|
|
#### Limit of the single data remover's batching operation in number of objects
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_GC_REMOVER_BATCH_SIZE=200
|
2021-07-22 13:10:45 +00:00
|
|
|
#### Sleep interval between data remover tacts
|
2023-02-03 14:59:15 +00:00
|
|
|
FROSTFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=5m
|
2023-03-13 11:01:43 +00:00
|
|
|
|
|
|
|
FROSTFS_TRACING_ENABLED=true
|
|
|
|
FROSTFS_TRACING_ENDPOINT="localhost"
|
2023-04-13 09:02:29 +00:00
|
|
|
FROSTFS_TRACING_EXPORTER="otlp_grpc"
|
2023-07-25 07:07:38 +00:00
|
|
|
|
|
|
|
FROSTFS_RUNTIME_SOFT_MEMORY_LIMIT=1073741824
|