cookbook 'aerospike-platform', '= 1.0.0'
aerospike-platform (2) Versions 1.0.0 Follow0
Install/Configure an aerospike cluster
cookbook 'aerospike-platform', '= 1.0.0', :supermarket
knife supermarket install aerospike-platform
knife supermarket download aerospike-platform
Aerospike Platform
Description
Aerospike is a Flash, in-memory high perf NoSQL database & key-value store.
This cookbook is designed to install and configure an Aerospike cluster.
Requirements
Cookbooks and gems
Declared in [metadata.rb](metadata.rb) and in [Gemfile](Gemfile).
Platforms
A systemd managed distribution:
- RHEL Family 7, tested on Centos
Usage
Test
This cookbook is fully tested through the installation of a working 3-nodes
cluster in docker hosts. This uses kitchen, docker and some monkey-patching.
For more information, see [.kitchen.yml](.kitchen.yml) and [test](test)
directory.
Easy Setup
Set node['aerospike-platform']['hosts']
to an array containing the
hostnames of the nodes of the Aerospike cluster.
Search
The recommended way to use this cookbook is through the creation of a role per
Aerospike cluster. This enables the search by role feature, allowing a
simple service discovery.
In fact, there are two ways to configure the search:
- With a static configuration through a list of hostnames (attributes
hosts
that isnode['aerospike-platform']['hosts']
) for nodes belonging to Aerospike cluster). - With a real search, performed on a role (attributes
role
andsize
like innode['aerospike-platform']['role']
). The role should be in the run-list of all nodes of the cluster. The size is a safety and should be the number of nodes of this role.
If hosts is configured, role
and size
are ignored
See [roles](test/integration/roles) for some examples and
Cluster Search documentation for more information.
Attributes
Configuration is done by overriding default attributes. All configuration keys
have a default defined in:
[attributes/default.rb](attributes/default.rb),
[attributes/config.rb](attributes/config.rb),
[attributes/systemd.rb](attributes/systemd.rb).
Please read it to have a comprehensive view of what and how you can configure
this cookbook behavior.
Recipes
default
Include search
, user
, install
, config
and systemd
recipes.
search
Search Aerospike nodes that should join the cluster using
Cluster Search.
user
Create user/group used by Aerospike.
install
Install and initialize Aerospike.
config
Generate and deploy Aerospike config.
systemd
Create systemd unit for Aerospike.
Resources/Providers
None.
Changelog
Available in [CHANGELOG.md](CHANGELOG.md).
Contributing
Please read carefully [CONTRIBUTING.md](CONTRIBUTING.md) before making a merge
request.
License and Author
- Author:: Samuel Bernard (samuel.bernard@s4m.io)
- Author:: Florian Philippon (<florian.philippon@@s4m.io>)
Copyright (c) 2016 Sam4Mobile 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.
Dependent cookbooks
ark >= 0.0.0 |
cluster-search >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Changelog
1.0.0
- Initial version, supports 3.10.0.3
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 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
1.0.0 failed this metric
FC066: Ensure chef_version is set in metadata: aerospike-platform/metadata.rb:1
FC069: Ensure standardized license defined in metadata: aerospike-platform/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 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
1.0.0 failed this metric
1.0.0 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
1.0.0 failed this metric
FC066: Ensure chef_version is set in metadata: aerospike-platform/metadata.rb:1
FC069: Ensure standardized license defined in metadata: aerospike-platform/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 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
1.0.0 failed this metric
FC069: Ensure standardized license defined in metadata: aerospike-platform/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 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
1.0.0 passed this metric
1.0.0 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
1.0.0 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
1.0.0 failed this metric