Giter VIP home page Giter VIP logo

drbd's Introduction

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

drbd's People

Contributors

damacus avatar danielsdeleo avatar emh333 avatar esabelhaus avatar kitchen-porter avatar kplimack avatar mattray avatar nathenharvey avatar ramereth avatar ranjib avatar renovate[bot] avatar stevendanna avatar tas50 avatar xorima avatar xorimabot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drbd's Issues

Cookbook not updated for a long time

The cookbook has not been updated for a long time and is obviously missing an implementation for "rhel" platform_family. Has the cookbook been orphaned? I would like to offer to own it.

CentOS / RHEL

Hey guys,

This is going to be a short rant..

I don't know how can you claim this cookbook was tested on CentOS when it obviously wasn't. The following hard-coded package name is specific to Ubuntu/Debian:

package "drbd8-utils" do

Besides that, the following claim is nice but the cookbook doesn't actually do any of that:

In CentOS it will subscribe to EL Repository to access necessary drbd rpm packages.

So, it seems like documentation was written, but not the code.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • sous-chefs/.github 3.1.1
  • actions/checkout v4
  • actionshub/chef-install 3.0.0
  • actionshub/test-kitchen 3.0.0
.github/workflows/stale.yml
  • actions/stale v9

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.