#FoundationDB
FoundationDB has been purchased by Apple, and is no longer a product. Apple will be cancelling all support contracts and apprently not continuing to offer FDB for sale. Therefore this module is of course deprecated and no longer supported (at least by me!).
##Overview Puppet module to manage FoundationDB
##Author
- Rob Rankin [email protected]
This module currently requires RedHat/CentOS. Pull requests to extend it for other OS's gratefully accepted.
This requires that you have the FoundationDB packages in a repo. Hopefully FoundationDB themselves will provide this at some point in the future. Until such time, download the FDB packages (client and server) and place them in your own, private repository. Respect the FoundationDB license agreement; do not host these packages publicly.
You can either edit the params.pp and set $package_source
to the repositoy URL, set it manually in your manifests somewhere, or better use Hiera to configure your custom repository source.
- Installation of FoundationDB
- Upgrading existing clusters
- Managing general conf file settings
- Setting number of FDB processes running (using defaults only)
- Setting number of backup processes running
class { 'foundationdb': }
package_source => $package_source
}
class { 'foundationdb':
num_backup_agents => 6,
}
Hiera examples
foundationdb::package_source : '<Repo for packages>'
foundationdb::fdbuser : 'foundationdb'
foundationdb::fdbgroup : 'foundationdb'
foundationdb::restart_delay : 60
foundationdb::cluster_file : '/etc/foundationdb/fdb.cluster'
foundationdb::fdb_command : '/usr/sbin/fdbserver'
foundationdb::public_address : 'auto:$ID'
foundationdb::listen_address : 'public'
foundationdb::data_dir : '/mnt/resource/$ID'
foundationdb::num_fdb_processes : 1
foundationdb::backup_agent : '/usr/lib/foundationdb/backup_agent/backup_agent'
foundationdb::num_backup_agents : 1
foundationdb::package_name : 'foundationdb'
foundationdb::make_public : true