cookbook 'percona-multi', '= 0.1.0', :supermarket
percona-multi (3) Versions 0.1.0 Follow1
Provides Percona master/slave replication services
cookbook 'percona-multi', '= 0.1.0'
knife cookbook site install percona-multi
knife cookbook site download percona-multi
Chef wrapper cookbook to create Percona master/slave server setups. This wrapper should work on all Debian and RHEL platform family OS's.
This cookbook works as a wrapper around the community Percona cookbook to allow for the creation of master/slave and master/multi-slave Percona systems.
This cookbook utilizes two recipes depending on the server's defined role.
master.rb : sets up a master Percona server and creates replicant users for each
slave node defined within the attributes
slave.rb : sets up a slave Percona server pointing it to the master node defined
There is no search function within this cookbook. The IP addresses of the master and slave nodes must be defined in attributes before it will converge.
Keep in mind that passwords have to be set via encrypted data bags as outlined in the percona cookbook
There is no search function within this cookbook. The IP addresses for the servers has to be set as attributes and build order becomes important.Your orchestration layer should build the servers, then the IP addresses should be set as attributes, then the master node should then be converged prior to converging the slave nodes.
Local attributes --
['percona']['master'] : sets the IP address that defines the master node
['percona']['slaves'] : is any array that defines the IP address(es) of
the slave node(s).
Percona cookbook attributes to be aware of --
['percona']['server']['bind_to'] : should be set to "private_ip" vice default of
"public_ip" to ensure Percona is listening on the internal IP's only.
License & Authors
- Author:: Christopher Coffey (email@example.com)
Copyright:: 2015 Rackspace US, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This file is used to list changes made in each version of the percona-multi cookbook.
Initial release of percona-multi