All Projects → sous-chefs → drbd

sous-chefs / drbd

Licence: Apache-2.0 license
Development repository for the drbd cookbook

Programming Languages

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

Projects that are alternatives of or similar to drbd

yum-epel
Development repository for the yum-epel cookbook
Stars: ✭ 23 (+21.05%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
passenger apache2
Development repository for the passenger_apache2 cookbook
Stars: ✭ 37 (+94.74%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
elixir
Development repository for the elixir cookbook
Stars: ✭ 16 (-15.79%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
sql server
Development repository for the sql_server cookbook
Stars: ✭ 60 (+215.79%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
samba
Development repository for the samba cookbook
Stars: ✭ 30 (+57.89%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
keepalived
Development repository for the keepalived cookbook
Stars: ✭ 29 (+52.63%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
certificate
Development repository for the certificate cookbook
Stars: ✭ 71 (+273.68%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
stunnel
Development repository for the stunnel cookbook
Stars: ✭ 14 (-26.32%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
vagrant
Development repository for the vagrant cookbook
Stars: ✭ 54 (+184.21%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
reprepro
Development repository for the reprepro cookbook
Stars: ✭ 11 (-42.11%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
smartmontools
Development repository for the smartmontools cookbook
Stars: ✭ 12 (-36.84%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
sssd ldap
Development repository for the sssd_ldap cookbook
Stars: ✭ 17 (-10.53%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
rundeck
Development repository for the rundeck cookbook
Stars: ✭ 45 (+136.84%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
github
Development repository for the github cookbook
Stars: ✭ 22 (+15.79%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
rsync
Development repository for the rsync cookbook
Stars: ✭ 25 (+31.58%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
postfix
Development repository for the postfix cookbook
Stars: ✭ 102 (+436.84%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
squid
Development repository for the squid cookbook
Stars: ✭ 27 (+42.11%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
golang
Development repository for the golang cookbook
Stars: ✭ 48 (+152.63%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
maven
Development repository for the maven cookbook
Stars: ✭ 35 (+84.21%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
apparmor
Development repository for the apparmor cookbook
Stars: ✭ 13 (-31.58%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform

drbd Cookbook

Cookbook Version CI State OpenCollective OpenCollective License

Installs and configures the Distributed Replicated Block Device (DRBD) service for mirroring block devices between a pair of hosts. Right now it simply works in pairs, multiple hosts could be supported with a few small changes.

The drbd cookbook does not partition drives. It will format partitions given a filesystem type, but it does not explicitly depend on the xfs cookbook if you want that type of filesystem, but you can put it in your run list and set the node['drbd']['fs_type'] to 'xfs' or 'ext4' or whatever.

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Requirements

Platforms

  • Ubuntu
  • CentOS

Chef

  • Chef 12.15+

Cookbooks

  • yum-elrepo

Recipes

default

Installs drbd but does no configuration. If another version of drbd is desired, set the node['drbd']['packages'] attribute.

For example, to install drdb 8.4 on CentOS you might set node.override['drbd']['packages'] = %w(drbd84-utils kmod-drbd84).

pair

Given a filesystem and a partner host, configures block replication between the hosts. The master will claim the primary, format the filesystem and mount the partition. The slave will simply mirror without mounting. It currently takes 2 chef-client runs to ensure the pair is synced properly.

Attributes

The required attributes are

  • node['drbd']['remote_host'] - Remote host to pair with.
  • node['drbd']['remote_ip'] - Remote host to pair with.
  • node['drbd']['local_ip'] - Remote host to pair with.
  • node['drbd']['disk'] - Disk partition to mirror.
  • node['drbd']['mount'] - Mount point to mirror.
  • node['drbd']['fs_type'] - Disk format for the mirrored disk, defaults to ext3.
  • node['drbd']['master'] - Whether this node is master between the pair, defaults to false.

The optional attributes are

  • node['drbd']['packages'] - What packages are needed to install drbd, defaults to drbd_packages helper.

Roles

There are a pair of example roles drbd-pair.rb and drbd-pair-master.rb with the cookbook source.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website

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].