All Projects → chef-boneyard → heartbeat

chef-boneyard / heartbeat

Licence: Apache-2.0 License
Development repository for Chef Cookbook heartbeat

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to heartbeat

aix
Resources for AIX hosts
Stars: ✭ 22 (+69.23%)
Mutual labels:  chef, cookbook
postfixadmin-cookbook
Chef cookbook to install and configure PostfixAdmin.
Stars: ✭ 13 (+0%)
Mutual labels:  chef, cookbook
delivery-truck
DEPRECATED: Delivery build cb for pipelines
Stars: ✭ 36 (+176.92%)
Mutual labels:  chef, cookbook
chef-ulimit
This is a simple chef cookbook that provides a defintion for managing user_ulimit settings.
Stars: ✭ 43 (+230.77%)
Mutual labels:  chef, cookbook
chef-client
Development repository for Chef Client cookbook
Stars: ✭ 181 (+1292.31%)
Mutual labels:  chef, cookbook
ohai
Development repository for Chef Cookbook ohai
Stars: ✭ 49 (+276.92%)
Mutual labels:  chef, cookbook
chef-postgres-hardening
This chef cookbook provides security configuration for PostgreSQL.
Stars: ✭ 26 (+100%)
Mutual labels:  chef, cookbook
Chef Client
Development repository for Chef Client cookbook
Stars: ✭ 183 (+1307.69%)
Mutual labels:  chef, cookbook
chef-ingredient
Primitives for managing Chef products and packages
Stars: ✭ 43 (+230.77%)
Mutual labels:  chef, cookbook
owncloud-cookbook
Chef cookbook to install and configure ownCloud.
Stars: ✭ 39 (+200%)
Mutual labels:  chef, cookbook
cookbook-cq
Chef cookbook for Adobe CQ (aka AEM)
Stars: ✭ 20 (+53.85%)
Mutual labels:  chef, cookbook
push-jobs-cookbook
Development repository for Chef Cookbook push-jobs
Stars: ✭ 21 (+61.54%)
Mutual labels:  chef, cookbook
Windows
Development repository for Chef Cookbook windows
Stars: ✭ 251 (+1830.77%)
Mutual labels:  chef, cookbook
audit
Audit Cookbook for Chef Compliance
Stars: ✭ 58 (+346.15%)
Mutual labels:  chef, cookbook
Arcgis Cookbook
Chef cookbooks for ArcGIS
Stars: ✭ 227 (+1646.15%)
Mutual labels:  chef, cookbook
omnibus
Prepares a machine to be an Omnibus builder. ┬──┬◡ノ(° -°ノ)
Stars: ✭ 28 (+115.38%)
Mutual labels:  chef, cookbook
Cassandra Chef Cookbook
Chef cookbook for Apache Cassandra, DataStax Enterprise (DSE) and DataStax agent
Stars: ✭ 162 (+1146.15%)
Mutual labels:  chef, cookbook
Chef Server
Cookbook to install standalone Chef Server
Stars: ✭ 173 (+1230.77%)
Mutual labels:  chef, cookbook
auditd
Install and configure user mode auditd tools
Stars: ✭ 31 (+138.46%)
Mutual labels:  chef, cookbook
mysql tuning-cookbook
Chef cookbook to create MySQL configuraiton files better suited for your system.
Stars: ✭ 23 (+76.92%)
Mutual labels:  chef, cookbook

heartbeat Cookbook

Build Status Cookbook Version

Installs heartbeat, and includes resources/providers for managing heartbeat configuration.

It is outside the scope of this cookbook and the README to replace documentation and user understanding of the linux-ha and heartbeat project.

Requirements

Platforms

  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle 5-6 (7 does not have a hearbeat package)

Chef

  • Chef 13+

Cookbooks

  • yum-epel

Attributes

  • node['heartbeat']['conf_dir'] - Directory where heartbeat configuration lives.

The following attributes are used in recipe[heartbeat::config] to pass into the LWRP used there. Each corresponds to a resource attribute in the LWRP, making the recipe drivable with attributes, e.g. set in a role. See the heartbeat resource attributes below for descriptions.

  • node['heartbeat']['config']['auto_failback']
  • node['heartbeat']['config']['autojoin']
  • node['heartbeat']['config']['compression']
  • node['heartbeat']['config']['compression_threshold']
  • node['heartbeat']['config']['deadtime']
  • node['heartbeat']['config']['initdead']
  • node['heartbeat']['config']['keepalive']
  • node['heartbeat']['config']['logfacility']
  • node['heartbeat']['config']['udpport']
  • node['heartbeat']['config']['warntime']
  • node['heartbeat']['config']['search']
  • node['heartbeat']['config']['authkeys']
  • node['heartbeat']['config']['active_key']
  • node['heartbeat']['config']['mode']
  • node['heartbeat']['config']['interface']
  • node['heartbeat']['config']['mcast_group']
  • node['heartbeat']['config']['mcast_ttl']
  • node['heartbeat']['config']['resource_ip']

Resources/Providers

heartbeat

Manages heartbeat configuration files (ha.cf, authkeys, haresources).

Actions

  • :create - Default Creates the configuration. This will search for a specified query (see the search resource attribute below), and fall back to finding the cookbook and recipe name where the LWRP is used in the node's recipes attribute.

Attributes

  • auto_failback - used for the auto_failback configuration directive in ha.cf.
  • autojoin - used for the autojoin configuration directive in ha.cf.
  • compression - used for the compression configuration directive in ha.cf.
  • compression_threshold - used for the compression_threshold configuration directive in ha.cf.
  • deadtime - used for the deadtime configuration directive in ha.cf.
  • initdead - used for the initdead configuration directive in ha.cf.
  • keepalive - used for the keepalive configuration directive in ha.cf.
  • logfacility - used for the logfacility configuration directive in ha.cf.
  • udpport - used for the udpport configuration directive in ha.cf.
  • warntime - used for the warntime configuration directive in ha.cf.
  • search - a search query to use instead of the default (see description above).
  • authkeys - sha1 keys used in the authkeys config file.
  • active_key - the key used for the auth configuration directive in the authkeys config file.
  • interface - used for the `` configuration directive in ha.cf.
  • mcast_group - used for the `` configuration directive in ha.cf.
  • mcast_ttl - used for the `` configuration directive in ha.cf.
  • mode - tye network mode to use, can be ucast, bcast, or mcast, corresponds to the configuration directives in ha.cf.
  • resource_groups - array of resource groups

Examples

See recipe[heartbeat::config].

heartbeat_ipaddr

Used in the heartbeat LWRP for the group IP.

heartbeat_resource_group

Manages the haresources resource_groups.

Recipes

default

Installs the heartbeat and heartbeat-dev packages, and manages the heartbeat service. The recipe does not at this time manage any configuration.

config

Uses the heartbeat LWRP with the node['heartbeat']['config'] attributes to manage a complete heartbeat configuration.

Usage

Use the default recipe to install heartbeat's packages and manage the service.

Use the LWRP in your own recipe, or set the attributes described above and use the config recipe to setup a heartbeat-monitored application.

License & Authors

Author: Cookbook Engineering Team ([email protected])

Copyright: 2009-2016, Chef Software, 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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].