cookbook 'percona-multi', '~> 0.1.2'
percona-multi (3) Versions 0.1.2 Follow1
Provides Percona master/slave replication services
cookbook 'percona-multi', '~> 0.1.2', :supermarket
knife supermarket install percona-multi
knife supermarket download percona-multi
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.
Utilization
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
within attributes.
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.
Attributes
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 (christopher.coffey@rackspace.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.
percona-multi CHANGELOG
This file is used to list changes made in each version of the percona-multi cookbook.
0.1.2
Bump to restrict version of percona cookbook for issue https://github.com/phlipper/chef-percona/issues/266
0.1.1
Bump to release to fix supermarket
0.1.0
Initial release of percona-multi
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC122: Use the build_essential resource instead of the recipe: percona-multi/recipes/slave.rb:26
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC122: Use the build_essential resource instead of the recipe: percona-multi/recipes/slave.rb:26
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number