Skip to content

Instantly share code, notes, and snippets.

@marctrem
Created May 7, 2018 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marctrem/0287203daf2dc59099282be210c7c14c to your computer and use it in GitHub Desktop.
Save marctrem/0287203daf2dc59099282be210c7c14c to your computer and use it in GitHub Desktop.
mycluster:0pamNV2u@172.17.0.2:4500,172.17.0.3:4500
## foundationdb.conf
##
## Configuration file for FoundationDB server processes
## Full documentation is available at
## https://www.foundationdb.org/documentation/configuration.html#foundationdb-conf
[fdbmonitor]
user = foundationdb
group = foundationdb
[general]
restart_delay = 10
## 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
## Default parameters for individual fdbserver processes
[fdbserver]
command = /usr/sbin/fdbserver
public_address = auto:$ID
listen_address = public
datadir = /var/lib/foundationdb/data/$ID
logdir = /var/log/foundationdb
# logsize = 10MiB
# maxlogssize = 100MiB
# machine_id =
# datacenter_id =
# class =
# memory = 8GiB
# storage_memory = 1GiB
# metrics_cluster =
# metrics_prefix =
## An individual fdbserver process with id 4500
## Parameters set here override defaults from the [fdbserver] section
## [fdbserver.4500]
[fdbserver.4500]
[fdbserver.4501]
[fdbserver.4502]
[fdbserver.4503]
[backup_agent]
command = /usr/lib/foundationdb/backup_agent/backup_agent
logdir = /var/log/foundationdb
[backup_agent.1]
docker exec -ti f422ea2d99ca fdbcli --exec 'status details'
Using cluster file `/etc/foundationdb/fdb.cluster'.
Configuration:
Redundancy mode - double
Storage engine - ssd-2
Coordinators - 2
Cluster:
FoundationDB processes - 7
Machines - 2
Memory availability - 4.1 GB per process on machine with least available
Fault Tolerance - 0 machines
Server time - 05/06/18 17:43:23
Data:
Replication health - Healthy
Moving data - 0.000 GB
Sum of key-value sizes - 0 MB
Disk space used - 0 MB
Operating space:
Storage server - 154.8 GB free on most full server
Log server - 154.8 GB free on most full server
Workload:
Read rate - 16 Hz
Write rate - 0 Hz
Transactions started - 4 Hz
Transactions committed - 0 Hz
Conflict rate - 0 Hz
Backup and DR:
Running backups - 0
Running DRs - 0
Process performance details:
172.17.0.2:4501 ( 2% cpu; 4% machine; 0.000 Gbps; 0% disk IO; 0.3 GB / 5.3 GB RAM )
172.17.0.2:4502 ( 2% cpu; 4% machine; 0.000 Gbps; 0% disk IO; 0.4 GB / 5.3 GB RAM )
172.17.0.2:4503 ( 1% cpu; 4% machine; 0.000 Gbps; 0% disk IO; 0.3 GB / 5.3 GB RAM )
172.17.0.3:4500 ( 2% cpu; 5% machine; 0.000 Gbps; 0% disk IO; 0.4 GB / 4.1 GB RAM )
172.17.0.3:4501 ( 3% cpu; 5% machine; 0.000 Gbps; 0% disk IO; 0.4 GB / 4.1 GB RAM )
172.17.0.3:4502 ( 4% cpu; 5% machine; 0.000 Gbps; 0% disk IO; 0.3 GB / 4.1 GB RAM )
172.17.0.3:4503 ( 2% cpu; 5% machine; 0.000 Gbps; 0% disk IO; 0.5 GB / 4.1 GB RAM )
Coordination servers:
172.17.0.2:4500 (reachable)
172.17.0.3:4500 (reachable)
Client time: 05/06/18 17:43:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment