ExFdbmonitor.Binaries (ex_fdbmonitor v0.2.1)

View Source

Resolves paths to FoundationDB binaries.

A path configured via Application.get_env/3 always takes precedence. Otherwise the default for the current OS is used.

Supported systems: Darwin (macOS) and Linux. Windows is not supported.

Configuration

Override any binary path in your application config:

config :ex_fdbmonitor,
  fdbmonitor: "/custom/path/fdbmonitor",
  fdbcli: "/custom/path/fdbcli",
  fdbserver: "/custom/path/fdbserver",
  fdbdr: "/custom/path/fdbdr",
  backup_agent: "/custom/path/backup_agent",
  dr_agent: "/custom/path/dr_agent"

OS defaults

BinarymacOSLinux
fdbmonitor/usr/local/libexec/fdbmonitor/usr/lib/foundationdb/fdbmonitor
fdbcli/usr/local/bin/fdbcli/usr/bin/fdbcli
fdbserver/usr/local/libexec/fdbserver/usr/sbin/fdbserver
fdbdr/usr/local/bin/fdbdr/usr/bin/fdbdr
backup_agent/usr/local/foundationdb/backup_agent/backup_agent/usr/lib/foundationdb/backup_agent/backup_agent
dr_agent/usr/local/bin/dr_agent/usr/bin/dr_agent

Summary

Functions

backup_agent()

dr_agent()

fdbcli()

fdbdr()

fdbmonitor()

fdbserver()