cookbook 'repmgr', '= 0.1.1'
repmgr (5) Versions 0.1.1 Follow4
Replication manager for PostgreSQL
cookbook 'repmgr', '= 0.1.1', :supermarket
knife supermarket install repmgr
knife supermarket download repmgr
Repmgr
Installs and configures repmgr to enable and monitor
PostgreSQL replication.
Usage
Nodes should be labeled as master or slave. Generally
done within a role:
name 'master_role' run_list('role[pg]', 'recipe[repmgr]') override_attributes( :repmgr => { :replication => { :role => 'master' } } )
name 'slave_role' run_list('role[pg]', 'recipe[repmgr]') override_attributes( :repmgr => { :replication => { :role => 'slave' } } )
Slaves will search for master node within their current environment
and sync to that master. By default slave nodes will allow read-only
access.
Infos
- Repository: https://github.com/hw-cookbooks/repmgr
- IRC: Freenode @ #heavywater
Dependent cookbooks
postgresql >= 2.0.0 |
build-essential >= 0.0.0 |
database >= 0.0.0 |
discovery >= 2.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.