2017-05-26 04:48:44 +08:00
|
|
|
## foundationdb.conf
|
|
|
|
##
|
|
|
|
## Configuration file for FoundationDB server processes
|
|
|
|
## Full documentation is available at
|
2018-04-20 02:12:27 +08:00
|
|
|
## https://apple.github.io/foundationdb/configuration.html#the-configuration-file
|
2017-05-26 04:48:44 +08:00
|
|
|
|
|
|
|
[fdbmonitor]
|
|
|
|
user = foundationdb
|
|
|
|
group = foundationdb
|
|
|
|
|
|
|
|
[general]
|
2021-12-15 00:44:39 +08:00
|
|
|
restart-delay = 60
|
|
|
|
## by default, restart-backoff = restart-delay-reset-interval = restart-delay
|
|
|
|
# initial-restart-delay = 0
|
|
|
|
# restart-backoff = 60
|
|
|
|
# restart-delay-reset-interval = 60
|
|
|
|
cluster-file = /etc/foundationdb/fdb.cluster
|
|
|
|
# delete-envvars =
|
|
|
|
# kill-on-configuration-change = true
|
2017-05-26 04:48:44 +08:00
|
|
|
|
|
|
|
## Default parameters for individual fdbserver processes
|
|
|
|
[fdbserver]
|
|
|
|
command = /usr/sbin/fdbserver
|
2021-12-15 00:44:39 +08:00
|
|
|
public-address = auto:$ID
|
|
|
|
listen-address = public
|
2017-05-26 04:48:44 +08:00
|
|
|
datadir = /var/lib/foundationdb/data/$ID
|
|
|
|
logdir = /var/log/foundationdb
|
|
|
|
# logsize = 10MiB
|
|
|
|
# maxlogssize = 100MiB
|
2021-12-15 00:44:39 +08:00
|
|
|
# machine-id =
|
|
|
|
# datacenter-id =
|
2017-05-26 04:48:44 +08:00
|
|
|
# class =
|
|
|
|
# memory = 8GiB
|
2021-12-15 00:44:39 +08:00
|
|
|
# storage-memory = 1GiB
|
|
|
|
# cache-memory = 2GiB
|
|
|
|
# metrics-cluster =
|
|
|
|
# metrics-prefix =
|
2017-05-26 04:48:44 +08:00
|
|
|
|
|
|
|
## An individual fdbserver process with id 4500
|
|
|
|
## Parameters set here override defaults from the [fdbserver] section
|
|
|
|
[fdbserver.4500]
|
|
|
|
|
|
|
|
[backup_agent]
|
2021-12-15 04:02:13 +08:00
|
|
|
command = /usr/lib/foundationdb/backup_agent/backup_agent
|
2017-05-26 04:48:44 +08:00
|
|
|
logdir = /var/log/foundationdb
|
|
|
|
|
|
|
|
[backup_agent.1]
|